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.aidl24 int forceSuspend(int timeoutMs); in forceSuspend() method
DCarServiceHelperService.java605 public int forceSuspend(int timeoutMs) { in forceSuspend() method in CarServiceHelperService.ICarServiceHelperImpl
/frameworks/base/core/java/android/os/
DIPowerManager.aidl85 boolean forceSuspend(); in forceSuspend() method
DPowerManager.java1940 public boolean forceSuspend() { in forceSuspend() method in PowerManager
1942 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.java205 public boolean forceSuspend() { in forceSuspend() method in BridgePowerManager
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java509 boolean retval = mService.getBinderServiceInstance().forceSuspend(); in testForceSuspend_putsDeviceToSleep()
561 assertThat(mService.getBinderServiceInstance().forceSuspend()).isTrue(); in testForceSuspend_pakeLocksDisabled()
570 assertThat(mService.getBinderServiceInstance().forceSuspend()).isFalse(); in testForceSuspend_forceSuspendFailurePropogated()
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp298 getSuspendControl()->forceSuspend(&retval); in nativeForceSuspend()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4825 public boolean forceSuspend() { in forceSuspend() method in PowerManagerService.BinderService
/frameworks/base/api/
Dsystem-current.txt6107 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();
/frameworks/base/non-updatable-api/
Dsystem-current.txt6013 …method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();