Home
last modified time | relevance | path

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

/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java125 if (!pm.forceSuspend()) { in run()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl149 boolean forceSuspend(); in forceSuspend() method
DPowerManager.java3038 public boolean forceSuspend() { in forceSuspend() method in PowerManager
3040 return mService.forceSuspend(); in forceSuspend()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java387 public boolean forceSuspend() { in forceSuspend() method in BridgePowerManager
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp244 getSuspendControlInternal()->forceSuspend(&retval); in nativeForceSuspend()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java1043 boolean retval = mService.getBinderServiceInstance().forceSuspend(); in testForceSuspend_putsDeviceToSleep()
1094 assertThat(mService.getBinderServiceInstance().forceSuspend()).isTrue(); in testForceSuspend_wakeLocksDisabled()
1104 assertThat(mService.getBinderServiceInstance().forceSuspend()).isFalse(); in testForceSuspend_forceSuspendFailurePropagated()
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt1026 RequiresPermission: android.os.PowerManager#forceSuspend():
1027 Method 'forceSuspend' documentation mentions permissions already declared by @RequiresPermission
Dtest-lint-baseline.txt1182 RequiresPermission: android.os.PowerManager#forceSuspend():
1183 Method 'forceSuspend' documentation mentions permissions already declared by @RequiresPermission
Dsystem-lint-baseline.txt1110 RequiresPermission: android.os.PowerManager#forceSuspend():
1111 Method 'forceSuspend' documentation mentions permissions already declared by @RequiresPermission
Dsystem-current.txt10999 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6894 public boolean forceSuspend() {