/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 343 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/ |
D | ArchiveHandle.java | 183 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/ |
D | AssistedDialingSettingFragment.java | 90 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/ |
D | EmergencyListPreferenceTest.java | 115 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/ |
D | DevelopmentFragment.java | 1013 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/ |
D | DefaultSubscriptionControllerTest.java | 108 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/ |
D | AppStateAppOpsBridge.java | 136 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/ |
D | AppStateAppOpsBridge.java | 136 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/ |
D | TtsPlaybackPreferenceController.java | 134 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/ |
D | GameDriverAppPreferenceControllerTest.java | 178 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/ |
D | SettingsActivity.java | 169 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/ |
D | SettingsListPreferenceDialogFragment.java | 63 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/ |
D | SettingsListPreferenceDialogFragment.java | 63 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/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 58 final CharSequence[] entries = listPreference.getEntries(); in displayPreference() 79 final CharSequence[] entries = listPreference.getEntries(); in updateState()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 58 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/ |
D | TtsEngineSettingsFragment.java | 208 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/ |
D | TimeoutListPreference.java | 46 mInitialEntries = getEntries(); in TimeoutListPreference() 111 if (revisedEntries.size() != getEntries().length) { in removeUnusableTimeouts()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | TimeoutListPreference.java | 46 mInitialEntries = getEntries(); in TimeoutListPreference() 111 if (revisedEntries.size() != getEntries().length) { in removeUnusableTimeouts()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | SettingsListPreferenceDialogFragmentTest.java | 75 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/ |
D | SettingsListPreferenceDialogFragmentTest.java | 75 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/ |
D | AppMemoryPreferenceController.java | 67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground() 68 for (ProcStatsEntry entry : pkgEntry.getEntries()) { in doInBackground()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground() 68 for (ProcStatsEntry entry : pkgEntry.getEntries()) { in doInBackground()
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
D | CallDetailsAdapterCommon.java | 119 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/ |
D | ListWithEntrySummaryPreference.java | 120 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/ |
D | ListWithEntrySummaryPreference.java | 120 title.setText(mSelector.getEntries()[position]); in getView() 139 myState.mEntries = getEntries(); in onSaveInstanceState()
|