Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java148 assertEquals(left.mLastTimeVisible, 200000); in testActivity()
156 assertEquals(left.mLastTimeVisible, 350000); in testActivity()
163 assertEquals(left.mLastTimeVisible, 400000); in testActivity()
170 assertEquals(left.mLastTimeVisible, 400000); in testActivity()
183 assertEquals(left.mLastTimeVisible, 100000);
189 assertEquals(left.mLastTimeVisible, 350000);
202 assertEquals(left.mLastTimeVisible, 100000);
207 assertEquals(left.mLastTimeVisible, 200000);
214 assertEquals(left.mLastTimeVisible, 300000);
221 assertEquals(left.mLastTimeVisible, 400000);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java76 public long mLastTimeVisible; field in UsageStats
154 mLastTimeVisible = stats.mLastTimeVisible; in UsageStats()
216 return mLastTimeVisible; in getLastTimeVisible()
308 mLastTimeVisible = Math.max(mLastTimeVisible, right.mLastTimeVisible); in add()
395 if (timeStamp > mLastTimeVisible) { in incrementTimeVisible()
396 mTotalTimeVisible += timeStamp - mLastTimeVisible; in incrementTimeVisible()
397 mLastTimeVisible = timeStamp; in incrementTimeVisible()
453 mLastTimeVisible = timeStamp; in updateActivity()
463 mLastTimeVisible = timeStamp; in updateActivity()
593 dest.writeLong(mLastTimeVisible); in writeToParcel()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java250 assertEquals(us1.mLastTimeVisible, us2.mLastTimeVisible); in compareUsageStats()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java98 stats.mLastTimeVisible = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats()
254 usageStats.mLastTimeVisible - stats.beginTime); in writeUsageStats()
DUsageStatsProto.java139 stats.mLastTimeVisible = statsOut.beginTime + proto.readLong( in loadUsageStats()
346 usageStats.mLastTimeVisible - stats.beginTime); in writeUsageStats()
DUserUsageStatsService.java847 formatDateTime(usageStats.mLastTimeVisible, prettyDates)); in printIntervalStats()