Searched defs:timeBase (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsTimerTest.java | 43 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 …]
|
D | BatteryStatsSamplingTimerTest.java | 58 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
|
D | BatteryStatsCounterTest.java | 32 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCounter() local 80 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
|
D | BatteryStatsDurationTimerTest.java | 36 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testStartStop() local 109 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
|
D | BatteryStatsDualTimerTest.java | 33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach() local
|
D | BatteryStatsStopwatchTimerTest.java | 33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCount() local
|
D | BatteryStatsSensorTest.java | 430 BatteryStatsImpl.TimeBase timeBase = bi.getOnBatteryTimeBase(); in testSensorResetTimes() local
|
D | BatteryStatsCpuTimesTest.java | 1309 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in getPartialTimers() local
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1280 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 …]
|