Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DUsageEvents.java320 public String mTaskRootPackage; field in UsageEvents.Event
408 mTaskRootPackage = orig.mTaskRootPackage; in Event()
464 return mTaskRootPackage; in getTaskRootPackageName()
730 if (mIncludeTaskRoots && event.mTaskRootPackage != null) { in writeEventToParcel()
731 taskRootPackageIndex = findStringIndex(event.mTaskRootPackage); in writeEventToParcel()
794 eventOut.mTaskRootPackage = mStringPool[taskRootPackageIndex]; in readEventFromParcel()
796 eventOut.mTaskRootPackage = null; in readEventFromParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java151 private final String mTaskRootPackage; field in UsageStatsService.ActivityData
154 mTaskRootPackage = taskRootPackage; in ActivityData()
485 new ActivityData(event.mTaskRootPackage, event.mTaskRootClass)); in reportEvent()
493 mAppTimeLimit.noteUsageStart(event.mTaskRootPackage, userId); in reportEvent()
501 if (event.mTaskRootPackage == null) { in reportEvent()
509 event.mTaskRootPackage = prevData.mTaskRootPackage; in reportEvent()
546 if (event.mTaskRootPackage == null) { in reportEvent()
548 event.mTaskRootPackage = prevData.mTaskRootPackage; in reportEvent()
558 mAppTimeLimit.noteUsageStop(event.mTaskRootPackage, userId); in reportEvent()
1634 event.mTaskRootPackage = null; in reportEvent()
[all …]
DIntervalStats.java221 event.mTaskRootPackage = getCachedStringRef(stringPool.get( in buildEvent()
323 if (event.mTaskRootPackage != null) { in addEvent()
324 event.mTaskRootPackage = getCachedStringRef(event.mTaskRootPackage); in addEvent()
DUserUsageStatsService.java400 if (event.mTaskRootPackage != null) { in queryEvents()
401 names.add(event.mTaskRootPackage); in queryEvents()
440 if (includeTaskRoot && event.mTaskRootPackage != null) { in queryEventsForPackage()
441 names.add(event.mTaskRootPackage); in queryEventsForPackage()
DUsageStatsProto.java440 if (event.mTaskRootPackage != null) { in writeEvent()
441 final int taskRootPackageIndex = stats.mStringCache.indexOf(event.mTaskRootPackage); in writeEvent()
447 Slog.w(TAG, "Usage event task root package name (" + event.mTaskRootPackage in writeEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java149 event.mTaskRootPackage = "fake.package.name" + rootPackageInt; in populateIntervalStats()
264 assertEquals(e1.mTaskRootPackage, e2.mTaskRootPackage, "Usage event " + debugId); in compareUsageEvent()