Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A 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 …]
H A 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
H A 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
H A DBatteryStatsCounterTest.java34 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCounter() local
74 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
H A DBatteryStatsDualTimerTest.java35 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach() local
H A DBatteryStatsStopwatchTimerTest.java35 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCount() local
H A DBatteryStatsSensorTest.java432 BatteryStatsImpl.TimeBase timeBase = bi.getOnBatteryTimeBase(); in testSensorResetTimes() local
H A DBatteryStatsCpuTimesTest.java1322 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in getPartialTimers() local
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java912 DisplayBatteryStats(Clocks clocks, TimeBase timeBase) { in DisplayBatteryStats()
1540 public Counter(TimeBase timeBase, Parcel in) { in Counter()
1546 public Counter(TimeBase timeBase) { in Counter()
1654 public LongSamplingCounterArray(TimeBase timeBase) { in LongSamplingCounterArray()
1758 TimeBase timeBase) { in readSummaryFromParcelLocked()
1781 public LongSamplingCounter(TimeBase timeBase) { in LongSamplingCounter()
2396 TimeBase timeBase, Parcel in) { in DurationTimer()
2404 TimeBase timeBase) { in DurationTimer()
2607 TimeBase timeBase, Parcel in) { in StopwatchTimer()
2615 TimeBase timeBase) { in StopwatchTimer()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DVSyncPredictorTest.cpp442 constexpr nsecs_t timeBase = 100_years; in TEST_F() local