Searched defs:timeBase (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsTimerTest.java | 44 TestTimer(Clock clock, int type, TimeBase timeBase, Parcel in) { in TestTimer() 48 TestTimer(Clock clock, 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 …]
|
D | BatteryStatsDurationTimerTest.java | 38 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
|
D | BatteryStatsSamplingTimerTest.java | 61 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testEndSampleAndContinueWhenTimeOrCountDecreases() local 111 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testFirstUpdateIsAbsorbed() local 153 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testSampleTimerSummaryParceling() local
|
D | BatteryStatsCounterTest.java | 34 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCounter() local 74 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling() local
|
D | BatteryStatsDualTimerTest.java | 35 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach() local
|
D | BatteryStatsStopwatchTimerTest.java | 35 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCount() local
|
D | BatteryStatsSensorTest.java | 444 BatteryStatsImpl.TimeBase timeBase = bi.getOnBatteryTimeBase(); in testSensorResetTimes() local
|
D | BatteryStatsCpuTimesTest.java | 1407 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in getPartialTimers() local
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 1029 DisplayBatteryStats(Clock clock, TimeBase timeBase) { in DisplayBatteryStats() 1168 RadioAccessTechnologyBatteryStats(int freqCount, Clock clock, TimeBase timeBase) { in RadioAccessTechnologyBatteryStats() 1380 final TimeBase timeBase = perStateTimers[0][0].mTimeBase; in getTxDurationCounter() local 1407 final TimeBase timeBase = perStateTimers[0][0].mTimeBase; in getRxDurationCounter() local 2326 public Counter(TimeBase timeBase, Parcel in) { in Counter() 2332 public Counter(TimeBase timeBase) { in Counter() 2404 private LongSamplingCounterArray(TimeBase timeBase, Parcel in) { in LongSamplingCounterArray() 2410 public LongSamplingCounterArray(TimeBase timeBase) { in LongSamplingCounterArray() 2495 public static LongSamplingCounterArray readFromParcel(Parcel in, TimeBase timeBase) { in readFromParcel() 2514 TimeBase timeBase) { in readSummaryFromParcelLocked() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncPredictorTest.cpp | 499 constexpr nsecs_t timeBase = 100_years; in TEST_F() local
|