Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java160 assertEquals(left.mLastTimeVisible, 200000); in testActivity()
168 assertEquals(left.mLastTimeVisible, 350000); in testActivity()
175 assertEquals(left.mLastTimeVisible, 400000); in testActivity()
182 assertEquals(left.mLastTimeVisible, 400000); in testActivity()
195 assertEquals(left.mLastTimeVisible, 100000);
201 assertEquals(left.mLastTimeVisible, 350000);
214 assertEquals(left.mLastTimeVisible, 100000);
219 assertEquals(left.mLastTimeVisible, 200000);
226 assertEquals(left.mLastTimeVisible, 300000);
233 assertEquals(left.mLastTimeVisible, 400000);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java83 public long mLastTimeVisible; field in UsageStats
166 mLastTimeVisible = stats.mLastTimeVisible; in UsageStats()
228 return mLastTimeVisible; in getLastTimeVisible()
320 mLastTimeVisible = Math.max(mLastTimeVisible, right.mLastTimeVisible); in add()
407 if (timeStamp > mLastTimeVisible) { in incrementTimeVisible()
408 mTotalTimeVisible += timeStamp - mLastTimeVisible; in incrementTimeVisible()
409 mLastTimeVisible = timeStamp; in incrementTimeVisible()
465 mLastTimeVisible = timeStamp; in updateActivity()
475 mLastTimeVisible = timeStamp; in updateActivity()
593 mLastTimeVisible = timeStamp; in update()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java97 stats.mLastTimeVisible = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats()
DUsageStatsProto.java143 stats.mLastTimeVisible = statsOut.beginTime + proto.readLong( in loadUsageStats()
345 usageStats.mLastTimeVisible, stats.beginTime); in writeUsageStats()
DUsageStatsProtoV2.java86 stats.mLastTimeVisible = beginTime + proto.readLong( in parseUsageStats()
313 stats.mLastTimeVisible, beginTime); in writeUsageStats()
DUserUsageStatsService.java1003 formatDateTime(usageStats.mLastTimeVisible, prettyDates)); in printIntervalStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java263 assertEquals(us1.mLastTimeVisible, us2.mLastTimeVisible); in compareUsageStats()