Home
last modified time | relevance | path

Searched refs:getList (Results 1 – 25 of 80) 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/display/
DBrightnessTrackerTest.java261 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessEvent()
295 = mTracker.getEvents(0, false).getList(); in testBrightnessFullPopulatedEvent()
296 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessFullPopulatedEvent()
332 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
343 events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
366 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedBufferSize()
388 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedSensorEvents()
441 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testReadEvents()
458 events = tracker.getEvents(1, true).getList(); in testReadEvents()
480 events = tracker.getEvents(0, true).getList(); in testReadEvents()
[all …]
/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.java122 .getList(); in getDynamicShortcuts()
141 .getList(); in getManifestShortcuts()
209 .getList(); in getPinnedShortcuts()
574 injectMyUserId()).getList(); in getShareTargets()
DParceledListSlice.java52 final List<T> list = getList(); in describeContents()
/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/app/
DJobSchedulerImpl.java86 return mBinder.getAllPendingJobs().getList(); in getAllPendingJobs()
113 return mBinder.getAllJobSnapshots().getList(); in getAllJobSnapshots()
DApplicationPackageManager.java338 List<PermissionInfo> pi = parceledList.getList(); in queryPermissionsByGroup()
386 return parceledList.getList(); in getAllPermissionGroups()
535 return sharedLibs.getList(); in getSharedLibrariesAsUser()
548 return sharedLibraries != null ? sharedLibraries.getList() : Collections.emptyList(); in getDeclaredSharedLibraries()
593 final List<FeatureInfo> list = parceledList.getList(); in getSystemAvailableFeatures()
888 return parceledList.getList(); in getInstalledPackagesAsUser()
906 return parceledList.getList(); in getPackagesHoldingPermissions()
928 return parceledList.getList(); in getInstalledApplicationsAsUser()
941 return slice.getList(); in getInstantApps()
1068 return parceledList.getList(); in queryIntentActivitiesAsUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipMenuActivity.java116 boolean hasCustomActions = actions != null && !actions.getList().isEmpty(); in onPipMenuActionsChanged()
117 mPipControlsView.setActions(hasCustomActions ? actions.getList() : Collections.EMPTY_LIST); in onPipMenuActionsChanged()
/frameworks/base/core/java/android/content/rollback/
DRollbackManager.java88 return mBinder.getAvailableRollbacks().getList(); in getAvailableRollbacks()
117 return mBinder.getRecentlyCommittedRollbacks().getList(); in getRecentlyCommittedRollbacks()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DContactEntry.java40 public List<ContentValues> getList() { in getList() method in ContactEntry
DExportTestProvider.java110 return new MockEntityIterator(mContactEntryList.get(id).getList()); in queryEntities()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java314 return slice.getList(); in queryUsageStats()
343 return slice.getList(); in queryConfigurations()
386 return slice.getList(); in queryEventStats()
583 final List<AppStandbyInfo> bucketList = slice.getList(); in getAppStandbyBuckets()
/frameworks/base/core/java/android/webkit/
DPluginList.java56 public synchronized List getList() { in getList() method in PluginList
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java362 PKG_N_MR1, UID_N_MR1, false, true, false).getList(); in testChannelXml()
434 PKG_N_MR1, UID_N_MR1, false, true, false).getList(); in testChannelXmlForBackup()
1119 mHelper.getNotificationChannels(PKG_N_MR1, UID_N_MR1, false).getList(); in testGetDeletedChannels()
1128 channels = mHelper.getNotificationChannels(PKG_N_MR1, UID_N_MR1, true).getList(); in testGetDeletedChannels()
1195 USER.getIdentifier()).getList().size()); in testGetChannelsBypassingDndCount_noChannelsBypassing()
1208 user).getList().size()); in testGetChannelsBypassingDnd_noChannelsForUserIdBypassing()
1223 user).getList().size()); in testGetChannelsBypassingDndCount_oneChannelBypassing_groupBlocked()
1229 user).getList().size()); in testGetChannelsBypassingDndCount_oneChannelBypassing_groupBlocked()
1249 user).getList().size()); in testGetChannelsBypassingDndCount_multipleChannelsBypassing()
1254 user).getList().size()); in testGetChannelsBypassingDndCount_multipleChannelsBypassing()
[all …]
/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java304 printers.getList()).sendToTarget(); in onPrintersAdded()
314 printerIds.getList()).sendToTarget(); in onPrintersRemoved()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java64 List<?> recentTasks = mService.getRecentTasks(100, 0, userId).getList(); in testTaskIdsForUser()
/frameworks/base/core/java/android/service/autofill/
DFillResponse.java113 return (mDatasets != null) ? mDatasets.getList() : null; in getDatasets()
609 builder.append(", datasets=").append(mDatasets.getList()); in toString()
681 final List<Dataset> datasets = (datasetSlice != null) ? datasetSlice.getList() : null;
/frameworks/base/core/java/com/android/internal/os/
DAppIdToPackageMap.java49 UserHandle.USER_SYSTEM).getList(); in getSnapshot()
/frameworks/base/core/java/android/service/appprediction/
DAppPredictionService.java98 targetIds.getList()));
106 AppPredictionService.this, sessionId, targets.getList(), null,
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java865 for (AppWidgetProviderInfo info : providers.getList()) { in getInstalledProvidersForProfile()
869 return providers.getList(); in getInstalledProvidersForProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java355 List<ApplicationInfo> list = packages.getList(); in uninstallSystemUpdates()
403 for (RollbackInfo r : (List<RollbackInfo>) rm.getAvailableRollbacks().getList()) { in runRollbackApp()
533 final List<FeatureInfo> list = mInterface.getSystemAvailableFeatures().getList(); in runListFeatures()
592 mInterface.queryInstrumentation(targetPackage, 0 /*flags*/).getList(); in runListInstrumentation()
720 final List<PackageInfo> packages = slice.getList(); in runListPackages()
771 final List<PermissionGroupInfo> pgs = mInterface.getAllPermissionGroups(0).getList(); in runListPermissionGroups()
818 mInterface.getAllPermissionGroups(0 /*flags*/).getList(); in runListPermissions()
896 mInterface.getPackageInstaller().getStagedSessions().getList(); in runListStagedSessions()
1042 mQueryFlags, mTargetUser).getList(); in runQueryIntentActivities()
1076 mQueryFlags, mTargetUser).getList(); in runQueryIntentServices()
[all …]
DModuleInfoProvider.java182 flags | PackageManager.MATCH_APEX, UserHandle.USER_SYSTEM).getList(); in getInstalledModules()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java539 return events.getList(); in getBrightnessEvents()
659 return stats.getList(); in getAmbientBrightnessStats()

1234