Home
last modified time | relevance | path

Searched refs:subTimeBase (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDualTimerTest.java37 final BatteryStatsImpl.TimeBase subTimeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach() local
38 subTimeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime()); in testResetDetach()
41 null, BatteryStats.WAKE_TYPE_PARTIAL, null, timeBase, subTimeBase); in testResetDetach()
44 assertFalse(subTimeBase.hasObserver(timer)); in testResetDetach()
46 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
53 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2577 TimeBase timeBase, TimeBase subTimeBase, Parcel in) { in DualTimer() argument
2579 mSubTimer = new DurationTimer(clocks, uid, type, null, subTimeBase, in); in DualTimer()
2589 TimeBase timeBase, TimeBase subTimeBase) { in DualTimer() argument
2591 mSubTimer = new DurationTimer(clocks, uid, type, null, subTimeBase); in DualTimer()