Searched refs:userPackages (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | TestSystemImpl.java | 104 Map<Integer, PackageInfo> userPackages = mPackages.get(packageName); in enablePackageForUser() local 105 if (userPackages == null) { in enablePackageForUser() 108 PackageInfo packageInfo = userPackages.get(userId); in enablePackageForUser() 119 Map<Integer, PackageInfo> userPackages = mPackages.get(info.packageName); in getPackageInfoForProvider() local 120 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() local 134 userPackages == null ? null : userPackages.get(userId))); in getPackageInfoForProviderAllUsers() 170 Map<Integer, PackageInfo> userPackages = mPackages.get(packageName); in getFactoryPackageVersion() local 171 if (userPackages == null) throw new NameNotFoundException(); in getFactoryPackageVersion() [all …]
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 103 List<UserPackage> userPackages = in existsValidNonFallbackProvider() local 105 if (WebViewUpdater.isInstalledAndEnabledForAllUsers(userPackages) && in existsValidNonFallbackProvider() 110 userPackages.get(UserHandle.USER_SYSTEM).getPackageInfo())) { in existsValidNonFallbackProvider() 210 List<UserPackage> userPackages = in updateFallbackState() local 212 if (existsValidNonFallbackProvider && !isDisabledForAllUsers(userPackages)) { in updateFallbackState() 216 && !WebViewUpdater.isInstalledAndEnabledForAllUsers(userPackages)) { in updateFallbackState() 265 private static boolean isDisabledForAllUsers(List<UserPackage> userPackages) { in isDisabledForAllUsers() argument 266 for (UserPackage userPackage : userPackages) { in isDisabledForAllUsers()
|
D | WebViewUpdater.java | 294 List<UserPackage> userPackages = in findPreferredWebViewPackage() local 297 if (isInstalledAndEnabledForAllUsers(userPackages)) { in findPreferredWebViewPackage() 309 List<UserPackage> userPackages = in findPreferredWebViewPackage() local 312 if (isInstalledAndEnabledForAllUsers(userPackages)) { in findPreferredWebViewPackage() 329 List<UserPackage> userPackages) { in isInstalledAndEnabledForAllUsers() argument 330 for (UserPackage userPackage : userPackages) { in isInstalledAndEnabledForAllUsers() 561 List<UserPackage> userPackages = in dumpAllPackageInformationLocked() local 564 userPackages.get(UserHandle.USER_SYSTEM).getPackageInfo(); in dumpAllPackageInformationLocked()
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 51 List<UserPackage> userPackages = new ArrayList<UserPackage>(users.size()); in getPackageInfosAllUsers() local 59 userPackages.add(new UserPackage(user, packageInfo)); in getPackageInfosAllUsers() 61 return userPackages; in getPackageInfosAllUsers()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 1203 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked() local 1204 if (userPackages == null) { in getUserShortcutsLocked() 1205 userPackages = loadUserLocked(userId); in getUserShortcutsLocked() 1206 if (userPackages == null) { in getUserShortcutsLocked() 1207 userPackages = new ShortcutUser(this, userId); in getUserShortcutsLocked() 1209 mUsers.put(userId, userPackages); in getUserShortcutsLocked() 1214 return userPackages; in getUserShortcutsLocked()
|
D | PackageManagerService.java | 3240 final Map<Integer, List<PackageInfo>> userPackages = new HashMap<>(); in PackageManagerService() local 3243 userPackages.put(userId, getInstalledPackages(/*flags*/ 0, userId).getList()); in PackageManagerService() 3245 mDexManager.load(userPackages); in PackageManagerService()
|