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.java40 public static final int UNASSIGNED_TOKEN = -1; field in PackagesTokenData
81 return UNASSIGNED_TOKEN; // package was removed in getPackageTokenOrAdd()
99 int token = packageTokensMap.getOrDefault(packageName, UNASSIGNED_TOKEN); in getPackageTokenOrAdd()
100 if (token == UNASSIGNED_TOKEN) { in getPackageTokenOrAdd()
124 int token = packagesToTokensMap.get(packageName).getOrDefault(key, UNASSIGNED_TOKEN); in getTokenOrAdd()
125 if (token == UNASSIGNED_TOKEN) { in getTokenOrAdd()
178 return UNASSIGNED_TOKEN; in removePackage()
DUsageStatsProtoV2.java170 int categoryToken = PackagesTokenData.UNASSIGNED_TOKEN; in loadCountsForAction()
184 if (categoryToken != PackagesTokenData.UNASSIGNED_TOKEN) { in loadCountsForAction()
300 return event.mPackageToken == PackagesTokenData.UNASSIGNED_TOKEN ? null : event; in parseEvent()
405 if (event.mClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
412 if (event.mTaskRootPackageToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
416 if (event.mTaskRootClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
431 if (event.mShortcutIdToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
436 if (event.mLocusIdToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
441 if (event.mNotificationChannelIdToken != PackagesTokenData.UNASSIGNED_TOKEN) { in writeEvent()
498 if (usageStats.mPackageToken != PackagesTokenData.UNASSIGNED_TOKEN) { in read()
[all …]
DIntervalStats.java531 if (event.mClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in deobfuscateEvents()
534 if (event.mTaskRootPackageToken != PackagesTokenData.UNASSIGNED_TOKEN) { in deobfuscateEvents()
538 if (event.mTaskRootClassToken != PackagesTokenData.UNASSIGNED_TOKEN) { in deobfuscateEvents()
635 if (packageToken == PackagesTokenData.UNASSIGNED_TOKEN) { in obfuscateUsageStatsData()
679 if (packageToken == PackagesTokenData.UNASSIGNED_TOKEN) { in obfuscateEventsData()
DUsageStatsService.java1415 if (tokenRemoved != PackagesTokenData.UNASSIGNED_TOKEN) { in onPackageRemoved()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java418 private static final int UNASSIGNED_TOKEN = -1; field in UsageEvents.Event
429 public int mPackageToken = UNASSIGNED_TOKEN;
440 public int mClassToken = UNASSIGNED_TOKEN;
459 public int mTaskRootPackageToken = UNASSIGNED_TOKEN;
469 public int mTaskRootClassToken = UNASSIGNED_TOKEN;
500 public int mShortcutIdToken = UNASSIGNED_TOKEN;
542 public int mNotificationChannelIdToken = UNASSIGNED_TOKEN;
554 public int mLocusIdToken = UNASSIGNED_TOKEN;
561 public int mCategoryToken = UNASSIGNED_TOKEN;
562 public int mActionToken = UNASSIGNED_TOKEN;