Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java238 private PowerManager getPowerManager() { in getPowerManager() method in BatterySaverController
430 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged()
509 final PowerManager pm = getPowerManager(); in updateBatterySavingStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTestable.java55 public PowerManager getPowerManager() { in getPowerManager() method in RecoverySystemServiceTestable.MockInjector
/frameworks/base/services/core/java/com/android/server/hdmi/
DOneTouchPlayAction.java98 if (!mSource.mService.getPowerManager().isInteractive()) { in start()
DHdmiCecLocalDeviceSource.java149 if (mService.getPowerManager().isInteractive()) { in toggleAndFollowTvPower()
DHdmiCecLocalDevicePlayback.java710 mWakeLock = mService.getPowerManager().newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in SystemWakeLock()
DHdmiControlService.java1149 PowerManagerWrapper getPowerManager() { in getPowerManager() method in HdmiControlService
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceHibernationTests.kt81 override fun getPowerManager(context: Context?): PowerManager { in setup() method
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java154 public PowerManager getPowerManager(Context context) { in PackageDexOptimizer()
176 PowerManager powerManager = injector.getPowerManager(context); in PackageDexOptimizer()
914 PowerManager getPowerManager(Context context); in getPowerManager() method
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java285 public PowerManager getPowerManager() { in getPowerManager() method in RecoverySystemService.Injector
549 PowerManager pm = mInjector.getPowerManager(); in rebootRecoveryWithCommand()
954 PowerManager pm = mInjector.getPowerManager(); in rebootWithLskfImpl()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2482 return new AnyMotionDetector(getPowerManager(), handler, sm, callback, angleThreshold); in getAnyMotionDetector()
2541 PowerManager getPowerManager() { in getPowerManager() method in DeviceIdleController.Injector
2692 mPowerManager = mInjector.getPowerManager(); in onBootPhase()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java233 PowerManager getPowerManager() { in getPowerManager() method in DeviceIdleControllerTest.InjectorForTest
/frameworks/base/services/
Dart-wear-profile2084 PLcom/android/server/DeviceIdleController$Injector;->getPowerManager()Landroid/os/PowerManager;
18408 HSPLcom/android/server/pm/PackageDexOptimizer$1;->getPowerManager(Landroid/content/Context;)Landroi…