Home
last modified time | relevance | path

Searched refs:goToSleep (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DPowerManagerWrapper.java43 void goToSleep(long time, int reason, int flags) { in goToSleep() method in PowerManagerWrapper
44 mPowerManager.goToSleep(time, reason, flags); in goToSleep()
DHdmiControlService.java3275 … mPowerManager.goToSleep(SystemClock.uptimeMillis(), PowerManager.GO_TO_SLEEP_REASON_HDMI, 0); in standby()
3520 mPowerManager.goToSleep(SystemClock.uptimeMillis(), in setStandbyMode()
/frameworks/base/services/core/java/com/android/server/policy/
DSideFpsEventHandler.java121 goToSleep(mLastPowerPressTime); in onClick()
171 private void goToSleep(long eventTime) { in goToSleep() method in SideFpsEventHandler
172 mPowerManager.goToSleep( in goToSleep()
DPhoneWindowManager.java1108 mPowerManager.goToSleep(eventTime, reason, flags); in sleepDefaultDisplay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DRestartDozeListenerTest.kt85 verify(powerManager).goToSleep(clock.uptimeMillis()) in testRestoreDozeState_dozingShouldStart()
95 verify(powerManager, never()).goToSleep(anyLong()) in testRestoreDozeState_dozingShouldNotStart()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DFakePowerManagerWrapper.java49 void goToSleep(long time, int reason, int flags) { in goToSleep() method in FakePowerManagerWrapper
/frameworks/base/core/proto/android/os/
Dpowermanager.proto59 // goToSleep(). When the user activity timeout expires, the device may
63 // ends the dream. The device goes to sleep when goToSleep() is called,
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DRestartDozeListener.kt77 powerManager.goToSleep(systemClock.uptimeMillis()) in maybeRestartSleep()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl50 void goToSleep(long time, int reason, int flags); in goToSleep() method
DPowerManager.java1503 public void goToSleep(long time) { in goToSleep() method in PowerManager
1504 goToSleep(time, GO_TO_SLEEP_REASON_APPLICATION, 0); in goToSleep()
1536 public void goToSleep(long time, int reason, int flags) { in goToSleep() method in PowerManager
1538 mService.goToSleep(time, reason, flags); in goToSleep()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java352 mService.getBinderServiceInstance().goToSleep(mClock.now(), in forceSleep()
366 mService.getBinderServiceInstance().goToSleep(mClock.now(), in forceDozing()
489 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_NoDozeSleepFlag()
502 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_NoWakelocks()
525 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithPartialWakelock()
548 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithFullWakelock()
571 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithScreenBrightWakelock()
593 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithScreenDimWakelock()
833 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessDoze_goToSleep()
1134 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java149 public void goToSleep(long arg0, int arg1, int arg2) throws RemoteException { in goToSleep() method in BridgePowerManager
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java385 mContext.getSystemService(PowerManager.class).goToSleep(SystemClock.uptimeMillis(), in lockScreen()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java265 pm.goToSleep(SystemClock.uptimeMillis()); in turnScreenOff()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java281 services.powerManager.goToSleep(time, reason, flags); in powerManagerGoToSleep()
DMockSystemServices.java420 public void goToSleep(long time, int reason, int flags) { in goToSleep() method in MockSystemServices.PowerManagerForMock
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java508 mContext.getSystemService(PowerManager.class).goToSleep(SystemClock.uptimeMillis(), in handleLockScreen()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java432 mPowerManager.goToSleep(SystemClock.uptimeMillis(), in setDeviceStateLocked()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java448 pm.goToSleep(SystemClock.uptimeMillis());
/frameworks/base/core/api/
Dremoved.txt262 method public void goToSleep(long);
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java5749 public void goToSleep(long eventTime, int reason, int flags) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1605 mContext.getSystemService(PowerManager.class).goToSleep(time, reason, flags); in powerManagerGoToSleep()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt36880 Landroid/os/IPowerManager$Stub$Proxy;->goToSleep(JII)V
/frameworks/base/services/
Dart-profile41491 HSPLcom/android/server/power/PowerManagerService$BinderService;->goToSleep(JII)V