Home
last modified time | relevance | path

Searched refs:packageToUsersMap (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java281 Map<String, Set<Integer>> packageToUsersMap = new HashMap<>(); in testSyncData() local
282 packageToUsersMap.put(mBarSecondary2User1.mPackageName, in testSyncData()
287 mPackageDexUsage.syncData(packageToUsersMap, packageToCodePaths, new ArrayList<String>()); in testSyncData()
308 Map<String, Set<Integer>> packageToUsersMap = new HashMap<>(); in testSyncDataKeepPackages() local
309 packageToUsersMap.put(mBarBaseUser0.mPackageName, in testSyncDataKeepPackages()
318 packageDexUsage.syncData(packageToUsersMap, packageToCodePaths, keepData); in testSyncDataKeepPackages()
533 Map<String, Set<Integer>> packageToUsersMap = new HashMap<>(); in testRead() local
537 packageToUsersMap.put( in testRead()
545 packageToUsersMap.put( in testRead()
552 packageToUsersMap.put( in testRead()
[all …]
DPackageDynamicCodeLoadingTests.java272 Map<String, Set<Integer>> packageToUsersMap = ImmutableMap.of( in testSyncData() local
289 info.syncData(packageToUsersMap); in testSyncData()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDynamicCodeLogger.java279 void readAndSync(Map<String, Set<Integer>> packageToUsersMap) { in readAndSync() argument
281 mPackageDynamicCodeLoading.syncData(packageToUsersMap); in readAndSync()
292 Map<String, Set<Integer>> packageToUsersMap = new HashMap<>(); in load() local
298 packageToUsersMap.computeIfAbsent(pi.packageName, k -> new HashSet<>()); in load()
303 readAndSync(packageToUsersMap); in load()
DPackageDynamicCodeLoading.java221 void syncData(Map<String, Set<Integer>> packageToUsersMap) { in syncData() argument
226 Set<Integer> packageUsers = packageToUsersMap.get(entry.getKey()); in syncData()
231 packageDynamicCode.syncData(packageToUsersMap, packageUsers); in syncData()
575 private void syncData(Map<String, Set<Integer>> packageToUsersMap, in syncData() argument
589 Set<Integer> loadingPackageUsers = packageToUsersMap.get(loader); in syncData()
DDexManager.java404 Map<String, Set<Integer>> packageToUsersMap = new HashMap<>(); in loadInternal() local
422 packageToUsersMap, pi.packageName, new HashSet<>()); in loadInternal()
438 packageToUsersMap, packageToCodePaths, packagesToKeepDataAbout); in loadInternal()
DPackageDexUsage.java474 /*package*/ void syncData(Map<String, Set<Integer>> packageToUsersMap, in syncData() argument
489 Set<Integer> users = packageToUsersMap.get(packageName); in syncData()
525 && !packageToUsersMap.containsKey(recordedLoadingPackage)) { in syncData()