Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DUsageEvents.java454 public String mTaskRootPackage; field in UsageEvents.Event
632 return mTaskRootPackage; in getTaskRootPackageName()
771 mTaskRootPackage = orig.mTaskRootPackage; in copyFrom()
985 if (mIncludeTaskRoots && event.mTaskRootPackage != null) { in writeEventToParcel()
986 taskRootPackageIndex = findStringIndex(event.mTaskRootPackage); in writeEventToParcel()
1060 eventOut.mTaskRootPackage = mStringPool[taskRootPackageIndex]; in readEventFromParcel()
1062 eventOut.mTaskRootPackage = null; in readEventFromParcel()
DParcelableUsageEventList.java213 event.mTaskRootPackage = in.readString(); in readEventFromParcel()
256 dest.writeString(event.mTaskRootPackage); in writeEventToParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java234 event.mTaskRootPackage = getCachedStringRef(stringPool.get( in buildEvent()
341 if (event.mTaskRootPackage != null) { in addEvent()
342 event.mTaskRootPackage = getCachedStringRef(event.mTaskRootPackage); in addEvent()
535 event.mTaskRootPackage = packagesTokenData.getString(packageToken, in deobfuscateEvents()
688 if (!TextUtils.isEmpty(event.mTaskRootPackage)) { in obfuscateEventsData()
690 event.mPackage, event.mTaskRootPackage); in obfuscateEventsData()
DUsageStatsService.java269 private final String mTaskRootPackage; field in UsageStatsService.ActivityData
275 mTaskRootPackage = taskRootPackage; in ActivityData()
1143 final ActivityData resumedData = new ActivityData(event.mTaskRootPackage, in reportEvent()
1175 pausedData = new ActivityData(event.mTaskRootPackage, event.mTaskRootClass, in reportEvent()
1184 if (event.mTaskRootPackage == null) { in reportEvent()
1186 event.mTaskRootPackage = pausedData.mTaskRootPackage; in reportEvent()
1229 if (event.mTaskRootPackage == null) { in reportEvent()
1231 event.mTaskRootPackage = prevData.mTaskRootPackage; in reportEvent()
1311 return event.mTaskRootPackage; in getUsageSourcePackage()
3207 event.mTaskRootPackage = null; in reportEvent()
[all …]
DUserUsageStatsService.java604 if (event.mTaskRootPackage != null) { in queryEvents()
605 names.add(event.mTaskRootPackage); in queryEvents()
702 if (includeTaskRoot && event.mTaskRootPackage != null) { in queryEventsForPackage()
703 names.add(event.mTaskRootPackage); in queryEventsForPackage()
DUsageStatsProtoV2.java721 event.mTaskRootPackage = proto.readString(PendingEventProto.TASK_ROOT_PACKAGE); in parsePendingEvent()
792 if (event.mTaskRootPackage != null) { in writePendingEvent()
793 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/core/tests/coretests/src/android/app/usage/
DParcelableUsageEventListTest.java159 assertEquals(ue1.mTaskRootPackage, ue2.mTaskRootPackage); in compareUsageEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DIntervalStatsTests.java83 event.mTaskRootPackage = "fake.package.name" + rootPackageInt; in populateIntervalStats()
DUsageStatsDatabaseTest.java163 event.mTaskRootPackage = "fake.package.name" + rootPackageInt; in populateIntervalStats()
327 assertEquals(e1.mTaskRootPackage, e2.mTaskRootPackage, "Usage event " + debugId); in compareUsageEvent()