Searched refs:mLastTimeForegroundServiceUsed (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 380 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/ |
D | UsageStats.java | 102 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/ |
D | UsageStatsXmlV1.java | 104 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats()
|
D | UsageStatsProto.java | 134 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + proto.readLong( in loadUsageStats() 340 usageStats.mLastTimeForegroundServiceUsed, stats.beginTime); in writeUsageStats()
|
D | UsageStatsProtoV2.java | 78 stats.mLastTimeForegroundServiceUsed = beginTime + proto.readLong( in parseUsageStats() 309 stats.mLastTimeForegroundServiceUsed, beginTime); in writeUsageStats()
|
D | UserUsageStatsService.java | 1007 formatDateTime(usageStats.mLastTimeForegroundServiceUsed, prettyDates)); in printIntervalStats()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 266 assertEquals(us1.mLastTimeForegroundServiceUsed, us2.mLastTimeForegroundServiceUsed); in compareUsageStats()
|