Home
last modified time | relevance | path

Searched refs:getEntries (Results 1 – 25 of 91) sorted by relevance

1234

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveHandleTest.java343 getFileInArchive(archiveHandle.getEntries(), in closeInputStream_zipFile_shouldBeSuccess()
378 getFileInArchive(archiveHandle.getEntries(), in getInputStream_zipFile_shouldHaveTheSameContent()
464 getFileInArchive(archiveHandle.getEntries(), in getInputStream_sevenZFile_shouldHaveTheSameContent()
483 getFileInArchive(archiveHandle.getEntries(), in getInputStream_tarGzFile_shouldHaveTheSameContent()
543 getFileInArchive(archiveHandle.getEntries(), in getInputStream_tarBrotliFile_shouldHaveTheSameContent()
556 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_zipFile_shouldTheSameWithList()
566 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarFile_shouldTheSameWithList()
576 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tgzFile_shouldTheSameWithList()
586 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarBzFile_shouldTheSameWithList()
596 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarBrotliFile_shouldTheSameWithList()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java183 public abstract Enumeration<? extends ArchiveEntry> getEntries() throws IOException; in getEntries() method in ArchiveHandle
204 public Enumeration<? extends ArchiveEntry> getEntries() { in getEntries() method in ArchiveHandle.SevenZFileHandle
205 if (getCommonArchive().getEntries() == null) { in getEntries()
210 (Collection<? extends ArchiveEntry>) getCommonArchive().getEntries()); in getEntries()
227 public Enumeration<? extends ArchiveEntry> getEntries() { in getEntries() method in ArchiveHandle.ZipFileHandle
228 final Enumeration<ZipArchiveEntry> enumeration = getCommonArchive().getEntries(); in getEntries()
255 public Enumeration<? extends ArchiveEntry> getEntries() throws IOException { in getEntries() method in ArchiveHandle.CommonArchiveInputHandle
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java90 String defaultSummaryText = countryChooserPref.getEntries()[0].toString(); in updateCountryChooserSummary()
95 CharSequence[] entries = countryChooserPref.getEntries(); in updateCountryChooserSummary()
128 newKeys.add(countryChooserPref.getEntries()[0]); in updateCountryChoices()
166 CharSequence[] keys = countryChooserPref.getEntries(); in buildDefaultCountryChooserKeysAndValues()
194 CharSequence[] entries = listPref.getEntries(); in updateListSummary()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java115 assertThat(preference.getEntries().length).isEqualTo(preference.getEntryValues().length); in testProperties_organDonor()
130 assertThat(preference.getEntries().length).isEqualTo(preference.getEntryValues().length); in testProperties_bloodType()
132 preference.getEntries().length); in testProperties_bloodType()
141 for (int i = 0; i < preference.getEntries().length; i++) { in testContentDescriptions()
142 SpannableString entry = ((SpannableString) preference.getEntries()[i]); in testContentDescriptions()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java1013 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[i]); in updateTrackFrameTimeOptions()
1018 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[0]); in updateTrackFrameTimeOptions()
1039 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[i]); in updateShowNonRectClipOptions()
1044 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[0]); in updateShowNonRectClipOptions()
1086 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[i]); in updateDebugHwOverdrawOptions()
1091 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[0]); in updateDebugHwOverdrawOptions()
1285 pref.setSummary(pref.getEntries()[i]); in updateAnimationScaleValue()
1290 pref.setSummary(pref.getEntries()[0]); in updateAnimationScaleValue()
1323 mOverlayDisplayDevices.setSummary(mOverlayDisplayDevices.getEntries()[i]); in updateOverlayDisplayDevicesOptions()
1328 mOverlayDisplayDevices.setSummary(mOverlayDisplayDevices.getEntries()[0]); in updateOverlayDisplayDevicesOptions()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java108 final CharSequence[] entries = mListPreference.getEntries(); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues()
136 final CharSequence[] entries = mListPreference.getEntries(); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues()
164 final CharSequence[] entries = mListPreference.getEntries(); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues()
290 assertThat(mListPreference.getEntries().length).isEqualTo(3); in onSubscriptionsChanged_goFromTwoToThreeSubscriptions_listGetsUpdated()
297 final CharSequence[] entries = mListPreference.getEntries(); in onSubscriptionsChanged_goFromTwoToThreeSubscriptions_listGetsUpdated()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java136 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in loadAllExtraInfo()
157 private SparseArray<ArrayMap<String, PermissionState>> getEntries() { in getEntries() method in AppStateAppOpsBridge
280 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesDeclaredPermission()
293 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesAllowedByAppOps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateAppOpsBridge.java136 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in loadAllExtraInfo()
157 private SparseArray<ArrayMap<String, PermissionState>> getEntries() { in getEntries() method in AppStateAppOpsBridge
280 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesDeclaredPermission()
293 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesAllowedByAppOps()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java134 if (!isValid && mDefaultLanguagePreference.getEntries() != null) { in updateState()
138 if (mDefaultLanguagePreference.getEntries() != null) { in updateState()
141 mDefaultLanguagePreference.getEntries()[mSelectedLocaleIndex]); in updateState()
284 if (mDefaultLanguagePreference.getEntries() == null) { in isDefaultLocaleValid()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/
DGameDriverAppPreferenceControllerTest.java178 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configDefault_shouldSetDefaultAttributes()
194 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configGAME_DRIVER_shouldSetGameDriverAttributes()
210 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configPRERELEASE_DRIVER_shouldSetPrereleaseDriverAttributes()
224 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configSystem_shouldSetSystemAttributes()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.java169 preference.setSummary(preference.getEntries()[index]); in onPreferenceChange()
176 pref.setSummary(simpleMenuPreference.getEntries()[i]); in onPreferenceChange()
305 weekStartPref.setSummary(weekStartPref.getEntries()[idx]); in refresh()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/settings/common/
DSettingsListPreferenceDialogFragment.java63 if (preference.getEntries() == null || preference.getEntryValues() == null) { in onCreate()
69 mEntries = preference.getEntries(); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsListPreferenceDialogFragment.java63 if (preference.getEntries() == null || preference.getEntryValues() == null) { in onCreate()
69 mEntries = preference.getEntries(); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DBluetoothMaxConnectedAudioDevicesPreferenceController.java58 final CharSequence[] entries = listPreference.getEntries(); in displayPreference()
79 final CharSequence[] entries = listPreference.getEntries(); in updateState()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothMaxConnectedAudioDevicesPreferenceController.java58 final CharSequence[] entries = listPreference.getEntries(); in displayPreference()
79 final CharSequence[] entries = listPreference.getEntries(); in updateState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java208 mLocalePreference.getEntries()); in onSaveInstanceState()
318 mLocalePreference.setSummary(mLocalePreference.getEntries()[index]); in setLocalePreference()
372 mLocalePreference.setSummary(mLocalePreference.getEntries()[selectedLocaleIndex]); in updateLanguageTo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DTimeoutListPreference.java46 mInitialEntries = getEntries(); in TimeoutListPreference()
111 if (revisedEntries.size() != getEntries().length) { in removeUnusableTimeouts()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java46 mInitialEntries = getEntries(); in TimeoutListPreference()
111 if (revisedEntries.size() != getEntries().length) { in removeUnusableTimeouts()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DSettingsListPreferenceDialogFragmentTest.java75 assertThat(getShadowAlertDialog().getItems()).isEqualTo(mPreference.getEntries()); in dialogPopulatedWithPreferenceEntries()
123 assertThat(getShadowAlertDialog().getItems()).isEqualTo(mPreference.getEntries()); in instanceStateRetained()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/settings/common/
DSettingsListPreferenceDialogFragmentTest.java75 assertThat(getShadowAlertDialog().getItems()).isEqualTo(mPreference.getEntries()); in dialogPopulatedWithPreferenceEntries()
123 assertThat(getShadowAlertDialog().getItems()).isEqualTo(mPreference.getEntries()); in instanceStateRetained()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppMemoryPreferenceController.java67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground()
68 for (ProcStatsEntry entry : pkgEntry.getEntries()) { in doInBackground()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppMemoryPreferenceController.java67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground()
68 for (ProcStatsEntry entry : pkgEntry.getEntries()) { in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsAdapterCommon.java119 CallDetailsEntry entry = callDetailsEntries.getEntries(position - 1); in onBindViewHolder()
164 CallDetailsEntry entry = callDetailsEntries.getEntries(0); in getCallbackAction()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java120 title.setText(mSelector.getEntries()[position]); in getView()
139 myState.mEntries = getEntries(); in onSaveInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DListWithEntrySummaryPreference.java120 title.setText(mSelector.getEntries()[position]); in getView()
139 myState.mEntries = getEntries(); in onSaveInstanceState()

1234