Searched refs:forceSuspend (Results 1 – 11 of 11) sorted by relevance
125 if (!pm.forceSuspend()) { in run()
149 boolean forceSuspend(); in forceSuspend() method
3038 public boolean forceSuspend() { in forceSuspend() method in PowerManager3040 return mService.forceSuspend(); in forceSuspend()
387 public boolean forceSuspend() { in forceSuspend() method in BridgePowerManager
244 getSuspendControlInternal()->forceSuspend(&retval); in nativeForceSuspend()
1043 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()
1026 RequiresPermission: android.os.PowerManager#forceSuspend():1027 Method 'forceSuspend' documentation mentions permissions already declared by @RequiresPermission
1182 RequiresPermission: android.os.PowerManager#forceSuspend():1183 Method 'forceSuspend' documentation mentions permissions already declared by @RequiresPermission
1110 RequiresPermission: android.os.PowerManager#forceSuspend():1111 Method 'forceSuspend' documentation mentions permissions already declared by @RequiresPermission
10999 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();
6894 public boolean forceSuspend() {