Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DPackagesTokenData.java39 public static final int UNASSIGNED_TOKEN = -1; field in PackagesTokenData
75 return UNASSIGNED_TOKEN; // package was removed in getPackageTokenOrAdd()
93 int token = packageTokensMap.getOrDefault(packageName, UNASSIGNED_TOKEN); in getPackageTokenOrAdd()
94 if (token == UNASSIGNED_TOKEN) { in getPackageTokenOrAdd()
118 int token = packagesToTokensMap.get(packageName).getOrDefault(key, UNASSIGNED_TOKEN); in getTokenOrAdd()
119 if (token == UNASSIGNED_TOKEN) { in getTokenOrAdd()
172 return UNASSIGNED_TOKEN; in removePackage()
DUsageStatsProtoV2.java160 int categoryToken = PackagesTokenData.UNASSIGNED_TOKEN; in loadCountsForAction()
174 if (categoryToken != PackagesTokenData.UNASSIGNED_TOKEN) { in loadCountsForAction()
280 return event.mPackageToken == PackagesTokenData.UNASSIGNED_TOKEN ? null : event; in parseEvent()
383 if (event.mClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
390 if (event.mTaskRootPackageToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
394 if (event.mTaskRootClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
409 if (event.mShortcutIdToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
414 if (event.mLocusIdToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
419 if (event.mNotificationChannelIdToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
469 if (usageStats.mPackageToken != PackagesTokenData.UNASSIGNED_TOKEN) { in read()
[all …]
DIntervalStats.java525 if (event.mClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in deobfuscateEvents()
532 if (event.mTaskRootPackageToken != PackagesTokenData.UNASSIGNED_TOKEN) { in deobfuscateEvents()
540 if (event.mTaskRootClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in deobfuscateEvents()
620 if (packageToken == PackagesTokenData.UNASSIGNED_TOKEN) { in obfuscateUsageStatsData()
664 if (packageToken == PackagesTokenData.UNASSIGNED_TOKEN) { in obfuscateEventsData()
DUsageStatsService.java990 if (tokenRemoved != PackagesTokenData.UNASSIGNED_TOKEN) { in onPackageRemoved()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java361 private static final int UNASSIGNED_TOKEN = -1; field in UsageEvents.Event
372 public int mPackageToken = UNASSIGNED_TOKEN;
383 public int mClassToken = UNASSIGNED_TOKEN;
398 public int mTaskRootPackageToken = UNASSIGNED_TOKEN;
408 public int mTaskRootClassToken = UNASSIGNED_TOKEN;
439 public int mShortcutIdToken = UNASSIGNED_TOKEN;
481 public int mNotificationChannelIdToken = UNASSIGNED_TOKEN;
493 public int mLocusIdToken = UNASSIGNED_TOKEN;