Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DUsageEvents.java464 public String mTaskRootClass; field in UsageEvents.Event
643 return mTaskRootClass; in getTaskRootClassName()
772 mTaskRootClass = orig.mTaskRootClass; in copyFrom()
992 if (mIncludeTaskRoots && event.mTaskRootClass != null) { in writeEventToParcel()
993 taskRootClassIndex = findStringIndex(event.mTaskRootClass); in writeEventToParcel()
1067 eventOut.mTaskRootClass = mStringPool[taskRootClassIndex]; in readEventFromParcel()
1069 eventOut.mTaskRootClass = null; in readEventFromParcel()
DParcelableUsageEventList.java214 event.mTaskRootClass = in.readString(); in readEventFromParcel()
257 dest.writeString(event.mTaskRootClass); in writeEventToParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java238 event.mTaskRootClass = getCachedStringRef(stringPool.get( in buildEvent()
344 if (event.mTaskRootClass != null) { in addEvent()
345 event.mTaskRootClass = getCachedStringRef(event.mTaskRootClass); in addEvent()
539 event.mTaskRootClass = packagesTokenData.getString(packageToken, in deobfuscateEvents()
692 if (!TextUtils.isEmpty(event.mTaskRootClass)) { in obfuscateEventsData()
694 event.mPackage, event.mTaskRootClass); in obfuscateEventsData()
DUsageStatsService.java270 private final String mTaskRootClass; field in UsageStatsService.ActivityData
276 mTaskRootClass = taskRootClass; in ActivityData()
1144 event.mTaskRootClass, usageSourcePackage); in reportEvent()
1175 pausedData = new ActivityData(event.mTaskRootPackage, event.mTaskRootClass, in reportEvent()
1187 event.mTaskRootClass = pausedData.mTaskRootClass; in reportEvent()
1232 event.mTaskRootClass = prevData.mTaskRootClass; in reportEvent()
3208 event.mTaskRootClass = null; in reportEvent()
3211 event.mTaskRootClass = taskRoot.getClassName(); in reportEvent()
DUserUsageStatsService.java607 if (event.mTaskRootClass != null) { in queryEvents()
608 names.add(event.mTaskRootClass); in queryEvents()
705 if (includeTaskRoot && event.mTaskRootClass != null) { in queryEventsForPackage()
706 names.add(event.mTaskRootClass); in queryEventsForPackage()
DUsageStatsProtoV2.java724 event.mTaskRootClass = proto.readString(PendingEventProto.TASK_ROOT_CLASS); in parsePendingEvent()
795 if (event.mTaskRootClass != null) { in writePendingEvent()
796 proto.write(PendingEventProto.TASK_ROOT_CLASS, event.mTaskRootClass); in writePendingEvent()
DUsageStatsProto.java454 if (event.mTaskRootClass != null) { in writeEvent()
455 final int taskRootClassIndex = stats.mStringCache.indexOf(event.mTaskRootClass); in writeEvent()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DParcelableUsageEventListTest.java160 assertEquals(ue1.mTaskRootClass, ue2.mTaskRootClass); in compareUsageEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DIntervalStatsTests.java86 event.mTaskRootClass = ".fake.class.name" + rootClassInt; in populateIntervalStats()
DUsageStatsDatabaseTest.java166 event.mTaskRootClass = ".fake.class.name" + rootClassInt; in populateIntervalStats()
328 assertEquals(e1.mTaskRootClass, e2.mTaskRootClass, "Usage event " + debugId); in compareUsageEvent()