Home
last modified time | relevance | path

Searched refs:getInstalledApplicationsAsUser (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java105 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in testCountInstalledAppsAcrossAllUsers()
136 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in testCountInstalledAppsAcrossAllUsers()
170 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), eq(MAIN_USER_ID)); in testCountInstalledAppsAcrossAllUsers()
171 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), eq(MANAGED_PROFILE_ID)); in testCountInstalledAppsAcrossAllUsers()
DAppWithAdminGrantedPermissionsListerTest.java110 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in verifyListInstalledApps()
165 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in verifyListInstalledApps()
202 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), eq(MAIN_USER_ID)); in verifyListInstalledApps()
203 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), in verifyListInstalledApps()
DInstalledAppCounterTest.java129 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), eq(MAIN_USER_ID)); in testCountInstalledAppsAcrossAllUsers()
130 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), eq(MANAGED_PROFILE_ID)); in testCountInstalledAppsAcrossAllUsers()
198 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in configurePackageManager()
221 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in configurePackageManager()
DAppWithAdminGrantedPermissionsCounterTest.java129 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), eq(MAIN_USER_ID)); in verifyCountInstalledApps()
130 verify(mPackageManager).getInstalledApplicationsAsUser(anyInt(), in verifyCountInstalledApps()
216 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in configurePackageManager()
222 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in configurePackageManager()
DApplicationFeatureProviderImplTest.java334 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in setUpUsersAndInstalledApps()
340 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in setUpUsersAndInstalledApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppCounter.java42 mPm.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in doInBackground()
DAppLister.java49 mPm.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in doInBackground()
/packages/apps/Settings/src/com/android/settings/applications/
DAppCounter.java42 mPm.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in doInBackground()
DAppLister.java49 mPm.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in doInBackground()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java94 mPackageManager.getInstalledApplicationsAsUser(0, userId); in getStorageResultForUser()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java78 mPackageManager.getInstalledApplicationsAsUser(/* getAllInstalledApplications= */ 0, in getStorageResultForUser()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageAsyncLoader.java94 mPackageManager.getInstalledApplicationsAsUser(0, userId); in getStorageResultForUser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java106 protected List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() method in ShadowApplicationPackageManager
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java81 when(mPackageManager.getInstalledApplicationsAsUser(eq(PRIMARY_USER_ID), anyInt())) in setUp()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoader.java110 mPackageManager.getInstalledApplicationsAsUser(0, mUserId); in loadApps()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java91 when(mPackageManager.getInstalledApplicationsAsUser(anyInt(), anyInt())).thenReturn(mInfo); in setUp()