Searched refs:STATS_CURRENT (Results 1 – 5 of 5) sorted by relevance
285 tb.computeUptime(666, BatteryStats.STATS_CURRENT)); in testComputeUptime()304 tb.computeRealtime(6666, BatteryStats.STATS_CURRENT)); in testComputeRealtime()
602 Assert.assertEquals(8085-11118, serv.getLaunches(BatteryStats.STATS_CURRENT)); in testGetLaunches()640 serv.getStartTime(20000, BatteryStats.STATS_CURRENT)); in testGetStartTimeRunning()679 serv.getStartTime(20000, BatteryStats.STATS_CURRENT)); in testGetStartTimeNotRunning()714 Assert.assertEquals(4042-10017, serv.getStarts(BatteryStats.STATS_CURRENT)); in testGetStarts()
380 Assert.assertEquals(9800, timer.getTotalTimeLocked(66, BatteryStats.STATS_CURRENT)); in testGetTotalTimeLocked()418 Assert.assertEquals(9998, timer.getCountLocked(BatteryStats.STATS_CURRENT)); in testGetCountLocked()
711 case STATS_CURRENT: in computeUptime()723 case STATS_CURRENT: in computeRealtime()4680 if (which == STATS_CURRENT) { in getNumConnectivityChange()6838 if (which == STATS_CURRENT) { in getUserTime()6849 if (which == STATS_CURRENT) { in getSystemTime()6860 if (which == STATS_CURRENT) { in getForegroundTime()6871 if (which == STATS_CURRENT) { in getStarts()6882 if (which == STATS_CURRENT) { in getNumCrashes()6893 if (which == STATS_CURRENT) { in getNumAnrs()7215 if (which == STATS_CURRENT) { in getLaunches()[all …]
164 public static final int STATS_CURRENT = 1; field in BatteryStats