Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java380 assertEquals(left.mLastTimeForegroundServiceUsed, 200000);
385 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
397 assertEquals(left.mLastTimeForegroundServiceUsed, 100000);
402 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
414 assertEquals(left.mLastTimeForegroundServiceUsed, 100000);
419 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
432 assertEquals(left.mLastTimeForegroundServiceUsed, 100000);
438 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
443 assertEquals(left.mLastTimeForegroundServiceUsed, 450000);
449 assertEquals(left.mLastTimeForegroundServiceUsed, 500000);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java102 public long mLastTimeForegroundServiceUsed; field in UsageStats
167 mLastTimeForegroundServiceUsed = stats.mLastTimeForegroundServiceUsed; in UsageStats()
252 return mLastTimeForegroundServiceUsed; in getLastTimeForegroundServiceUsed()
321 mLastTimeForegroundServiceUsed = Math.max(mLastTimeForegroundServiceUsed, in add()
322 right.mLastTimeForegroundServiceUsed); in add()
419 if (timeStamp > mLastTimeForegroundServiceUsed) { in incrementServiceTimeUsed()
421 timeStamp - mLastTimeForegroundServiceUsed; in incrementServiceTimeUsed()
422 mLastTimeForegroundServiceUsed = timeStamp; in incrementServiceTimeUsed()
518 mLastTimeForegroundServiceUsed = timeStamp; in updateForegroundService()
568 mLastTimeForegroundServiceUsed = timeStamp; in update()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java104 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats()
DUsageStatsProto.java134 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + proto.readLong( in loadUsageStats()
340 usageStats.mLastTimeForegroundServiceUsed, stats.beginTime); in writeUsageStats()
DUsageStatsProtoV2.java78 stats.mLastTimeForegroundServiceUsed = beginTime + proto.readLong( in parseUsageStats()
309 stats.mLastTimeForegroundServiceUsed, beginTime); in writeUsageStats()
DUserUsageStatsService.java1007 formatDateTime(usageStats.mLastTimeForegroundServiceUsed, prettyDates)); in printIntervalStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java266 assertEquals(us1.mLastTimeForegroundServiceUsed, us2.mLastTimeForegroundServiceUsed); in compareUsageStats()