Home
last modified time | relevance | path

Searched refs:mTotalTimeVisible (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java164 assertEquals(left.mTotalTimeVisible, 0); in testActivity()
171 assertEquals(left.mTotalTimeVisible, 350000 - 200000); in testActivity()
178 assertEquals(left.mTotalTimeVisible, 400000 - 200000); in testActivity()
185 assertEquals(left.mTotalTimeVisible, 400000 - 200000); in testActivity()
204 assertEquals(left.mTotalTimeVisible, 350000 - 100000);
222 assertEquals(left.mTotalTimeVisible, 200000 - 100000);
229 assertEquals(left.mTotalTimeVisible, 300000 - 100000);
236 assertEquals(left.mTotalTimeVisible, 400000 - 100000);
254 assertEquals(left.mTotalTimeVisible, 200000 - 100000);
261 assertEquals(left.mTotalTimeVisible, 200000 - 100000);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java96 public long mTotalTimeVisible; field in UsageStats
169 mTotalTimeVisible = stats.mTotalTimeVisible; in UsageStats()
242 return mTotalTimeVisible; in getTotalTimeVisible()
327 mTotalTimeVisible += right.mTotalTimeVisible; in add()
408 mTotalTimeVisible += timeStamp - mLastTimeVisible; in incrementTimeVisible()
620 dest.writeLong(mTotalTimeVisible); in writeToParcel()
674 stats.mTotalTimeVisible = in.readLong();
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java113 stats.mTotalTimeVisible = XmlUtils.readLongAttribute(parser, TOTAL_TIME_VISIBLE_ATTR); in loadUsageStats()
DUsageStatsProto.java147 stats.mTotalTimeVisible = proto.readLong( in loadUsageStats()
347 usageStats.mTotalTimeVisible); in writeUsageStats()
DUsageStatsProtoV2.java90 stats.mTotalTimeVisible = proto.readLong( in parseUsageStats()
314 proto.write(UsageStatsObfuscatedProto.TOTAL_TIME_VISIBLE_MS, stats.mTotalTimeVisible); in writeUsageStats()
DUserUsageStatsService.java1001 formatElapsedTime(usageStats.mTotalTimeVisible, prettyDates)); in printIntervalStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java265 assertEquals(us1.mTotalTimeVisible, us2.mTotalTimeVisible); in compareUsageStats()