Home
last modified time | relevance | path

Searched defs:timeBase (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsTimerTest.java44 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in TestTimer()
48 TestTimer(Clocks clocks, int type, TimeBase timeBase) { in TestTimer()
92 TimeBase timeBase = new TimeBase(); in testRunning() local
113 TimeBase timeBase = new TimeBase(); in testParceling() local
158 TimeBase timeBase = new TimeBase(); in testResetNoDetach() local
181 TimeBase timeBase = new TimeBase(); in testResetDetach() local
204 TimeBase timeBase = new TimeBase(); in testSummaryParceling() local
247 TimeBase timeBase = new TimeBase(); in testGetTotalTimeLocked() local
272 TimeBase timeBase = new TimeBase(); in testGetCountLocked() local
293 TimeBase timeBase = new TimeBase(); in testGetTimeSinceMarked() local
[all …]
DBatteryStatsDurationTimerTest.java38 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testStartStop() local
110 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testReset() local
146 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetAndDetach() local
173 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
DBatteryStatsSamplingTimerTest.java60 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testEndSampleAndContinueWhenTimeOrCountDecreases() local
103 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testFirstUpdateIsAbsorbed() local
145 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testSampleTimerSummaryParceling() local
DBatteryStatsCounterTest.java34 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCounter() local
74 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
DBatteryStatsDualTimerTest.java35 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach() local
DBatteryStatsStopwatchTimerTest.java35 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCount() local
DBatteryStatsSensorTest.java432 BatteryStatsImpl.TimeBase timeBase = bi.getOnBatteryTimeBase(); in testSensorResetTimes() local
DBatteryStatsCpuTimesTest.java1323 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in getPartialTimers() local
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1337 public Counter(TimeBase timeBase, Parcel in) { in Counter()
1343 public Counter(TimeBase timeBase) { in Counter()
1382 public static @Nullable Counter readCounterFromParcel(TimeBase timeBase, Parcel in) { in readCounterFromParcel()
1444 private LongSamplingCounterArray(TimeBase timeBase, Parcel in) { in LongSamplingCounterArray()
1450 public LongSamplingCounterArray(TimeBase timeBase) { in LongSamplingCounterArray()
1535 public static LongSamplingCounterArray readFromParcel(Parcel in, TimeBase timeBase) { in readFromParcel()
1554 TimeBase timeBase) { in readSummaryFromParcelLocked()
1571 public LongSamplingCounter(TimeBase timeBase, Parcel in) { in LongSamplingCounter()
1577 public LongSamplingCounter(TimeBase timeBase) { in LongSamplingCounter()
1671 public Timer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in Timer()
[all …]