Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java375 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000 - 200000);
392 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000 - 100000);
410 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000 - 100000);
428 assertEquals(left.mTotalTimeForegroundServiceUsed, 250000 /*350000 - 100000*/);
434 assertEquals(left.mTotalTimeForegroundServiceUsed, 250000);
439 assertEquals(left.mTotalTimeForegroundServiceUsed,
461 assertEquals(left.mTotalTimeForegroundServiceUsed, 250000 /*350000 - 100000*/);
466 assertEquals(left.mTotalTimeForegroundServiceUsed,
471 assertEquals(left.mTotalTimeForegroundServiceUsed, 350000);
505 assertEquals(left.mTotalTimeForegroundServiceUsed, 300000 /*400000 - 100000*/);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java101 public long mTotalTimeForegroundServiceUsed; field in UsageStats
158 mTotalTimeForegroundServiceUsed = stats.mTotalTimeForegroundServiceUsed; in UsageStats()
247 return mTotalTimeForegroundServiceUsed; in getTotalTimeForegroundServiceUsed()
316 mTotalTimeForegroundServiceUsed += right.mTotalTimeForegroundServiceUsed; in add()
408 mTotalTimeForegroundServiceUsed += in incrementServiceTimeUsed()
597 dest.writeLong(mTotalTimeForegroundServiceUsed); in writeToParcel()
651 stats.mTotalTimeForegroundServiceUsed = in.readLong();
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java254 assertEquals(us1.mTotalTimeForegroundServiceUsed, us2.mTotalTimeForegroundServiceUsed); in compareUsageStats()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java120 stats.mTotalTimeForegroundServiceUsed = XmlUtils.readLongAttribute(parser, in loadUsageStats()
261 usageStats.mTotalTimeForegroundServiceUsed); in writeUsageStats()
DUsageStatsProto.java134 stats.mTotalTimeForegroundServiceUsed = proto.readLong( in loadUsageStats()
343 usageStats.mTotalTimeForegroundServiceUsed); in writeUsageStats()
DUserUsageStatsService.java849 formatElapsedTime(usageStats.mTotalTimeForegroundServiceUsed, prettyDates)); in printIntervalStats()