Home
last modified time | relevance | path

Searched refs:mTaskRootPackage (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/app/usage/
DUsageEvents.java406 public String mTaskRootPackage; field in UsageEvents.Event
568 return mTaskRootPackage; in getTaskRootPackageName()
702 mTaskRootPackage = orig.mTaskRootPackage; in copyFrom()
875 if (mIncludeTaskRoots && event.mTaskRootPackage != null) { in writeEventToParcel()
876 taskRootPackageIndex = findStringIndex(event.mTaskRootPackage); in writeEventToParcel()
942 eventOut.mTaskRootPackage = mStringPool[taskRootPackageIndex]; in readEventFromParcel()
944 eventOut.mTaskRootPackage = null; in readEventFromParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java231 event.mTaskRootPackage = getCachedStringRef(stringPool.get( in buildEvent()
338 if (event.mTaskRootPackage != null) { in addEvent()
339 event.mTaskRootPackage = getCachedStringRef(event.mTaskRootPackage); in addEvent()
532 event.mTaskRootPackage = packagesTokenData.getString(packageToken, in deobfuscateEvents()
668 if (!TextUtils.isEmpty(event.mTaskRootPackage)) { in obfuscateEventsData()
670 event.mPackage, event.mTaskRootPackage); in obfuscateEventsData()
DUsageStatsService.java201 private final String mTaskRootPackage; field in UsageStatsService.ActivityData
206 mTaskRootPackage = taskRootPackage; in ActivityData()
952 final ActivityData resumedData = new ActivityData(event.mTaskRootPackage, in reportEvent()
967 pausedData = new ActivityData(event.mTaskRootPackage, event.mTaskRootClass, in reportEvent()
981 if (event.mTaskRootPackage == null) { in reportEvent()
983 event.mTaskRootPackage = pausedData.mTaskRootPackage; in reportEvent()
1031 if (event.mTaskRootPackage == null) { in reportEvent()
1033 event.mTaskRootPackage = prevData.mTaskRootPackage; in reportEvent()
1069 return event.mTaskRootPackage; in getUsageSourcePackage()
2298 event.mTaskRootPackage = null; in reportEvent()
[all …]
DUserUsageStatsService.java547 if (event.mTaskRootPackage != null) { in queryEvents()
548 names.add(event.mTaskRootPackage); in queryEvents()
590 if (includeTaskRoot && event.mTaskRootPackage != null) { in queryEventsForPackage()
591 names.add(event.mTaskRootPackage); in queryEventsForPackage()
DUsageStatsProtoV2.java697 event.mTaskRootPackage = proto.readString(PendingEventProto.TASK_ROOT_PACKAGE); in parsePendingEvent()
765 if (event.mTaskRootPackage != null) { in writePendingEvent()
766 proto.write(PendingEventProto.TASK_ROOT_PACKAGE, event.mTaskRootPackage); in writePendingEvent()
DUsageStatsProto.java447 if (event.mTaskRootPackage != null) { in writeEvent()
448 final int taskRootPackageIndex = stats.mStringCache.indexOf(event.mTaskRootPackage); in writeEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java159 event.mTaskRootPackage = "fake.package.name" + rootPackageInt; in populateIntervalStats()
300 assertEquals(e1.mTaskRootPackage, e2.mTaskRootPackage, "Usage event " + debugId); in compareUsageEvent()
DIntervalStatsTests.java80 event.mTaskRootPackage = "fake.package.name" + rootPackageInt; in populateIntervalStats()