Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java387 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000 - 200000);
404 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000 - 100000);
422 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000 - 100000);
440 assertEquals(left.mTotalTimeForegroundServiceUsed, 250000 /*350000 - 100000*/);
446 assertEquals(left.mTotalTimeForegroundServiceUsed, 250000);
451 assertEquals(left.mTotalTimeForegroundServiceUsed,
473 assertEquals(left.mTotalTimeForegroundServiceUsed, 250000 /*350000 - 100000*/);
478 assertEquals(left.mTotalTimeForegroundServiceUsed,
483 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000);
517 assertEquals(left.mTotalTimeForegroundServiceUsed, 300000 /*400000 - 100000*/);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java108 public long mTotalTimeForegroundServiceUsed; field in UsageStats
170 mTotalTimeForegroundServiceUsed = stats.mTotalTimeForegroundServiceUsed; in UsageStats()
259 return mTotalTimeForegroundServiceUsed; in getTotalTimeForegroundServiceUsed()
328 mTotalTimeForegroundServiceUsed += right.mTotalTimeForegroundServiceUsed; in add()
420 mTotalTimeForegroundServiceUsed += in incrementServiceTimeUsed()
621 dest.writeLong(mTotalTimeForegroundServiceUsed); in writeToParcel()
675 stats.mTotalTimeForegroundServiceUsed = in.readLong();
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java119 stats.mTotalTimeForegroundServiceUsed = XmlUtils.readLongAttribute(parser, in loadUsageStats()
DUsageStatsProto.java138 stats.mTotalTimeForegroundServiceUsed = proto.readLong( in loadUsageStats()
342 usageStats.mTotalTimeForegroundServiceUsed); in writeUsageStats()
DUsageStatsProtoV2.java82 stats.mTotalTimeForegroundServiceUsed = proto.readLong( in parseUsageStats()
311 stats.mTotalTimeForegroundServiceUsed); in writeUsageStats()
DUserUsageStatsService.java1005 formatElapsedTime(usageStats.mTotalTimeForegroundServiceUsed, prettyDates)); in printIntervalStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java267 assertEquals(us1.mTotalTimeForegroundServiceUsed, us2.mTotalTimeForegroundServiceUsed); in compareUsageStats()