Searched refs:subTimeBase (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsDualTimerTest.java | 37 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/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 3777 TimeBase timeBase, TimeBase subTimeBase, Parcel in) { in DualTimer() argument 3779 mSubTimer = new DurationTimer(clock, uid, type, null, subTimeBase, in); in DualTimer() 3789 TimeBase timeBase, TimeBase subTimeBase) { in DualTimer() argument 3791 mSubTimer = new DurationTimer(clock, uid, type, null, subTimeBase); in DualTimer()
|