Searched refs:TimeBase (Results 1 – 13 of 13) sorted by relevance
28 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 …]
33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach()35 final BatteryStatsImpl.TimeBase subTimeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach()
36 public TimeBase getOnBatteryTimeBase() { in getOnBatteryTimeBase()44 public TimeBase getOnBatteryBackgroundTimeBase(int uid) { in getOnBatteryBackgroundTimeBase()48 public TimeBase getOnBatteryScreenOffBackgroundTimeBase(int uid) { in getOnBatteryScreenOffBackgroundTimeBase()
32 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()
36 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testStartStop()109 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling()
32 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCounter()80 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testParceling()
33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); in testCount()
22 import static com.android.internal.os.BatteryStatsImpl.TimeBase;68 @Mock private TimeBase mTimeBase;
42 BatteryStatsImpl.TimeBase bgtb = bi.getOnBatteryBackgroundTimeBase(UID); in testBgTimeBase()110 BatteryStatsImpl.TimeBase bgtb = bi.getOnBatteryScreenOffBackgroundTimeBase(UID); in testScreenOffBgTimeBase()
38 static class TestTimeBase extends BatteryStatsImpl.TimeBase {
282 protected final TimeBase mOnBatteryTimeBase = new TimeBase();286 final TimeBase mOnBatteryScreenOffTimeBase = new TimeBase();647 public static class TimeBase { class in BatteryStatsImpl852 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 …]
3198 Lcom/android/internal/os/BatteryStatsImpl$TimeBase;
5358 com.android.internal.os.BatteryStatsImpl$TimeBase