Searched refs:getOnBatteryScreenOffTimeBase (Results 1 – 3 of 3) sorted by relevance
469 assertFalse(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked()471 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked()473 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked()489 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked()494 assertFalse(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked()499 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked()504 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked()510 assertFalse(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked()516 assertFalse(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked()538 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked_multiDisplay()[all …]
115 public TimeBase getOnBatteryScreenOffTimeBase() { in getOnBatteryScreenOffTimeBase() method in MockBatteryStatsImpl
336 mBatteryStats.getOnBatteryScreenOffTimeBase().setRunning(!mScreenOn, 0, 0);