Home
last modified time | relevance | path

Searched refs:packageMap (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsFileLogger.java160 ArrayMap<String, PackageStats> packageMap = new ArrayMap<>(); in filterOnlyPrimaryUser() local
166 PackageStats existingStats = packageMap.get(stat.packageName); in filterOnlyPrimaryUser()
175 packageMap.put(stat.packageName, new PackageStats(stat)); in filterOnlyPrimaryUser()
178 return packageMap; in filterOnlyPrimaryUser()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java98 ArrayMap<CallerIdentity, AggregateStats> packageMap = mAggregateStats.get(provider); in getAggregateStats() local
99 if (packageMap == null) { in getAggregateStats()
100 packageMap = new ArrayMap<>(2); in getAggregateStats()
101 mAggregateStats.put(provider, packageMap); in getAggregateStats()
104 AggregateStats stats = packageMap.get(aggregate); in getAggregateStats()
107 packageMap.put(aggregate, stats); in getAggregateStats()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java262 HashMap<String,SelectableAppInfo> packageMap = new HashMap<String,SelectableAppInfo>(); in fetchAndMergeApps() local
264 if (packageMap.containsKey(info.packageName)) { in fetchAndMergeApps()
265 info.primaryEntry = packageMap.get(info.packageName); in fetchAndMergeApps()
267 packageMap.put(info.packageName, info); in fetchAndMergeApps()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java347 final ArrayMap<String, Long> packageMap = in testPackagesForCreateUser_full() local
349 final Set<String> expectedPackages = new ArraySet<>(packageMap.size()); in testPackagesForCreateUser_full()
350 for (int i = 0; i < packageMap.size(); i++) { in testPackagesForCreateUser_full()
351 if ((userTypeMask & packageMap.valueAt(i)) != 0) { in testPackagesForCreateUser_full()
352 expectedPackages.add(packageMap.keyAt(i)); in testPackagesForCreateUser_full()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDynamicCodeLoading.java300 private static void write(OutputStream output, Map<String, PackageDynamicCode> packageMap) in write() argument
305 for (Entry<String, PackageDynamicCode> packageEntry : packageMap.entrySet()) { in write()
370 private static void read(InputStream stream, Map<String, PackageDynamicCode> packageMap) in read() argument
397 packageMap.put(packageName, packageInfo); in read()
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java108 AppIdToPackageMap packageMap = AppIdToPackageMap.getSnapshot(); in dump()
142 packageMap.mapUid(entry.workSourceUid), in dump()
DBinderCallsStatsService.java96 public void dump(PrintWriter pw, AppIdToPackageMap packageMap) { in dump() argument
100 pw.println("\t- " + packageMap.mapAppId(appId)); in dump()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java595 public void dump(PrintWriter pw, AppIdToPackageMap packageMap, int workSourceUid, in dump() argument
598 dumpLocked(pw, packageMap, workSourceUid, verbose); in dump()
602 private void dumpLocked(PrintWriter pw, AppIdToPackageMap packageMap, int workSourceUid, in dumpLocked() argument
636 .append(packageMap.mapUid(e.callingUid)) in dumpLocked()
638 .append(packageMap.mapUid(e.workSourceUid)) in dumpLocked()
683 String uidStr = packageMap.mapUid(entry.workSourceUid); in dumpLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java410 final HashMap<String, HashSet<String>> packageMap = new HashMap<>(); in anyAppIsRemoved() local
414 HashSet<String> appPackages = packageMap.get(userId); in anyAppIsRemoved()
417 packageMap.put(userId, appPackages); in anyAppIsRemoved()
431 final HashSet<String> packagesSet = packageMap.get(userId); in anyAppIsRemoved()