Home
last modified time | relevance | path

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

12345

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DArchiveHandleTest.java339 getFileInArchive(archiveHandle.getEntries(), in closeInputStream_zipFile_shouldBeSuccess()
374 getFileInArchive(archiveHandle.getEntries(), in getInputStream_zipFile_shouldHaveTheSameContent()
460 getFileInArchive(archiveHandle.getEntries(), in getInputStream_sevenZFile_shouldHaveTheSameContent()
479 getFileInArchive(archiveHandle.getEntries(), in getInputStream_tarGzFile_shouldHaveTheSameContent()
539 getFileInArchive(archiveHandle.getEntries(), in getInputStream_tarBrotliFile_shouldHaveTheSameContent()
552 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_zipFile_shouldTheSameWithList()
562 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarFile_shouldTheSameWithList()
572 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tgzFile_shouldTheSameWithList()
582 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarBzFile_shouldTheSameWithList()
592 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/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DAudioRouteSelectorControllerTest.java144 assertThat(mPreference.getEntries().length).isEqualTo(2); in onCreate_testUpdatePreferenceOptions()
145 assertThat(mPreference.getEntries()[0].toString()).isEqualTo(ACTIVE_NAME); in onCreate_testUpdatePreferenceOptions()
146 assertThat(mPreference.getEntries()[1].toString()).isEqualTo(INACTIVE_NAME); in onCreate_testUpdatePreferenceOptions()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothMaxConnectedAudioDevicesPreferenceController.java62 final CharSequence[] entries = listPreference.getEntries(); in displayPreference()
83 final CharSequence[] entries = listPreference.getEntries(); in updateState()
/packages/modules/AdServices/shared/tests/host-side/java/com/android/adservices/shared/testing/
DHostSideDynamicLoggerTest.java58 ImmutableList<LogEntry> logEntries = mFakeLogger.getEntries(); in testWtf_withThrowable()
152 ImmutableList<LogEntry> logEntries = mFakeLogger.getEntries(); in assertLogEntry()
173 ImmutableList<LogEntry> logEntries = mFakeLogger.getEntries(); in assertLogEntryWithMultiLineException()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java1102 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[i]); in updateTrackFrameTimeOptions()
1107 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[0]); in updateTrackFrameTimeOptions()
1128 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[i]); in updateShowNonRectClipOptions()
1133 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[0]); in updateShowNonRectClipOptions()
1175 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[i]); in updateDebugHwOverdrawOptions()
1180 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[0]); in updateDebugHwOverdrawOptions()
1490 pref.setSummary(pref.getEntries()[i]); in updateAnimationScaleValue()
1495 pref.setSummary(pref.getEntries()[0]); in updateAnimationScaleValue()
1528 mOverlayDisplayDevices.setSummary(mOverlayDisplayDevices.getEntries()[i]); in updateOverlayDisplayDevicesOptions()
1533 mOverlayDisplayDevices.setSummary(mOverlayDisplayDevices.getEntries()[0]); in updateOverlayDisplayDevicesOptions()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java167 if (!isValid && mDefaultLanguagePreference.getEntries() != null) { in updateState()
171 if (mDefaultLanguagePreference.getEntries() != null) { in updateState()
174 mDefaultLanguagePreference.getEntries()[mSelectedLocaleIndex]); in updateState()
318 if (mDefaultLanguagePreference.getEntries() == null) { in isDefaultLocaleValid()
/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/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.kt133 preference.setSummary(preference.getEntries().get(index)) in onPreferenceChange()
138 pref.setSummary(simpleMenuPreference.getEntries().get(i)) in onPreferenceChange()
267 it.setSummary(weekStartPref.getEntries().get(idx)) in refresh()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceControllerTest.java187 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configDefault_shouldSetDefaultAttributes()
203 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configProduction_DRIVER_shouldSetProductionDriverAttributes()
219 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configPRERELEASE_DRIVER_shouldSetPrereleaseDriverAttributes()
235 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configSystem_shouldSetSystemAttributes()
/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()
DCallDetailsAdapter.java72 getCallDetailsEntries().getEntries(position)); in bindCallDetailsHeaderViewHolder()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java50 mInitialEntries = getEntries(); in TimeoutListPreference()
129 if (revisedEntries.size() != getEntries().length) { in removeUnusableTimeouts()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
DUnitsEnergyConsumptionPreferenceControllerTest.java92 assertThat(mPreference.getEntries()[0].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
94 assertThat(mPreference.getEntries()[1].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
DUnitsFuelConsumptionPreferenceControllerTest.java91 assertThat(mPreference.getEntries()[0].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
93 assertThat(mPreference.getEntries()[1].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java122 title.setText(mSelector.getEntries()[position]); in getView()
141 myState.mEntries = getEntries(); in onSaveInstanceState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java211 mLocalePreference.getEntries()); in onSaveInstanceState()
321 mLocalePreference.setSummary(mLocalePreference.getEntries()[index]); in setLocalePreference()
381 mLocalePreference.setSummary(mLocalePreference.getEntries()[selectedLocaleIndex]); in updateLanguageTo()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitsFragment.kt158 setEntries(getEntries(key)) in <lambda>()
171 private fun getEntries(key: String): Array<String> { in <lambda>() method in com.android.healthconnect.controller.dataentries.units.UnitsFragment
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DLruList.java82 public @NonNull List<E> getEntries() { in getEntries() method in LruList
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DLruList.java84 public @NonNull List<E> getEntries() { in getEntries() method in LruList
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsCollectionTest.java228 assertCollectionEntries(legacyCollection.getEntries(), fastReadCollection); in testFastDataInputRead()
576 final Map<Key, NetworkStatsHistory> actualEntries = collection.getEntries(); in assertCollectionEntries()
582 assertEquals(expectedHistory.getEntries(), actualHistory.getEntries()); in assertCollectionEntries()
650 assertEquals(0, collection.getEntries().size()); in testRemoveHistoryBefore()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiMeteredPreferenceController2.java80 preference.setSummary(preference.getEntries()[meteredOverride]); in updateSummary()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DLruListTest.java58 assertEquals(expected, mLruList.getEntries()); in testLeastRecentEntryIsRemoved()

12345