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.java393 public String mTaskRootPackage; field in UsageEvents.Event
555 return mTaskRootPackage; in getTaskRootPackageName()
689 mTaskRootPackage = orig.mTaskRootPackage; in copyFrom()
862 if (mIncludeTaskRoots && event.mTaskRootPackage != null) { in writeEventToParcel()
863 taskRootPackageIndex = findStringIndex(event.mTaskRootPackage); in writeEventToParcel()
929 eventOut.mTaskRootPackage = mStringPool[taskRootPackageIndex]; in readEventFromParcel()
931 eventOut.mTaskRootPackage = null; in readEventFromParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java230 event.mTaskRootPackage = getCachedStringRef(stringPool.get( in buildEvent()
337 if (event.mTaskRootPackage != null) { in addEvent()
338 event.mTaskRootPackage = getCachedStringRef(event.mTaskRootPackage); in addEvent()
533 event.mTaskRootPackage = packagesTokenData.getString(packageToken, in deobfuscateEvents()
535 if (event.mTaskRootPackage == null) { in deobfuscateEvents()
673 if (!TextUtils.isEmpty(event.mTaskRootPackage)) { in obfuscateEventsData()
675 event.mPackage, event.mTaskRootPackage); in obfuscateEventsData()
DUsageStatsService.java184 private final String mTaskRootPackage; field in UsageStatsService.ActivityData
187 mTaskRootPackage = taskRootPackage; in ActivityData()
823 new ActivityData(event.mTaskRootPackage, event.mTaskRootClass)); in reportEvent()
831 mAppTimeLimit.noteUsageStart(event.mTaskRootPackage, userId); in reportEvent()
839 if (event.mTaskRootPackage == null) { in reportEvent()
847 event.mTaskRootPackage = prevData.mTaskRootPackage; in reportEvent()
891 if (event.mTaskRootPackage == null) { in reportEvent()
893 event.mTaskRootPackage = prevData.mTaskRootPackage; in reportEvent()
903 mAppTimeLimit.noteUsageStop(event.mTaskRootPackage, userId); in reportEvent()
2091 event.mTaskRootPackage = null; in reportEvent()
[all …]
DUserUsageStatsService.java542 if (event.mTaskRootPackage != null) { in queryEvents()
543 names.add(event.mTaskRootPackage); in queryEvents()
585 if (includeTaskRoot && event.mTaskRootPackage != null) { in queryEventsForPackage()
586 names.add(event.mTaskRootPackage); in queryEventsForPackage()
DUsageStatsProtoV2.java689 event.mTaskRootPackage = proto.readString(PendingEventProto.TASK_ROOT_PACKAGE); in parsePendingEvent()
757 if (event.mTaskRootPackage != null) { in writePendingEvent()
758 proto.write(PendingEventProto.TASK_ROOT_PACKAGE, event.mTaskRootPackage); in writePendingEvent()
DUsageStatsProto.java440 if (event.mTaskRootPackage != null) { in writeEvent()
441 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()
299 assertEquals(e1.mTaskRootPackage, e2.mTaskRootPackage, "Usage event " + debugId); in compareUsageEvent()
DIntervalStatsTests.java80 event.mTaskRootPackage = "fake.package.name" + rootPackageInt; in populateIntervalStats()