Home
last modified time | relevance | path

Searched refs:mPackageToken (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProtoV2.java59 stats.mPackageToken = proto.readInt( in parseUsageStats()
80 Slog.e(TAG, "Unable to read chooser counts for " + stats.mPackageToken); in parseUsageStats()
245 event.mPackageToken = proto.readInt(EventObfuscatedProto.PACKAGE_TOKEN) - 1; in parseEvent()
300 return event.mPackageToken == PackagesTokenData.UNASSIGNED_TOKEN ? null : event; in parseEvent()
324 proto.write(UsageStatsObfuscatedProto.PACKAGE_TOKEN, stats.mPackageToken + 1); in writeUsageStats()
404 proto.write(EventObfuscatedProto.PACKAGE_TOKEN, event.mPackageToken + 1); in writeEvent()
498 if (usageStats.mPackageToken != PackagesTokenData.UNASSIGNED_TOKEN) { in read()
499 stats.packageStatsObfuscated.put(usageStats.mPackageToken, usageStats); in read()
DIntervalStats.java522 final int packageToken = event.mPackageToken; in deobfuscateEvents()
638 usageStats.mPackageToken = packageToken; in obfuscateUsageStatsData()
683 event.mPackageToken = packageToken; in obfuscateEventsData()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java292 assertEquals(e1.mPackageToken, e2.mPackageToken, "Usage event " + debugId); in compareUsageEvent()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java429 public int mPackageToken = UNASSIGNED_TOKEN; field in UsageEvents.Event
DUsageStats.java62 public int mPackageToken = -1; field in UsageStats