Searched refs:getPowerManager (Results 1 – 5 of 5) sorted by relevance
205 PowerManager mockedPowerManager = dozeParameters.getPowerManager(); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_false()215 PowerManager mockedPowerManager = dozeParameters.getPowerManager(); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()219 verify(dozeParameters.getPowerManager()).setDozeAfterScreenOff(eq(false)); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()240 protected PowerManager getPowerManager() { in getPowerManager() method in DozeParametersTest.TestableDozeParameters
190 private PowerManager getPowerManager() { in getPowerManager() method in BatterySaverController300 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged()374 final PowerManager pm = getPowerManager(); in updateBatterySavingStats()
199 getPowerManager().setDozeAfterScreenOff(!controlScreenOffAnimation); in setControlScreenOffAnimation()203 protected PowerManager getPowerManager() { in getPowerManager() method in DozeParameters
294 if (mService.isPowerStandbyOrTransient() || !mService.getPowerManager().isScreenOn()) { in wakeUpIfActiveSource()403 mWakeLock = mService.getPowerManager().newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in SystemWakeLock()
450 PowerManager getPowerManager() { in getPowerManager() method in HdmiControlService