Searched refs:getPowerManager (Results 1 – 8 of 8) sorted by relevance
203 PowerManager mockedPowerManager = dozeParameters.getPowerManager(); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_false()213 PowerManager mockedPowerManager = dozeParameters.getPowerManager(); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()217 verify(dozeParameters.getPowerManager()).setDozeAfterScreenOff(eq(false)); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()238 protected PowerManager getPowerManager() { in getPowerManager() method in DozeParametersTest.TestableDozeParameters
237 private PowerManager getPowerManager() { in getPowerManager() method in BatterySaverController425 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged()503 final PowerManager pm = getPowerManager(); in updateBatterySavingStats()
203 getPowerManager().setDozeAfterScreenOff(!controlScreenOffAnimation); in setControlScreenOffAnimation()207 protected PowerManager getPowerManager() { in getPowerManager() method in DozeParameters
239 if (mService.isPowerStandbyOrTransient() || !mService.getPowerManager().isScreenOn()) { in wakeUpIfActiveSource()380 mWakeLock = mService.getPowerManager().newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in SystemWakeLock()
536 PowerManager getPowerManager() { in getPowerManager() method in HdmiControlService
1714 return new AnyMotionDetector(getPowerManager(), handler, sm, callback, angleThreshold); in getAnyMotionDetector()1748 PowerManager getPowerManager() { in getPowerManager() method in DeviceIdleController.Injector1886 mPowerManager = mInjector.getPowerManager(); in onBootPhase()
168 PowerManager getPowerManager() { in getPowerManager() method in DeviceIdleControllerTest.InjectorForTest
986 HSPLcom/android/server/DeviceIdleController$Injector;->getPowerManager()Landroid/os/PowerManager;