Home
last modified time | relevance | path

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

/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java124 if (!pm.forceSuspend()) { in run()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl113 boolean forceSuspend(); in forceSuspend() method
DPowerManager.java2775 public boolean forceSuspend() { in forceSuspend() method in PowerManager
2777 return mService.forceSuspend(); in forceSuspend()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java322 public boolean forceSuspend() { in forceSuspend() method in BridgePowerManager
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp251 getSuspendControlInternal()->forceSuspend(&retval); in nativeForceSuspend()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java872 boolean retval = mService.getBinderServiceInstance().forceSuspend(); in testForceSuspend_putsDeviceToSleep()
923 assertThat(mService.getBinderServiceInstance().forceSuspend()).isTrue(); in testForceSuspend_wakeLocksDisabled()
933 assertThat(mService.getBinderServiceInstance().forceSuspend()).isFalse(); in testForceSuspend_forceSuspendFailurePropagated()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6436 public boolean forceSuspend() {
/frameworks/base/core/api/
Dsystem-current.txt9594 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();