Home
last modified time | relevance | path

Searched refs:TimeBase (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsTimerTest.java28 import com.android.internal.os.BatteryStatsImpl.TimeBase;
43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in TestTimer()
47 TestTimer(Clocks clocks, int type, TimeBase timeBase) { in TestTimer()
139 TimeBase timeBase = new TimeBase(); in testRunning()
164 TimeBase timeBase = new TimeBase(); in testParceling()
221 TimeBase timeBase = new TimeBase(); in testResetNoDetach()
256 TimeBase timeBase = new TimeBase(); in testResetDetach()
291 TimeBase timeBase = new TimeBase(); in testSummaryParceling()
352 TimeBase timeBase = new TimeBase(); in testGetTotalTimeLocked()
394 TimeBase timeBase = new TimeBase(); in testGetCountLocked()
[all …]
DBatteryStatsDualTimerTest.java33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach()
35 final BatteryStatsImpl.TimeBase subTimeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach()
DMockBatteryStatsImpl.java36 public TimeBase getOnBatteryTimeBase() { in getOnBatteryTimeBase()
44 public TimeBase getOnBatteryBackgroundTimeBase(int uid) { in getOnBatteryBackgroundTimeBase()
48 public TimeBase getOnBatteryScreenOffBackgroundTimeBase(int uid) { in getOnBatteryScreenOffBackgroundTimeBase()
DBatteryStatsSamplingTimerTest.java32 Mockito.mock(BatteryStatsImpl.TimeBase.class)); in testSettingStalePreservesData()
58 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testEndSampleAndContinueWhenTimeOrCountDecreases()
101 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); in testFirstUpdateIsAbsorbed()
143 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testSampleTimerSummaryParceling()
DBatteryStatsDurationTimerTest.java36 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testStartStop()
109 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling()
DBatteryStatsCounterTest.java32 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCounter()
80 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling()
DBatteryStatsStopwatchTimerTest.java33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCount()
DLongSamplingCounterArrayTest.java22 import static com.android.internal.os.BatteryStatsImpl.TimeBase;
68 @Mock private TimeBase mTimeBase;
DBatteryStatsBackgroundStatsTest.java42 BatteryStatsImpl.TimeBase bgtb = bi.getOnBatteryBackgroundTimeBase(UID); in testBgTimeBase()
110 BatteryStatsImpl.TimeBase bgtb = bi.getOnBatteryScreenOffBackgroundTimeBase(UID); in testScreenOffBgTimeBase()
DBatteryStatsTimeBaseTest.java38 static class TestTimeBase extends BatteryStatsImpl.TimeBase {
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java282 protected final TimeBase mOnBatteryTimeBase = new TimeBase();
286 final TimeBase mOnBatteryScreenOffTimeBase = new TimeBase();
647 public static class TimeBase { class in BatteryStatsImpl
852 final TimeBase mTimeBase;
857 public Counter(TimeBase timeBase, Parcel in) { in Counter()
866 public Counter(TimeBase timeBase) { in Counter()
966 final TimeBase mTimeBase;
972 private LongSamplingCounterArray(TimeBase timeBase, Parcel in) { in LongSamplingCounterArray()
981 public LongSamplingCounterArray(TimeBase timeBase) { in LongSamplingCounterArray()
1072 public static LongSamplingCounterArray readFromParcel(Parcel in, TimeBase timeBase) { in readFromParcel()
[all …]
/frameworks/base/services/
Dprofile-classes3198 Lcom/android/internal/os/BatteryStatsImpl$TimeBase;
/frameworks/base/
Dcompiled-classes-phone5358 com.android.internal.os.BatteryStatsImpl$TimeBase