/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowApplicationPackageManager.java | 107 protected List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in ShadowApplicationPackageManager
|
/frameworks/base/test-mock/api/ |
D | system-current.txt | 16 …precated public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int…
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundInstallControlService.java | 203 List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser( in getBackgroundInstalledPackages()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserSystemPackageInstallerTest.java | 361 final List<PackageInfo> packageInfos = pm.getInstalledPackagesAsUser( in testPackagesForCreateUser_full()
|
D | BackgroundInstallControlServiceTest.java | 1008 doReturn(packages).when(mPackageManager).getInstalledPackagesAsUser(any(), anyInt()); in testGetBackgroundInstalledPackages()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 204 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in PackageManagerStub
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 165 pm.getInstalledPackagesAsUser(PackageManager.GET_SIGNING_CERTIFICATES, userId); in getStorableApplications()
|
D | UserBackupManagerService.java | 1563 List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser(flags, mUserId); in allAgentPackages()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 261 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in BridgePackageManager
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 231 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in MockPackageManager
|
/frameworks/base/services/tests/servicestests/src/com/android/server/app/ |
D | MockPackageManager.java | 237 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in MockPackageManager
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierPrivilegesTracker.java | 619 mPackageManager.getInstalledPackagesAsUser( in refreshInstalledPackageCache()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 933 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/ |
D | ApplicationPackageManager.java | 1227 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/ |
D | GameManagerServiceTests.java | 275 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/ |
D | DefaultPermissionGrantPolicy.java | 416 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/ |
D | AppStandbyControllerTests.java | 453 doReturn(packages).when(mockPm).getInstalledPackagesAsUser(anyInt(), in setupPm() 460 ).when(mockPm).getInstalledPackagesAsUser( in setupPm()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 199 when(mPackageManager.getInstalledPackagesAsUser(eq(PM_FLAGS), eq(SYSTEM.getIdentifier()))) in setupInstalledPackages()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 4186 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/ |
D | PreferencesHelper.java | 1446 List<PackageInfo> packages = mPm.getInstalledPackagesAsUser( in updateFixedImportance() 2912 List<PackageInfo> packages = mPm.getInstalledPackagesAsUser( in migrateNotificationPermissions()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 6481 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/ |
D | GameManagerService.java | 1997 mPackageManager.getInstalledPackagesAsUser(0, userId);
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 3620 List<PackageInfo> pkgs = pm.getInstalledPackagesAsUser( 4465 final List<PackageInfo> installedPackages = pm.getInstalledPackagesAsUser(
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 589 final List<PackageInfo> installedPackages = mPackageManager.getInstalledPackagesAsUser( in getInstalledPackages()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 745 .getInstalledPackagesAsUser(SYSTEM_APP_CHECK_FLAGS, userId); in cacheInstallerPackagesLocked()
|