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.java43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in TestTimer()
47 TestTimer(Clocks clocks, int type, TimeBase timeBase) { in TestTimer()
139 TimeBase timeBase = new TimeBase(); in testRunning() local
164 TimeBase timeBase = new TimeBase(); in testParceling() local
221 TimeBase timeBase = new TimeBase(); in testResetNoDetach() local
256 TimeBase timeBase = new TimeBase(); in testResetDetach() local
291 TimeBase timeBase = new TimeBase(); in testSummaryParceling() local
352 TimeBase timeBase = new TimeBase(); in testGetTotalTimeLocked() local
394 TimeBase timeBase = new TimeBase(); in testGetCountLocked() local
430 TimeBase timeBase = new TimeBase(); in testGetTimeSinceMarked() local
[all …]
DBatteryStatsSamplingTimerTest.java58 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testEndSampleAndContinueWhenTimeOrCountDecreases() local
101 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testFirstUpdateIsAbsorbed() local
143 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testSampleTimerSummaryParceling() local
DBatteryStatsCounterTest.java32 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCounter() local
80 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
DBatteryStatsDurationTimerTest.java36 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testStartStop() local
109 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
DBatteryStatsDualTimerTest.java33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach() local
DBatteryStatsStopwatchTimerTest.java33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCount() local
DBatteryStatsSensorTest.java430 BatteryStatsImpl.TimeBase timeBase = bi.getOnBatteryTimeBase(); in testSensorResetTimes() local
DBatteryStatsCpuTimesTest.java1309 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in getPartialTimers() local
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1280 public Counter(TimeBase timeBase, Parcel in) { in Counter()
1289 public Counter(TimeBase timeBase) { in Counter()
1332 public static @Nullable Counter readCounterFromParcel(TimeBase timeBase, Parcel in) { in readCounterFromParcel()
1407 private LongSamplingCounterArray(TimeBase timeBase, Parcel in) { in LongSamplingCounterArray()
1415 public LongSamplingCounterArray(TimeBase timeBase) { in LongSamplingCounterArray()
1510 public static LongSamplingCounterArray readFromParcel(Parcel in, TimeBase timeBase) { in readFromParcel()
1529 TimeBase timeBase) { in readSummaryFromParcelLocked()
1576 public LongSamplingCounter(TimeBase timeBase, Parcel in) { in LongSamplingCounter()
1585 public LongSamplingCounter(TimeBase timeBase) { in LongSamplingCounter()
1724 public Timer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in Timer()
[all …]