Home
last modified time | relevance | path

Searched refs:getEntries (Results 1 – 25 of 93) 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/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceControllerTest.java226 assertThat(mPreference.getEntries()).isEqualTo(testEntries); in add5gListItem_lteCdma_5gLteCdma()
240 assertThat(mPreference.getEntries()).isEqualTo(testEntries1); in add5gListItem_lteCdma_5gLteCdma()
284 assertThat(mPreference.getEntries()).isEqualTo(testEntries); in add5gListItem_lteGsm_5gLteGsm()
298 assertThat(mPreference.getEntries()).isEqualTo(testEntries1); in add5gListItem_lteGsm_5gLteGsm()
313 assertThat(mPreference.getEntries()).isEqualTo(testEntries2); in add5gListItem_lteGsm_5gLteGsm()
328 assertThat(mPreference.getEntries()).isEqualTo(testEntries3); in add5gListItem_lteGsm_5gLteGsm()
350 assertThat(mPreference.getEntries()).isEqualTo(testEntries); in add5gListItem_worldPhone_Global()
375 assertThat(mPreference.getEntries()).isEqualTo(testEntries); in add5gListItem_td_5gTd()
389 assertThat(mPreference.getEntries()).isEqualTo(testEntries); in add5gListItem_noLte_no5g()
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/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.java1028 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[i]); in updateTrackFrameTimeOptions()
1033 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[0]); in updateTrackFrameTimeOptions()
1054 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[i]); in updateShowNonRectClipOptions()
1059 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[0]); in updateShowNonRectClipOptions()
1101 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[i]); in updateDebugHwOverdrawOptions()
1106 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[0]); in updateDebugHwOverdrawOptions()
1300 pref.setSummary(pref.getEntries()[i]); in updateAnimationScaleValue()
1305 pref.setSummary(pref.getEntries()[0]); in updateAnimationScaleValue()
1338 mOverlayDisplayDevices.setSummary(mOverlayDisplayDevices.getEntries()[i]); in updateOverlayDisplayDevicesOptions()
1343 mOverlayDisplayDevices.setSummary(mOverlayDisplayDevices.getEntries()[0]); in updateOverlayDisplayDevicesOptions()
[all …]
/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()
DAppLaunchSettings.java90 CharSequence[] entries = getEntries(mPackageName, iviList, filters); in onCreate()
194 … private CharSequence[] getEntries(String packageName, List<IntentFilterVerificationInfo> iviList, in getEntries() method in AppLaunchSettings
/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()
DAppLaunchSettings.java90 CharSequence[] entries = getEntries(mPackageName, iviList, filters); in onCreate()
194 … private CharSequence[] getEntries(String packageName, List<IntentFilterVerificationInfo> iviList, in getEntries() method in AppLaunchSettings
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java137 if (!isValid && mDefaultLanguagePreference.getEntries() != null) { in updateState()
141 if (mDefaultLanguagePreference.getEntries() != null) { in updateState()
144 mDefaultLanguagePreference.getEntries()[mSelectedLocaleIndex]); in updateState()
287 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.kt134 preference.setSummary(preference.getEntries().get(index)) in onPreferenceChange()
139 pref.setSummary(simpleMenuPreference.getEntries().get(i)) in onPreferenceChange()
269 it.setSummary(weekStartPref.getEntries().get(idx)) in refresh()
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/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/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