Home
last modified time | relevance | path

Searched refs:mTimeBase (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DLongSamplingCounterArrayTest.java53 @Mock private TimeBase mTimeBase; field in LongSamplingCounterArrayTest
59 mCounterArray = new LongSamplingCounterArray(mTimeBase); in setUp()
60 Mockito.reset(mTimeBase); in setUp()
72 mCounterArray = LongSamplingCounterArray.readFromParcel(parcel, mTimeBase); in testReadWriteParcel()
86 mCounterArray = LongSamplingCounterArray.readSummaryFromParcelLocked(parcel, mTimeBase); in testReadWriteSummaryParcel()
109 when(mTimeBase.isRunning()).thenReturn(false); in testGetCountsLocked()
112 when(mTimeBase.isRunning()).thenReturn(true); in testGetCountsLocked()
130 when(mTimeBase.isRunning()).thenReturn(true); in testAddCountLocked()
161 verifyNoMoreInteractions(mTimeBase); in testReset()
167 verify(mTimeBase).remove(mCounterArray); in testReset()
[all …]
DLongSamplingCounterTest.java55 private TimeBase mTimeBase; field in LongSamplingCounterTest
61 mCounter = new LongSamplingCounter(mTimeBase); in setUp()
62 Mockito.reset(mTimeBase); in setUp()
77 mCounter = new LongSamplingCounter(mTimeBase, parcel); in testReadWriteParcel()
118 when(mTimeBase.isRunning()).thenReturn(true); in testAddCountLocked()
124 when(mTimeBase.isRunning()).thenReturn(false); in testAddCountLocked()
142 verifyNoMoreInteractions(mTimeBase); in testReset()
149 verify(mTimeBase).remove(mCounter); in testReset()
150 verifyNoMoreInteractions(mTimeBase); in testReset()
156 verify(mTimeBase).remove(mCounter); in testDetach()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java1380 final TimeBase timeBase = perStateTimers[0][0].mTimeBase; in getTxDurationCounter()
1407 final TimeBase timeBase = perStateTimers[0][0].mTimeBase; in getRxDurationCounter()
2324 final TimeBase mTimeBase; field in BatteryStatsImpl.Counter
2327 mTimeBase = timeBase; in Counter()
2333 mTimeBase = timeBase; in Counter()
2360 if (mTimeBase.isRunning()) { in stepAtomic()
2366 if (mTimeBase.isRunning()) { in addAtomic()
2385 mTimeBase.remove(this); in detach()
2401 final TimeBase mTimeBase; field in BatteryStatsImpl.LongSamplingCounterArray
2405 mTimeBase = timeBase; in LongSamplingCounterArray()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt72843 Lcom/android/internal/os/BatteryStatsImpl$Counter;->mTimeBase:Lcom/android/internal/os/BatteryStats…
72909 Lcom/android/internal/os/BatteryStatsImpl$LongSamplingCounter;->mTimeBase:Lcom/android/internal/os/…
72931 Lcom/android/internal/os/BatteryStatsImpl$LongSamplingCounterArray;->mTimeBase:Lcom/android/interna…
73054 Lcom/android/internal/os/BatteryStatsImpl$Timer;->mTimeBase:Lcom/android/internal/os/BatteryStatsIm…