Searched refs:userPackages (Results 1 – 5 of 5) sorted by relevance
104 Map<Integer, PackageInfo> userPackages = mPackages.get(packageName); in enablePackageForUser() local105 if (userPackages == null) { in enablePackageForUser()108 PackageInfo packageInfo = userPackages.get(userId); in enablePackageForUser()119 Map<Integer, PackageInfo> userPackages = mPackages.get(info.packageName); in getPackageInfoForProvider() local120 if (userPackages == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider()121 PackageInfo ret = userPackages.get(PRIMARY_USER_ID); in getPackageInfoForProvider()129 Map<Integer, PackageInfo> userPackages = mPackages.get(info.packageName); in getPackageInfoForProviderAllUsers() local134 userPackages == null ? null : userPackages.get(userId))); in getPackageInfoForProviderAllUsers()170 Map<Integer, PackageInfo> userPackages = mPackages.get(packageName); in getFactoryPackageVersion() local171 if (userPackages == null) throw new NameNotFoundException(); in getFactoryPackageVersion()[all …]
103 List<UserPackage> userPackages = in existsValidNonFallbackProvider() local105 if (WebViewUpdater.isInstalledAndEnabledForAllUsers(userPackages) && in existsValidNonFallbackProvider()110 userPackages.get(UserHandle.USER_SYSTEM).getPackageInfo())) { in existsValidNonFallbackProvider()210 List<UserPackage> userPackages = in updateFallbackState() local212 if (existsValidNonFallbackProvider && !isDisabledForAllUsers(userPackages)) { in updateFallbackState()216 && !WebViewUpdater.isInstalledAndEnabledForAllUsers(userPackages)) { in updateFallbackState()265 private static boolean isDisabledForAllUsers(List<UserPackage> userPackages) { in isDisabledForAllUsers() argument266 for (UserPackage userPackage : userPackages) { in isDisabledForAllUsers()
294 List<UserPackage> userPackages = in findPreferredWebViewPackage() local297 if (isInstalledAndEnabledForAllUsers(userPackages)) { in findPreferredWebViewPackage()309 List<UserPackage> userPackages = in findPreferredWebViewPackage() local312 if (isInstalledAndEnabledForAllUsers(userPackages)) { in findPreferredWebViewPackage()329 List<UserPackage> userPackages) { in isInstalledAndEnabledForAllUsers() argument330 for (UserPackage userPackage : userPackages) { in isInstalledAndEnabledForAllUsers()567 List<UserPackage> userPackages = in dumpAllPackageInformationLocked() local570 userPackages.get(UserHandle.USER_SYSTEM).getPackageInfo(); in dumpAllPackageInformationLocked()
49 List<UserPackage> userPackages = new ArrayList<UserPackage>(users.size()); in getPackageInfosAllUsers() local57 userPackages.add(new UserPackage(user, packageInfo)); in getPackageInfosAllUsers()59 return userPackages; in getPackageInfosAllUsers()
1170 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked() local1171 if (userPackages == null) { in getUserShortcutsLocked()1172 userPackages = loadUserLocked(userId); in getUserShortcutsLocked()1173 if (userPackages == null) { in getUserShortcutsLocked()1174 userPackages = new ShortcutUser(this, userId); in getUserShortcutsLocked()1176 mUsers.put(userId, userPackages); in getUserShortcutsLocked()1181 return userPackages; in getUserShortcutsLocked()