Home
last modified time | relevance | path

Searched defs:timeBase (Results 1 – 10 of 10) 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()
93 TimeBase timeBase = new TimeBase(); in testRunning() local
114 TimeBase timeBase = new TimeBase(); in testParceling() local
159 TimeBase timeBase = new TimeBase(); in testResetNoDetach() local
182 TimeBase timeBase = new TimeBase(); in testResetDetach() local
205 TimeBase timeBase = new TimeBase(); in testSummaryParceling() local
248 TimeBase timeBase = new TimeBase(); in testGetTotalTimeLocked() local
273 TimeBase timeBase = new TimeBase(); in testGetCountLocked() local
294 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.java62 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testEndSampleAndContinueWhenTimeOrCountDecreases() local
105 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testFirstUpdateIsAbsorbed() local
147 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.java1322 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in getPartialTimers() local
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1464 public Counter(TimeBase timeBase, Parcel in) { in Counter()
1470 public Counter(TimeBase timeBase) { in Counter()
1510 public static Counter readCounterFromParcel(TimeBase timeBase, Parcel in) { in readCounterFromParcel()
1572 private LongSamplingCounterArray(TimeBase timeBase, Parcel in) { in LongSamplingCounterArray()
1578 public LongSamplingCounterArray(TimeBase timeBase) { in LongSamplingCounterArray()
1663 public static LongSamplingCounterArray readFromParcel(Parcel in, TimeBase timeBase) { in readFromParcel()
1682 TimeBase timeBase) { in readSummaryFromParcelLocked()
1699 public LongSamplingCounter(TimeBase timeBase, Parcel in) { in LongSamplingCounter()
1705 public LongSamplingCounter(TimeBase timeBase) { in LongSamplingCounter()
1799 public Timer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in Timer()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp442 constexpr nsecs_t timeBase = 100_years; in TEST_F() local