/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | UserPackageInfosLiveData.kt | 80 app.applicationContext.packageManager.getInstalledPackagesAsUser( in <lambda>() 87 app.applicationContext.packageManager.getInstalledPackagesAsUser( in <lambda>() 92 app.applicationContext.packageManager.getInstalledPackagesAsUser( in <lambda>()
|
D | PreinstalledUserPackageInfosLiveData.kt | 49 app.applicationContext.packageManager.getInstalledPackagesAsUser( in <lambda>()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/specialaccess/ |
D | PictureInPictureTest.kt | 65 whenever(packageManager.getInstalledPackagesAsUser(any<PackageInfoFlags>(), anyInt())) in setUp() 79 whenever(packageManager.getInstalledPackagesAsUser(any<PackageInfoFlags>(), anyInt())) in <lambda>() 96 whenever(packageManager.getInstalledPackagesAsUser(any<PackageInfoFlags>(), anyInt())) in <lambda>()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 214 doReturn(List.of()).when(mPackageManager).getInstalledPackagesAsUser(anyInt(), anyInt()); in setUp() 752 doReturn(pkgs).when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), in testUserAndPackageAddRemove() 823 .when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), anyInt()); in doTestUidFilteringDuringVpnConnectDisconnectAndUidUpdates() 877 .when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), anyInt()); in doTestUidFilteringDuringPackageInstallAndUninstall() 915 .when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), anyInt()); in testLockdownUidFilteringWithLockdownEnableDisable() 945 .when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), anyInt()); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 986 .when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), anyInt()); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAddAndOverlap() 1046 .when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), anyInt()); in testLockdownUidFilteringWithLockdownEnableDisableWithDuplicates() 1079 .when(mPackageManager).getInstalledPackagesAsUser(eq(GET_PERMISSIONS), anyInt()); in testLockdownUidFilteringWithInstallAndUnInstall() 1410 .getInstalledPackagesAsUser(eq(GET_PERMISSIONS), eq(MOCK_USER_ID2)); [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ClonedAppsPreferenceController.java | 88 .getInstalledPackagesAsUser(/* flags*/ 0, UserHandle.myUserId()).stream() in updatePreferenceSummary() 100 .getInstalledPackagesAsUser(/* flags*/ 0, cloneUserId).stream() in updatePreferenceSummary()
|
D | AppStateClonedAppsBridge.java | 59 .getInstalledPackagesAsUser(GET_ACTIVITIES, in loadAllExtraInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureSettingsTest.java | 68 when(mPackageManager.getInstalledPackagesAsUser(anyInt(), eq(PRIMARY_USER_ID))) in setUp() 70 when(mPackageManager.getInstalledPackagesAsUser(anyInt(), eq(PROFILE_USER_ID))) in setUp()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/ |
D | InteractAcrossProfilesSettings.java | 157 List<PackageInfo> personalPackages = packageManager.getInstalledPackagesAsUser( in getAllInstalledPackages() 159 List<PackageInfo> workPackages = packageManager.getInstalledPackagesAsUser( in getAllInstalledPackages()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | UidPackageMapperTest.java | 88 when(mMockPackageManager.getInstalledPackagesAsUser( in setUp() 92 when(mMockPackageManager.getInstalledPackagesAsUser( in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowApplicationPackageManager.java | 45 protected List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() method in ShadowApplicationPackageManager
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/ |
D | RuntimePermissionsUpgradeControllerTest.kt | 156 whenever(packageManager.getInstalledPackagesAsUser(anyInt(), anyInt())).thenAnswer { in <lambda>() 164 packageManager.getInstalledPackagesAsUser( in <lambda>() 179 packageManager.getInstalledPackagesAsUser(0, 0).find { it.packageName == packageName } in <lambda>()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/development/compat/ |
D | PlatformCompatAppListModelTest.kt | 61 whenever(packageManager.getInstalledPackagesAsUser(any<PackageInfoFlags>(), anyInt())) in setUp()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetector.java | 64 List<PackageInfo> packages = mPackageManager.getInstalledPackagesAsUser( in hasUnsafeInstalledApps()
|
/packages/apps/Settings/src/com/android/settings/spa/app/specialaccess/ |
D | PictureInPicture.kt | 116 packageManager.getInstalledPackagesAsUser(GET_ACTIVITIES_FLAGS, userId) in getPackageAndActivityInfoList()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionApps.java | 199 return mPm.getInstalledPackagesAsUser(pkgQueryFlags, user.getIdentifier()); in getPackageInfos() 505 ret = mPm.getInstalledPackagesAsUser(getPackageQueryFlags(), userId); in getPackages()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureSettings.java | 210 final List<PackageInfo> installedPackages = mPackageManager.getInstalledPackagesAsUser( in collectPipApps()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/ |
D | BackupAndRestoreFragment.java | 119 installedPackages = packageManager.getInstalledPackagesAsUser(/* flags= */0, mUserId); in backupNow()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/packageinfo/ |
D | PackageInfoFragment.java | 98 packages = mPackageManager.getInstalledPackagesAsUser(PACKAGE_FLAGS, mUserToShow.id); in refreshPackages()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 308 private List<PackageInfo> getInstalledPackagesAsUser(final UserHandle user) { in getInstalledPackagesAsUser() method in PermissionMonitor 309 return mPackageManager.getInstalledPackagesAsUser(GET_PERMISSIONS, user.getIdentifier()); in getInstalledPackagesAsUser() 589 final List<PackageInfo> apps = getInstalledPackagesAsUser(user); in onUserAdded()
|
/packages/services/Car/service/src/com/android/car/telemetry/ |
D | UidPackageMapper.java | 192 pm.getInstalledPackagesAsUser( in getAllPackagesIncludingApex()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSTestHelpers.kt | 120 .getInstalledPackagesAsUser(eq(PackageManager.GET_PERMISSIONS), anyInt()) in makeMockPackageManager()
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsCompanionService.java | 294 pm.getInstalledPackagesAsUser(PackageManager.GET_SIGNING_CERTIFICATES in getAllPackagesWithApex()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogPerfHandler.java | 807 List<PackageInfo> packageInfos = pm.getInstalledPackagesAsUser(/* flags= */ 0, userId); in getPackageKillableStatesForUserId() 2391 List<PackageInfo> packageInfos = pm.getInstalledPackagesAsUser(/* flags= */ 0, userId); in getPackageUidsForUser()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 1301 when(mMockPackageManager.getInstalledPackagesAsUser(anyInt(), anyInt())) in mockPackageManager()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 2687 List<PackageInfo> packagesForUser = mPackageManager.getInstalledPackagesAsUser( in augmentStatsForUser()
|