Home
last modified time | relevance | path

Searched refs:getList (Results 1 – 25 of 90) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java52 assertNotNull(slice.getList()); in testSmallList()
53 assertEquals(objectCount, slice.getList().size()); in testSmallList()
56 assertEquals(i * 2, slice.getList().get(i).mFieldA); in testSmallList()
57 assertEquals((i * 2) + 1, slice.getList().get(i).mFieldB); in testSmallList()
103 assertNotNull(slice.getList()); in testLargeList()
104 assertEquals(objectCount, slice.getList().size()); in testLargeList()
107 assertEquals(i * 5, slice.getList().get(i).mFieldA); in testLargeList()
108 assertEquals((i * 5) + 1, slice.getList().get(i).mFieldB); in testLargeList()
109 assertEquals((i * 5) + 2, slice.getList().get(i).mFieldC); in testLargeList()
110 assertEquals((i * 5) + 3, slice.getList().get(i).mFieldD); in testLargeList()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java174 mMockHost, mPkgName, HOST_ID, new int[0]).getList(); in testNoUpdatesReceived_queueEmpty()
205 mMockHost, mPkgName, HOST_ID, new int[0]).getList(); in testNoUpdatesReceived_queueNonEmpty_noWidgetId()
218 mMockHost, mPkgName, HOST_ID, new int[]{widgetId}).getList(); in testUpdatesReceived_queueNotEmpty_widgetIdProvided()
232 mMockHost, mPkgName, HOST_ID, new int[]{widgetId2}).getList(); in testUpdatesReceived_queueNotEmpty_widgetIdProvided2()
246 mMockHost, mPkgName, HOST_ID, new int[]{widgetId, widgetId2}).getList(); in testUpdatesReceived_queueNotEmpty_multipleWidgetIdProvided()
260 mMockHost, mPkgName, HOST_ID, new int[]{widgetId, widgetId2}).getList(); in testUpdatesReceived_queueEmptyAfterStartListening()
267 mMockHost, mPkgName, HOST_ID, new int[]{widgetId, widgetId2}).getList(); in testUpdatesReceived_queueEmptyAfterStartListening()
292 mMockHost, mPkgName, HOST_ID, new int[0]).getList(); in setupHostAndWidget()
/frameworks/base/services/tests/servicestests/src/com/android/server/stats/pull/
DSettingsStatsUtilTest.java62 assertNull(SettingsStatsUtil.getList(FLAG)); in getList_emptyString_nullValue()
69 assertNull(SettingsStatsUtil.getList(FLAG)); in getList_notValidString_nullValue()
76 assertArrayEquals(KEYS, SettingsStatsUtil.getList(FLAG).element); in getList_validString_correctValue()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java173 | PackageManager.MATCH_DISABLED_COMPONENTS, userId).getList(); in getAllApps()
187 userId).getList(); in queryIntentActivitiesAsUser()
201 .getList(); in queryIntentServicesAsUser()
212 userId).getList(); in getPackagesHoldingPermission()
DShortcutManager.java164 injectMyUserId()).getList(); in getDynamicShortcuts()
183 injectMyUserId()).getList(); in getManifestShortcuts()
211 .getList(); in getShortcuts()
293 injectMyUserId()).getList(); in getPinnedShortcuts()
658 injectMyUserId()).getList(); in getShareTargets()
DProviderInfoList.java75 public List<ProviderInfo> getList() { in getList() method in ProviderInfoList
DParceledListSlice.java52 final List<T> list = getList(); in describeContents()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java290 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessEvent()
324 = mTracker.getEvents(0, false).getList(); in testBrightnessFullPopulatedEvent()
325 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessFullPopulatedEvent()
358 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
369 events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
392 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedBufferSize()
414 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedSensorEvents()
467 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testReadEvents()
484 events = tracker.getEvents(1, true).getList(); in testReadEvents()
506 events = tracker.getEvents(0, true).getList(); in testReadEvents()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DSettingsStatsUtil.java85 StringListParamProto proto = getList(flagsData.mFlagName); in logGlobalSettings()
104 StringListParamProto proto = getList(flagsData.mFlagName); in logSystemSettings()
123 StringListParamProto proto = getList(flagsData.mFlagName); in logSecureSettings()
138 static StringListParamProto getList(String flag) { in getList() method in SettingsStatsUtil
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DJobSchedulerImpl.java90 return mBinder.getAllPendingJobs().getList(); in getAllPendingJobs()
117 return mBinder.getAllJobSnapshots().getList(); in getAllJobSnapshots()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingUtils.java60 if (pls == null || pls.getList().size() == 0) { in findService()
64 final List<ResolveInfo> list = pls.getList(); in findService()
/frameworks/base/core/java/android/content/rollback/
DRollbackManager.java88 return mBinder.getAvailableRollbacks().getList(); in getAvailableRollbacks()
117 return mBinder.getRecentlyCommittedRollbacks().getList(); in getRecentlyCommittedRollbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipMenuActivity.java155 boolean hasCustomActions = actions != null && !actions.getList().isEmpty(); in onPipMenuActionsChanged()
157 hasCustomActions ? actions.getList() : Collections.EMPTY_LIST); in onPipMenuActionsChanged()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DContactEntry.java40 public List<ContentValues> getList() { in getList() method in ContactEntry
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java106 launchLocation, targetIds.getList())); in notifyLaunchLocationShown()
114 targets.getList(), in sortAppTargets()
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java377 return Objects.requireNonNull(crateInfoList).getList(); in queryCratesForUid()
410 return Objects.requireNonNull(crateInfoList).getList(); in queryCratesForPackage()
442 return Objects.requireNonNull(crateInfoList).getList(); in queryCratesForUser()
DUsageStatsManager.java446 return slice.getList(); in queryUsageStats()
478 return slice.getList(); in queryConfigurations()
524 return slice.getList(); in queryEventStats()
734 final List<AppStandbyInfo> bucketList = slice.getList(); in getAppStandbyBuckets()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityServiceConnectionTest.java206 when(parceledListSlice.getList()).thenReturn(gestureSteps); in sendGesture_touchableDisplay_injectEvents()
224 when(parceledListSlice.getList()).thenReturn(gestureSteps); in sendGesture_untouchableDisplay_performGestureResultFailed()
241 when(parceledListSlice.getList()).thenReturn(gestureSteps); in sendGesture_invalidDisplay_performGestureResultFailed()
/frameworks/base/core/java/android/webkit/
DPluginList.java56 public synchronized List getList() { in getList() method in PluginList
/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java304 printers.getList()).sendToTarget(); in onPrintersAdded()
314 printerIds.getList()).sendToTarget(); in onPrintersRemoved()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java341 return parceledList.getList(); in getAllPermissionGroups()
386 final List<PermissionInfo> pi = parceledList.getList(); in queryPermissionsByGroup()
546 return sharedLibs.getList(); in getSharedLibrariesAsUser()
559 return sharedLibraries != null ? sharedLibraries.getList() : Collections.emptyList(); in getDeclaredSharedLibraries()
604 final List<FeatureInfo> list = parceledList.getList(); in getSystemAvailableFeatures()
1029 return parceledList.getList(); in getInstalledPackagesAsUser()
1047 return parceledList.getList(); in getPackagesHoldingPermissions()
1069 return parceledList.getList(); in getInstalledApplicationsAsUser()
1082 return slice.getList(); in getInstantApps()
1209 return parceledList.getList(); in queryIntentActivitiesAsUser()
[all …]
/frameworks/base/core/java/android/content/integrity/
DAppIntegrityManager.java121 return new RuleSet.Builder().setVersion(version).addRules(rules.getList()).build(); in getCurrentRuleSet()
/frameworks/base/core/java/com/android/internal/os/
DAppIdToPackageMap.java49 UserHandle.USER_SYSTEM).getList(); in getSnapshot()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java425 PKG_N_MR1, UID_N_MR1, false, true, false).getList(); in testChannelXml()
504 PKG_N_MR1, UID_N_MR1, false, true, false).getList(); in testChannelXmlForBackup()
1207 mHelper.getNotificationChannels(PKG_N_MR1, UID_N_MR1, false).getList(); in testGetDeletedChannels()
1216 channels = mHelper.getNotificationChannels(PKG_N_MR1, UID_N_MR1, true).getList(); in testGetDeletedChannels()
1283 USER.getIdentifier()).getList().size()); in testGetChannelsBypassingDndCount_noChannelsBypassing()
1296 user).getList().size()); in testGetChannelsBypassingDnd_noChannelsForUserIdBypassing()
1311 user).getList().size()); in testGetChannelsBypassingDndCount_oneChannelBypassing_groupBlocked()
1317 user).getList().size()); in testGetChannelsBypassingDndCount_oneChannelBypassing_groupBlocked()
1337 user).getList().size()); in testGetChannelsBypassingDndCount_multipleChannelsBypassing()
1342 user).getList().size()); in testGetChannelsBypassingDndCount_multipleChannelsBypassing()
[all …]
/frameworks/base/core/java/android/service/autofill/
DFillResponse.java119 return (mDatasets != null) ? mDatasets.getList() : null; in getDatasets()
726 builder.append(", datasets=").append(mDatasets.getList()); in toString()
807 final List<Dataset> datasets = (datasetSlice != null) ? datasetSlice.getList() : null;

1234