Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java152 assertEquals(left.mTotalTimeVisible, 0); in testActivity()
159 assertEquals(left.mTotalTimeVisible, 350000 - 200000); in testActivity()
166 assertEquals(left.mTotalTimeVisible, 400000 - 200000); in testActivity()
173 assertEquals(left.mTotalTimeVisible, 400000 - 200000); in testActivity()
192 assertEquals(left.mTotalTimeVisible, 350000 - 100000);
210 assertEquals(left.mTotalTimeVisible, 200000 - 100000);
217 assertEquals(left.mTotalTimeVisible, 300000 - 100000);
224 assertEquals(left.mTotalTimeVisible, 400000 - 100000);
242 assertEquals(left.mTotalTimeVisible, 200000 - 100000);
249 assertEquals(left.mTotalTimeVisible, 200000 - 100000);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java89 public long mTotalTimeVisible; field in UsageStats
157 mTotalTimeVisible = stats.mTotalTimeVisible; in UsageStats()
230 return mTotalTimeVisible; in getTotalTimeVisible()
315 mTotalTimeVisible += right.mTotalTimeVisible; in add()
396 mTotalTimeVisible += timeStamp - mLastTimeVisible; in incrementTimeVisible()
596 dest.writeLong(mTotalTimeVisible); in writeToParcel()
650 stats.mTotalTimeVisible = in.readLong();
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java252 assertEquals(us1.mTotalTimeVisible, us2.mTotalTimeVisible); in compareUsageStats()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java114 stats.mTotalTimeVisible = XmlUtils.readLongAttribute(parser, TOTAL_TIME_VISIBLE_ATTR); in loadUsageStats()
259 XmlUtils.writeLongAttribute(xml, TOTAL_TIME_VISIBLE_ATTR, usageStats.mTotalTimeVisible); in writeUsageStats()
DUsageStatsProto.java143 stats.mTotalTimeVisible = proto.readLong( in loadUsageStats()
348 usageStats.mTotalTimeVisible); in writeUsageStats()
DUserUsageStatsService.java845 formatElapsedTime(usageStats.mTotalTimeVisible, prettyDates)); in printIntervalStats()