Searched refs:packageToken (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | PackagesTokenData.java | 114 public int getTokenOrAdd(int packageToken, String packageName, String key) { in getTokenOrAdd() argument 120 token = tokensToPackagesMap.get(packageToken).size(); in getTokenOrAdd() 122 tokensToPackagesMap.get(packageToken).add(key); in getTokenOrAdd() 133 public String getPackageString(int packageToken) { in getPackageString() argument 134 final ArrayList<String> packageStrings = tokensToPackagesMap.get(packageToken); in getPackageString() 148 public String getString(int packageToken, int token) { in getString() argument 150 return tokensToPackagesMap.get(packageToken).get(token); in getString() 153 "Unable to find tokenized strings for package " + packageToken, npe); in getString() 174 final int packageToken = packagesToTokensMap.get(packageName).get(packageName); in removePackage() local 176 tokensToPackagesMap.delete(packageToken); in removePackage() [all …]
|
D | IntervalStats.java | 464 final int packageToken = packageStatsObfuscated.keyAt(statsIndex); in deobfuscateUsageStats() local 466 usageStats.mPackageName = packagesTokenData.getPackageString(packageToken); in deobfuscateUsageStats() 468 Slog.e(TAG, "Unable to parse usage stats package " + packageToken); in deobfuscateUsageStats() 478 final String action = packagesTokenData.getString(packageToken, actionToken); in deobfuscateUsageStats() 481 + " for package " + packageToken); in deobfuscateUsageStats() 489 final String category = packagesTokenData.getString(packageToken, in deobfuscateUsageStats() 493 + " for package " + packageToken); in deobfuscateUsageStats() 516 final int packageToken = event.mPackageToken; in deobfuscateEvents() local 517 event.mPackage = packagesTokenData.getPackageString(packageToken); in deobfuscateEvents() 519 Slog.e(TAG, "Unable to parse event package " + packageToken); in deobfuscateEvents() [all …]
|
D | UsageStatsDatabase.java | 1172 final int packageToken = tokensToPackagesMap.keyAt(i); in readMappingsLocked() local 1177 packageStringsMap.put(tokensMap.get(0), packageToken); in readMappingsLocked() 1504 final int packageToken = mPackagesTokenData.tokensToPackagesMap.keyAt(i); in dumpMappings() local 1507 pw.println("Token " + packageToken + ": [" + packageStrings + "]"); in dumpMappings()
|
D | UsageStatsProtoV2.java | 636 int packageToken = packagesTokenData.tokensToPackagesMap.keyAt(i); in writeObfuscatedData() local 637 proto.write(ObfuscatedPackagesProto.PackagesMap.PACKAGE_TOKEN, packageToken + 1); in writeObfuscatedData()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 271 final long packageToken = proto.start(fieldId); in dumpDebug() local 305 proto.end(packageToken); in dumpDebug()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DiskStatsService.java | 278 long packageToken = proto.start(DiskStatsCachedValuesProto.APP_SIZES); in reportCachedValuesProto() local 286 proto.end(packageToken); in reportCachedValuesProto()
|