Searched refs:forceSuspend (Results 1 – 8 of 8) sorted by relevance
124 if (!pm.forceSuspend()) { in run()
113 boolean forceSuspend(); in forceSuspend() method
2775 public boolean forceSuspend() { in forceSuspend() method in PowerManager2777 return mService.forceSuspend(); in forceSuspend()
322 public boolean forceSuspend() { in forceSuspend() method in BridgePowerManager
251 getSuspendControlInternal()->forceSuspend(&retval); in nativeForceSuspend()
872 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()
6436 public boolean forceSuspend() {
9594 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();