Home
last modified time | relevance | path

Searched refs:userPackages (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DTestSystemImpl.java98 Map<Integer, PackageInfo> userPackages = mPackages.get(packageName); in enablePackageForUser() local
99 if (userPackages == null) { in enablePackageForUser()
102 PackageInfo packageInfo = userPackages.get(userId); in enablePackageForUser()
113 Map<Integer, PackageInfo> userPackages = mPackages.get(info.packageName); in getPackageInfoForProvider() local
114 if (userPackages == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider()
115 PackageInfo ret = userPackages.get(PRIMARY_USER_ID); in getPackageInfoForProvider()
123 Map<Integer, PackageInfo> userPackages = mPackages.get(info.packageName); in getPackageInfoForProviderAllUsers() local
128 userPackages == null ? null : userPackages.get(userId))); in getPackageInfoForProviderAllUsers()
164 Map<Integer, PackageInfo> userPackages = mPackages.get(packageName); in getFactoryPackageVersion() local
165 if (userPackages == null) throw new NameNotFoundException(); in getFactoryPackageVersion()
[all …]
/frameworks/base/core/java/android/webkit/
DUserPackage.java51 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/webkit/
DWebViewUpdater.java283 List<UserPackage> userPackages = in findPreferredWebViewPackage() local
286 if (isInstalledAndEnabledForAllUsers(userPackages)) { in findPreferredWebViewPackage()
298 List<UserPackage> userPackages = in findPreferredWebViewPackage() local
301 if (isInstalledAndEnabledForAllUsers(userPackages)) { in findPreferredWebViewPackage()
318 List<UserPackage> userPackages) { in isInstalledAndEnabledForAllUsers() argument
319 for (UserPackage userPackage : userPackages) { in isInstalledAndEnabledForAllUsers()
552 List<UserPackage> userPackages = in dumpAllPackageInformationLocked() local
555 userPackages.get(UserHandle.USER_SYSTEM).getPackageInfo(); in dumpAllPackageInformationLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1211 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked() local
1212 if (userPackages == null) { in getUserShortcutsLocked()
1213 userPackages = loadUserLocked(userId); in getUserShortcutsLocked()
1214 if (userPackages == null) { in getUserShortcutsLocked()
1215 userPackages = new ShortcutUser(this, userId); in getUserShortcutsLocked()
1217 mUsers.put(userId, userPackages); in getUserShortcutsLocked()
1222 return userPackages; in getUserShortcutsLocked()
DPackageManagerService.java3274 final Map<Integer, List<PackageInfo>> userPackages = new HashMap<>(); in PackageManagerService() local
3276 userPackages.put(userId, getInstalledPackages(/*flags*/ 0, userId).getList()); in PackageManagerService()
3278 mDexManager.load(userPackages); in PackageManagerService()