Home
last modified time | relevance | path

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

/frameworks/opt/car/services/src/com/android/internal/car/
DICarServiceHelper.aidl28 int forceSuspend(int timeoutMs); in forceSuspend() method
DCarServiceHelperService.java1218 public int forceSuspend(int timeoutMs) { in forceSuspend() method in CarServiceHelperService.ICarServiceHelperImpl
/frameworks/base/core/java/android/os/
DIPowerManager.aidl99 boolean forceSuspend(); in forceSuspend() method
DPowerManager.java2179 public boolean forceSuspend() { in forceSuspend() method in PowerManager
2181 return mService.forceSuspend(); in forceSuspend()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java124 if (!pm.forceSuspend()) { in run()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java245 public boolean forceSuspend() { in forceSuspend() method in BridgePowerManager
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java602 boolean retval = mService.getBinderServiceInstance().forceSuspend(); in testForceSuspend_putsDeviceToSleep()
654 assertThat(mService.getBinderServiceInstance().forceSuspend()).isTrue(); in testForceSuspend_pakeLocksDisabled()
663 assertThat(mService.getBinderServiceInstance().forceSuspend()).isFalse(); in testForceSuspend_forceSuspendFailurePropogated()
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp518 getSuspendControl()->forceSuspend(&retval); in nativeForceSuspend()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java5348 public boolean forceSuspend() {
/frameworks/base/non-updatable-api/
Dsystem-current.txt7271 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();
/frameworks/base/api/
Dsystem-current.txt8351 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();