Home
last modified time | relevance | path

Searched refs:getPowerManager (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java205 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
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java190 private PowerManager getPowerManager() { in getPowerManager() method in BatterySaverController
300 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged()
374 final PowerManager pm = getPowerManager(); in updateBatterySavingStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java199 getPowerManager().setDozeAfterScreenOff(!controlScreenOffAnimation); in setControlScreenOffAnimation()
203 protected PowerManager getPowerManager() { in getPowerManager() method in DozeParameters
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java294 if (mService.isPowerStandbyOrTransient() || !mService.getPowerManager().isScreenOn()) { in wakeUpIfActiveSource()
403 mWakeLock = mService.getPowerManager().newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in SystemWakeLock()
DHdmiControlService.java450 PowerManager getPowerManager() { in getPowerManager() method in HdmiControlService