Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DLongSamplingCounterArrayTest.java67 @Mock private TimeBase mTimeBase; field in LongSamplingCounterArrayTest
73 mCounterArray = new LongSamplingCounterArray(mTimeBase); in setUp()
74 Mockito.reset(mTimeBase); in setUp()
123 when(mTimeBase.isRunning()).thenReturn(false); in testGetCountsLocked()
126 when(mTimeBase.isRunning()).thenReturn(true); in testGetCountsLocked()
144 when(mTimeBase.isRunning()).thenReturn(true); in testAddCountLocked()
175 verifyZeroInteractions(mTimeBase); in testReset()
181 verify(mTimeBase).remove(mCounterArray); in testReset()
182 verifyNoMoreInteractions(mTimeBase); in testReset()
188 verify(mTimeBase).remove(mCounterArray); in testDetach()
[all …]
H A DLongSamplingCounterTest.java56 private TimeBase mTimeBase; field in LongSamplingCounterTest
62 mCounter = new LongSamplingCounter(mTimeBase); in setUp()
63 Mockito.reset(mTimeBase); in setUp()
78 mCounter = new LongSamplingCounter(mTimeBase, parcel); in testReadWriteParcel()
119 when(mTimeBase.isRunning()).thenReturn(true); in testAddCountLocked()
125 when(mTimeBase.isRunning()).thenReturn(false); in testAddCountLocked()
143 verifyZeroInteractions(mTimeBase); in testReset()
150 verify(mTimeBase).remove(mCounter); in testReset()
151 verifyNoMoreInteractions(mTimeBase); in testReset()
157 verify(mTimeBase).remove(mCounter); in testDetach()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1538 final TimeBase mTimeBase; field in BatteryStatsImpl.Counter
1541 mTimeBase = timeBase; in Counter()
1547 mTimeBase = timeBase; in Counter()
1645 final TimeBase mTimeBase; field in BatteryStatsImpl.LongSamplingCounterArray
1649 mTimeBase = timeBase; in LongSamplingCounterArray()
1655 mTimeBase = timeBase; in LongSamplingCounterArray()
1772 final TimeBase mTimeBase; field in BatteryStatsImpl.LongSamplingCounter
1776 mTimeBase = timeBase; in LongSamplingCounter()
1782 mTimeBase = timeBase; in LongSamplingCounter()
1878 mTimeBase = timeBase; in Timer()
[all …]
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt76809 Lcom/android/internal/os/BatteryStatsImpl$Counter;->mTimeBase:Lcom/android/internal/os/BatteryStats…
76875 Lcom/android/internal/os/BatteryStatsImpl$LongSamplingCounter;->mTimeBase:Lcom/android/internal/os/…
76897 Lcom/android/internal/os/BatteryStatsImpl$LongSamplingCounterArray;->mTimeBase:Lcom/android/interna…
77020 Lcom/android/internal/os/BatteryStatsImpl$Timer;->mTimeBase:Lcom/android/internal/os/BatteryStatsIm…