Searched refs:subTimeBase (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsDualTimerTest.java | 35 final BatteryStatsImpl.TimeBase subTimeBase = new BatteryStatsImpl.TimeBase(); in testResetDetach() local 36 subTimeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime()); in testResetDetach() 39 null, BatteryStats.WAKE_TYPE_PARTIAL, null, timeBase, subTimeBase); in testResetDetach() 42 assertFalse(subTimeBase.hasObserver(timer)); in testResetDetach() 44 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach() 51 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 2670 TimeBase timeBase, TimeBase subTimeBase, Parcel in) { in DualTimer() argument 2672 mSubTimer = new DurationTimer(clocks, uid, type, null, subTimeBase, in); in DualTimer() 2682 TimeBase timeBase, TimeBase subTimeBase) { in DualTimer() argument 2684 mSubTimer = new DurationTimer(clocks, uid, type, null, subTimeBase); in DualTimer()
|