Home
last modified time | relevance | path

Searched refs:getInstalledPackagesAsUser (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowApplicationPackageManager.java107 protected List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in ShadowApplicationPackageManager
/frameworks/base/test-mock/api/
Dsystem-current.txt16 …precated public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int…
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundInstallControlService.java203 List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser( in getBackgroundInstalledPackages()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java361 final List<PackageInfo> packageInfos = pm.getInstalledPackagesAsUser( in testPackagesForCreateUser_full()
DBackgroundInstallControlServiceTest.java1008 doReturn(packages).when(mPackageManager).getInstalledPackagesAsUser(any(), anyInt()); in testGetBackgroundInstalledPackages()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java204 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in PackageManagerStub
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java165 pm.getInstalledPackagesAsUser(PackageManager.GET_SIGNING_CERTIFICATES, userId); in getStorableApplications()
DUserBackupManagerService.java1563 List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser(flags, mUserId); in allAgentPackages()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java261 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in BridgePackageManager
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java231 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java237 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in MockPackageManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java619 mPackageManager.getInstalledPackagesAsUser( in refreshInstalledPackageCache()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java933 List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser( in checkIdleStates()
2345 List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser( in initializeDefaultsForSystemApps()
2382 final List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser( in loadHeadlessSystemAppCache()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1227 return getInstalledPackagesAsUser(flags, getUserId()); in getInstalledPackages()
1233 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in ApplicationPackageManager
1234 return getInstalledPackagesAsUser(PackageInfoFlags.of(flags), userId); in getInstalledPackagesAsUser()
1240 public List<PackageInfo> getInstalledPackagesAsUser(PackageInfoFlags flags, int userId) { in getInstalledPackagesAsUser() method in ApplicationPackageManager
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java275 when(mMockPackageManager.getInstalledPackagesAsUser(anyInt(), anyInt())) in mockAppCategory()
1726 when(mMockPackageManager.getInstalledPackagesAsUser(anyInt(), eq(USER_ID_1))) in mockInterventionListForMultipleUsers()
1728 when(mMockPackageManager.getInstalledPackagesAsUser(anyInt(), eq(USER_ID_2))) in mockInterventionListForMultipleUsers()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java416 List<PackageInfo> packages = mContext.getPackageManager().getInstalledPackagesAsUser( in grantSignatureAppsNotificationPermissions()
461 List<PackageInfo> packages = mContext.getPackageManager().getInstalledPackagesAsUser( in grantPermissionsToSysComponentsAndPrivApps()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java453 doReturn(packages).when(mockPm).getInstalledPackagesAsUser(anyInt(), in setupPm()
460 ).when(mockPm).getInstalledPackagesAsUser( in setupPm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java199 when(mPackageManager.getInstalledPackagesAsUser(eq(PM_FLAGS), eq(SYSTEM.getIdentifier()))) in setupInstalledPackages()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java4186 when(mPm.getInstalledPackagesAsUser(eq(0), anyInt())).thenReturn(packages); in testUpdateNotificationChannel_fixedPermission()
4302 when(mPm.getInstalledPackagesAsUser(0, 0)).thenReturn(packages); in testUpdateFixedImportance_multiUser()
4325 when(mPm.getInstalledPackagesAsUser(0, 0)).thenReturn(packages); in testUpdateFixedImportance_channelDoesNotExistYet()
4514 when(mPm.getInstalledPackagesAsUser(0, 0)).thenReturn(packages); in testUpdateFixedImportance_thenDefaultAppsRemoves()
4546 when(mPm.getInstalledPackagesAsUser(0, 0)).thenReturn(packages); in testUpdateDefaultApps_thenNotFixedPermission()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1446 List<PackageInfo> packages = mPm.getInstalledPackagesAsUser( in updateFixedImportance()
2912 List<PackageInfo> packages = mPm.getInstalledPackagesAsUser( in migrateNotificationPermissions()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java6481 public abstract List<PackageInfo> getInstalledPackagesAsUser(int flags, in getInstalledPackagesAsUser() method in PackageManager
6491 public List<PackageInfo> getInstalledPackagesAsUser(@NonNull PackageInfoFlags flags, in getInstalledPackagesAsUser() method in PackageManager
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java1997 mPackageManager.getInstalledPackagesAsUser(0, userId);
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3620 List<PackageInfo> pkgs = pm.getInstalledPackagesAsUser(
4465 final List<PackageInfo> installedPackages = pm.getInstalledPackagesAsUser(
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java589 final List<PackageInfo> installedPackages = mPackageManager.getInstalledPackagesAsUser( in getInstalledPackages()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java745 .getInstalledPackagesAsUser(SYSTEM_APP_CHECK_FLAGS, userId); in cacheInstallerPackagesLocked()

12