Searched refs:packageMap (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DiskStatsFileLogger.java | 160 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/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 262 HashMap<String,SelectableAppInfo> packageMap = new HashMap<String,SelectableAppInfo>(); in fetchAndMergeApps() local 264 if (packageMap.containsKey(info.packageName)) { in fetchAndMergeApps() 265 info.masterEntry = packageMap.get(info.packageName); in fetchAndMergeApps() 267 packageMap.put(info.packageName, info); in fetchAndMergeApps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserSystemPackageInstallerTest.java | 346 final ArrayMap<String, Long> packageMap = in testPackagesForCreateUser_full() local 348 final Set<String> expectedPackages = new ArraySet<>(packageMap.size()); in testPackagesForCreateUser_full() 349 for (int i = 0; i < packageMap.size(); i++) { in testPackagesForCreateUser_full() 350 if ((userTypeMask & packageMap.valueAt(i)) != 0) { in testPackagesForCreateUser_full() 351 expectedPackages.add(packageMap.keyAt(i)); in testPackagesForCreateUser_full()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallsStats.java | 374 public void dump(PrintWriter pw, AppIdToPackageMap packageMap, boolean verbose) { in dump() argument 376 dumpLocked(pw, packageMap, verbose); in dump() 380 private void dumpLocked(PrintWriter pw, AppIdToPackageMap packageMap, boolean verbose) { in dumpLocked() argument 418 .append(packageMap.mapUid(e.callingUid)) in dumpLocked() 420 .append(packageMap.mapUid(e.workSourceUid)) in dumpLocked() 441 String uidStr = packageMap.mapUid(entry.workSourceUid); in dumpLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | PackageDynamicCodeLoading.java | 300 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/ |
D | LooperStatsService.java | 103 AppIdToPackageMap packageMap = AppIdToPackageMap.getSnapshot(); in dump() 137 packageMap.mapUid(entry.workSourceUid), in dump()
|
D | BinderCallsStatsService.java | 82 public void dump(PrintWriter pw, AppIdToPackageMap packageMap) { in dump() argument 86 pw.println("\t- " + packageMap.mapAppId(appId)); in dump()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 382 final HashMap<String, HashSet<String>> packageMap = new HashMap<>(); in anyAppIsRemoved() local 386 HashSet<String> appPackages = packageMap.get(userId); in anyAppIsRemoved() 389 packageMap.put(userId, appPackages); in anyAppIsRemoved() 403 final HashSet<String> packagesSet = packageMap.get(userId); in anyAppIsRemoved()
|