Home
last modified time | relevance | path

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

123456

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DLooperStatsTest.java90 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testSingleMessageDispatched()
122 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testThrewException()
148 assertThat(looperStats.getEntries()).hasSize(1); in testThrewException_notSampled()
156 assertThat(looperStats.getEntries()).hasSize(1); in testThrewException_notSampled()
195 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testMultipleMessagesDispatched()
284 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testDispatchDelayIsRecorded()
305 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testDataNotCollectedBeforeDeviceStateSet()
320 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testDataNotCollectedOnCharger()
336 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testDataCollectedIfIgnoreBatteryStatusFlagSet()
436 assertThat(looperStats.getEntries()).hasSize(0); in testInvalidTokensCauseException()
[all …]
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
H A DArchiveHandleTest.java344 getFileInArchive(archiveHandle.getEntries(), in closeInputStream_zipFile_shouldBeSuccess()
379 getFileInArchive(archiveHandle.getEntries(), in getInputStream_zipFile_shouldHaveTheSameContent()
465 getFileInArchive(archiveHandle.getEntries(), in getInputStream_sevenZFile_shouldHaveTheSameContent()
484 getFileInArchive(archiveHandle.getEntries(), in getInputStream_tarGzFile_shouldHaveTheSameContent()
544 getFileInArchive(archiveHandle.getEntries(), in getInputStream_tarBrotliFile_shouldHaveTheSameContent()
557 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_zipFile_shouldTheSameWithList()
567 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarFile_shouldTheSameWithList()
577 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tgzFile_shouldTheSameWithList()
587 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarBzFile_shouldTheSameWithList()
597 assertThat(transformToIterable(archiveHandle.getEntries())) in getEntries_tarBrotliFile_shouldTheSameWithList()
[all …]
/aosp12/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifest.java107 .getEntries()).clone(); in StrictJarManifest()
137 return getEntries().get(name); in getAttributes()
146 public Map<String, Attributes> getEntries() { in getEntries() method in StrictJarManifest
212 return mainAttributes.hashCode() ^ getEntries().hashCode(); in hashCode()
235 return getEntries().equals(((StrictJarManifest) o).getEntries()); in equals()
282 Iterator<String> i = manifest.getEntries().keySet().iterator(); in write()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
H A 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
/aosp12/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
H A 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()
/aosp12/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A DBluetoothMaxConnectedAudioDevicesPreferenceController.java58 final CharSequence[] entries = listPreference.getEntries(); in displayPreference()
79 final CharSequence[] entries = listPreference.getEntries(); in updateState()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
H A DDefaultSubscriptionControllerTest.java129 final CharSequence[] entries = mListPreference.getEntries(); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues()
159 final CharSequence[] entries = mListPreference.getEntries(); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues()
190 final CharSequence[] entries = mListPreference.getEntries(); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues()
327 assertThat(mListPreference.getEntries().length).isEqualTo(3); in onSubscriptionsChanged_goFromTwoToThreeSubscriptions_listGetsUpdated()
336 final CharSequence[] entries = mListPreference.getEntries(); in onSubscriptionsChanged_goFromTwoToThreeSubscriptions_listGetsUpdated()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A DAppStateAppOpsBridge.java148 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in loadAllExtraInfo()
173 private SparseArray<ArrayMap<String, PermissionState>> getEntries() { in getEntries() method in AppStateAppOpsBridge
300 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesDeclaredPermission()
313 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in getNumPackagesAllowedByAppOps()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
H A DDevelopmentFragment.java1073 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[i]); in updateTrackFrameTimeOptions()
1078 mTrackFrameTime.setSummary(mTrackFrameTime.getEntries()[0]); in updateTrackFrameTimeOptions()
1099 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[i]); in updateShowNonRectClipOptions()
1104 mShowNonRectClip.setSummary(mShowNonRectClip.getEntries()[0]); in updateShowNonRectClipOptions()
1146 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[i]); in updateDebugHwOverdrawOptions()
1151 mDebugHwOverdraw.setSummary(mDebugHwOverdraw.getEntries()[0]); in updateDebugHwOverdrawOptions()
1415 pref.setSummary(pref.getEntries()[i]); in updateAnimationScaleValue()
1420 pref.setSummary(pref.getEntries()[0]); in updateAnimationScaleValue()
1474 mOpenGLTraces.setSummary(mOpenGLTraces.getEntries()[i]); in updateOpenGLTracesOptions()
1479 mOpenGLTraces.setSummary(mOpenGLTraces.getEntries()[0]); in updateOpenGLTracesOptions()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/display/
H A DTimeoutListPreference.java46 mInitialEntries = getEntries(); in TimeoutListPreference()
111 if (revisedEntries.size() != getEntries().length) { in removeUnusableTimeouts()
H A DScreenZoomPreference.java44 final String[] entries = density.getEntries(); in ScreenZoomPreference()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appinfo/
H A DAppMemoryPreferenceController.java67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground()
68 for (ProcStatsEntry entry : pkgEntry.getEntries()) { in doInBackground()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/tts/
H A 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()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/settings/
H A DSettingsActivity.kt133 preference.setSummary(preference.getEntries().get(index))
138 pref.setSummary(simpleMenuPreference.getEntries().get(i))
267 it.setSummary(weekStartPref.getEntries().get(idx))
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
H A DTestUtils.java138 assertWithMessage("Event logs").that(ShadowEventLog.getEntries()) in assertEventLogged()
144 assertWithMessage("Event logs").that(ShadowEventLog.getEntries()) in assertEventNotLogged()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
H A DUnitsEnergyConsumptionPreferenceControllerTest.java92 assertThat(mPreference.getEntries()[0].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
94 assertThat(mPreference.getEntries()[1].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
H A DUnitsFuelConsumptionPreferenceControllerTest.java91 assertThat(mPreference.getEntries()[0].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
93 assertThat(mPreference.getEntries()[1].toString()).isEqualTo( in onCarServiceConnected_setsPreferenceEntriesAndValue()
/aosp12/packages/apps/Dialer/java/com/android/dialer/calldetails/
H A DCallDetailsAdapterCommon.java119 CallDetailsEntry entry = callDetailsEntries.getEntries(position - 1); in onBindViewHolder()
164 CallDetailsEntry entry = callDetailsEntries.getEntries(0); in getCallbackAction()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
H A DGraphicsDriverAppPreferenceControllerTest.java185 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configDefault_shouldSetDefaultAttributes()
201 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configProduction_DRIVER_shouldSetProductionDriverAttributes()
217 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configPRERELEASE_DRIVER_shouldSetPrereleaseDriverAttributes()
233 assertThat(preference.getEntries()).isEqualTo(mValueList); in createPreference_configSystem_shouldSetSystemAttributes()
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java924 protected List<RecipientEntry> getEntries() { in getEntries() method in BaseRecipientAdapter
976 final List<RecipientEntry> entries = getEntries(); in getCount()
982 return getEntries().get(position); in getItem()
997 return getEntries().get(position).getEntryType(); in getItemViewType()
1002 return getEntries().get(position).isSelectable(); in isEnabled()
1007 final RecipientEntry entry = getEntries().get(position); in getView()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/calling/
H A DListWithEntrySummaryPreference.java122 title.setText(mSelector.getEntries()[position]); in getView()
141 myState.mEntries = getEntries(); in onSaveInstanceState()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DTtsEngineSettingsFragment.java210 mLocalePreference.getEntries()); in onSaveInstanceState()
320 mLocalePreference.setSummary(mLocalePreference.getEntries()[index]); in setLocalePreference()
380 mLocalePreference.setSummary(mLocalePreference.getEntries()[selectedLocaleIndex]); in updateLanguageTo()
/aosp12/frameworks/base/tools/aapt/
H A DOutputSet.h51 virtual const std::set<OutputEntry>& getEntries() const = 0;
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A DLruList.java82 public @NonNull List<E> getEntries() { in getEntries() method in LruList

123456