Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java368 assertEquals(left.mLastTimeForegroundServiceUsed, 200000);
373 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
385 assertEquals(left.mLastTimeForegroundServiceUsed, 100000);
390 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
402 assertEquals(left.mLastTimeForegroundServiceUsed, 100000);
407 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
420 assertEquals(left.mLastTimeForegroundServiceUsed, 100000);
426 assertEquals(left.mLastTimeForegroundServiceUsed, 350000);
431 assertEquals(left.mLastTimeForegroundServiceUsed, 450000);
437 assertEquals(left.mLastTimeForegroundServiceUsed, 500000);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java95 public long mLastTimeForegroundServiceUsed; field in UsageStats
155 mLastTimeForegroundServiceUsed = stats.mLastTimeForegroundServiceUsed; in UsageStats()
240 return mLastTimeForegroundServiceUsed; in getLastTimeForegroundServiceUsed()
309 mLastTimeForegroundServiceUsed = Math.max(mLastTimeForegroundServiceUsed, in add()
310 right.mLastTimeForegroundServiceUsed); in add()
407 if (timeStamp > mLastTimeForegroundServiceUsed) { in incrementServiceTimeUsed()
409 timeStamp - mLastTimeForegroundServiceUsed; in incrementServiceTimeUsed()
410 mLastTimeForegroundServiceUsed = timeStamp; in incrementServiceTimeUsed()
506 mLastTimeForegroundServiceUsed = timeStamp; in updateForegroundService()
556 mLastTimeForegroundServiceUsed = timeStamp; in update()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java253 assertEquals(us1.mLastTimeForegroundServiceUsed, us2.mLastTimeForegroundServiceUsed); in compareUsageStats()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java105 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats()
256 usageStats.mLastTimeForegroundServiceUsed - stats.beginTime); in writeUsageStats()
DUsageStatsProto.java130 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + proto.readLong( in loadUsageStats()
341 usageStats.mLastTimeForegroundServiceUsed - stats.beginTime); in writeUsageStats()
DUserUsageStatsService.java852 formatDateTime(usageStats.mLastTimeForegroundServiceUsed, prettyDates)); in printIntervalStats()