Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DPackagesTokenData.java114 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 …]
DIntervalStats.java464 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 …]
DUsageStatsDatabase.java1172 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()
DUsageStatsProtoV2.java636 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/
DPackageSetting.java271 final long packageToken = proto.start(fieldId); in dumpDebug() local
305 proto.end(packageToken); in dumpDebug()
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java278 long packageToken = proto.start(DiskStatsCachedValuesProto.APP_SIZES); in reportCachedValuesProto() local
286 proto.end(packageToken); in reportCachedValuesProto()