Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java203 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
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java237 private PowerManager getPowerManager() { in getPowerManager() method in BatterySaverController
425 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged()
503 final PowerManager pm = getPowerManager(); in updateBatterySavingStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java203 getPowerManager().setDozeAfterScreenOff(!controlScreenOffAnimation); in setControlScreenOffAnimation()
207 protected PowerManager getPowerManager() { in getPowerManager() method in DozeParameters
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java239 if (mService.isPowerStandbyOrTransient() || !mService.getPowerManager().isScreenOn()) { in wakeUpIfActiveSource()
380 mWakeLock = mService.getPowerManager().newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in SystemWakeLock()
DHdmiControlService.java536 PowerManager getPowerManager() { in getPowerManager() method in HdmiControlService
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1714 return new AnyMotionDetector(getPowerManager(), handler, sm, callback, angleThreshold); in getAnyMotionDetector()
1748 PowerManager getPowerManager() { in getPowerManager() method in DeviceIdleController.Injector
1886 mPowerManager = mInjector.getPowerManager(); in onBootPhase()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java168 PowerManager getPowerManager() { in getPowerManager() method in DeviceIdleControllerTest.InjectorForTest
/frameworks/base/services/
Dart-profile986 HSPLcom/android/server/DeviceIdleController$Injector;->getPowerManager()Landroid/os/PowerManager;