Searched refs:getInstalledApplicationsAsUser (Results 1 – 16 of 16) sorted by relevance
105 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()
110 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()
129 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()
129 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()
334 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in setUpUsersAndInstalledApps()340 when(mPackageManager.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in setUpUsersAndInstalledApps()
42 mPm.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in doInBackground()
49 mPm.getInstalledApplicationsAsUser(PackageManager.GET_DISABLED_COMPONENTS in doInBackground()
78 mPackageManager.getInstalledApplicationsAsUser(/* getAllInstalledApplications= */ 0, in getStorageResultForUser()
94 mPackageManager.getInstalledApplicationsAsUser(0, userId); in getStorageResultForUser()
106 protected List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() method in ShadowApplicationPackageManager
81 when(mPackageManager.getInstalledApplicationsAsUser(eq(PRIMARY_USER_ID), anyInt())) in setUp()
110 mPackageManager.getInstalledApplicationsAsUser(0, mUserId); in loadApps()
91 when(mPackageManager.getInstalledApplicationsAsUser(anyInt(), anyInt())).thenReturn(mInfo); in setUp()