Home
last modified time | relevance | path

Searched refs:getList (Results 1 – 25 of 83) 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.java172 mMockHost, mPkgName, HOST_ID, new int[0]).getList(); in testNoUpdatesReceived_queueEmpty()
203 mMockHost, mPkgName, HOST_ID, new int[0]).getList(); in testNoUpdatesReceived_queueNonEmpty_noWidgetId()
216 mMockHost, mPkgName, HOST_ID, new int[]{widgetId}).getList(); in testUpdatesReceived_queueNotEmpty_widgetIdProvided()
230 mMockHost, mPkgName, HOST_ID, new int[]{widgetId2}).getList(); in testUpdatesReceived_queueNotEmpty_widgetIdProvided2()
244 mMockHost, mPkgName, HOST_ID, new int[]{widgetId, widgetId2}).getList(); in testUpdatesReceived_queueNotEmpty_multipleWidgetIdProvided()
258 mMockHost, mPkgName, HOST_ID, new int[]{widgetId, widgetId2}).getList(); in testUpdatesReceived_queueEmptyAfterStartListening()
265 mMockHost, mPkgName, HOST_ID, new int[]{widgetId, widgetId2}).getList(); in testUpdatesReceived_queueEmptyAfterStartListening()
290 mMockHost, mPkgName, HOST_ID, new int[0]).getList(); in setupHostAndWidget()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java254 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessEvent()
288 = mTracker.getEvents(0, false).getList(); in testBrightnessFullPopulatedEvent()
289 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessFullPopulatedEvent()
322 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
333 events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
356 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedBufferSize()
378 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedSensorEvents()
431 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testReadEvents()
448 events = tracker.getEvents(1, true).getList(); in testReadEvents()
470 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.getRecentlyExecutedRollbacks().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/webkit/
DPluginList.java56 public synchronized List getList() { in getList() method in PluginList
/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/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java359 PKG_N_MR1, UID_N_MR1, false, true, false).getList(); in testChannelXml()
431 PKG_N_MR1, UID_N_MR1, false, true, false).getList(); in testChannelXmlForBackup()
1116 mHelper.getNotificationChannels(PKG_N_MR1, UID_N_MR1, false).getList(); in testGetDeletedChannels()
1125 channels = mHelper.getNotificationChannels(PKG_N_MR1, UID_N_MR1, true).getList(); in testGetDeletedChannels()
1192 USER.getIdentifier()).getList().size()); in testGetChannelsBypassingDndCount_noChannelsBypassing()
1205 user).getList().size()); in testGetChannelsBypassingDnd_noChannelsForUserIdBypassing()
1220 user).getList().size()); in testGetChannelsBypassingDndCount_oneChannelBypassing_groupBlocked()
1226 user).getList().size()); in testGetChannelsBypassingDndCount_oneChannelBypassing_groupBlocked()
1246 user).getList().size()); in testGetChannelsBypassingDndCount_multipleChannelsBypassing()
1251 user).getList().size()); in testGetChannelsBypassingDndCount_multipleChannelsBypassing()
[all …]
/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/print/
DPrinterDiscoverySession.java304 printers.getList()).sendToTarget(); in onPrintersAdded()
314 printerIds.getList()).sendToTarget(); in onPrintersRemoved()
/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/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java348 mInterface.getPackageInstaller().getStagedSessions().getList(); in getStagedSessions()
374 List<ApplicationInfo> list = packages.getList(); in uninstallSystemUpdates()
422 for (RollbackInfo r : (List<RollbackInfo>) rm.getAvailableRollbacks().getList()) { in runRollbackApp()
550 final List<FeatureInfo> list = mInterface.getSystemAvailableFeatures().getList(); in runListFeatures()
609 mInterface.queryInstrumentation(targetPackage, 0 /*flags*/).getList(); in runListInstrumentation()
737 final List<PackageInfo> packages = slice.getList(); in runListPackages()
788 final List<PermissionGroupInfo> pgs = mInterface.getAllPermissionGroups(0).getList(); in runListPermissionGroups()
835 mInterface.getAllPermissionGroups(0 /*flags*/).getList(); in runListPermissions()
962 mQueryFlags, mTargetUser).getList(); in runQueryIntentActivities()
996 mQueryFlags, mTargetUser).getList(); in runQueryIntentServices()
[all …]
DModuleInfoProvider.java182 flags | PackageManager.MATCH_APEX, UserHandle.USER_SYSTEM).getList(); in getInstalledModules()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java865 for (AppWidgetProviderInfo info : providers.getList()) { in getInstalledProvidersForProfile()
869 return providers.getList(); in getInstalledProvidersForProfile()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java539 return events.getList(); in getBrightnessEvents()
659 return stats.getList(); in getAmbientBrightnessStats()

1234