Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/hdmi/
DPowerManagerWrapper.java42 void goToSleep(long time, int reason, int flags) { in goToSleep() method in PowerManagerWrapper
43 mPowerManager.goToSleep(time, reason, flags); in goToSleep()
DHdmiControlService.java3778 … mPowerManager.goToSleep(SystemClock.uptimeMillis(), PowerManager.GO_TO_SLEEP_REASON_HDMI, 0); in standby()
4118 mPowerManager.goToSleep(SystemClock.uptimeMillis(), in setStandbyMode()
/frameworks/base/services/core/java/com/android/server/policy/
DSideFpsEventHandler.java124 goToSleep(mLastPowerPressTime); in onClick()
176 private void goToSleep(long eventTime) { in goToSleep() method in SideFpsEventHandler
177 mPowerManager.goToSleep( in goToSleep()
DPhoneWindowManager.java1287 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/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/services/tests/servicestests/src/com/android/server/hdmi/
DFakePowerManagerWrapper.java57 void goToSleep(long time, int reason, int flags) { in goToSleep() method in FakePowerManagerWrapper
/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.java1497 public void goToSleep(long time) { in goToSleep() method in PowerManager
1498 goToSleep(time, GO_TO_SLEEP_REASON_APPLICATION, 0); in goToSleep()
1530 public void goToSleep(long time, int reason, int flags) { in goToSleep() method in PowerManager
1532 mService.goToSleep(time, reason, flags); in goToSleep()
1567 public void goToSleep(int displayId, long time, @GoToSleepReason int reason, int flags) { in goToSleep() method in PowerManager
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java167 public void goToSleep(long arg0, int arg1, int arg2) throws RemoteException { in goToSleep() method in BridgePowerManager
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java418 mService.getBinderServiceInstance().goToSleep(mClock.now(), in forceSleep()
432 mService.getBinderServiceInstance().goToSleep(mClock.now(), in forceDozing()
534 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_NoDozeSleepFlag()
549 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_NoWakelocks()
565 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessAwakeShowKeyguard_SoftSleepFlag_NoWakelocks()
589 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithPartialWakelock()
612 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithFullWakelock()
635 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithScreenBrightWakelock()
657 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessSleep_SoftSleepFlag_WithScreenDimWakelock()
1004 mService.getBinderServiceInstance().goToSleep(mClock.now(), in testWakefulnessDoze_goToSleep()
[all …]
/frameworks/base/services/core/java/com/android/server/adaptiveauth/
DAdaptiveAuthService.java294 mPowerManager.goToSleep(SystemClock.uptimeMillis()); in lockDevice()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java266 pm.goToSleep(SystemClock.uptimeMillis()); in turnScreenOff()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java405 mContext.getSystemService(PowerManager.class).goToSleep(SystemClock.uptimeMillis(), in lockScreen()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java281 services.powerManager.goToSleep(time, reason, flags); in powerManagerGoToSleep()
DMockSystemServices.java456 public void goToSleep(long time, int reason, int flags) { in goToSleep() method in MockSystemServices.PowerManagerForMock
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DTestPhoneWindowManager.java676 verify(mPowerManager).goToSleep(anyLong(), anyInt(), anyInt()); in assertPowerSleep()
687 verify(mPowerManager, never()).goToSleep(anyLong(), anyInt(), anyInt()); in assertNoPowerSleep()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayMapperTest.java718 verify(mIPowerManagerMock, atLeastOnce()).goToSleep(anyLong(), anyInt(), in testDeviceShouldPutToSleepWhenSleepSettingTrue()
729 verify(mIPowerManagerMock, atLeastOnce()).goToSleep(anyLong(), anyInt(), in testDeviceShouldPutToSleepWhenFoldSettingSelective()
740 verify(mIPowerManagerMock, never()).goToSleep(anyLong(), anyInt(), in testDeviceShouldNotBePutToSleepWhenSleepSettingFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java511 mContext.getSystemService(PowerManager.class).goToSleep(SystemClock.uptimeMillis(), in handleLockScreen()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java448 pm.goToSleep(SystemClock.uptimeMillis());
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java522 mPowerManager.goToSleep(SystemClock.uptimeMillis(), in setDeviceStateLocked()
/frameworks/base/core/api/
Dremoved.txt200 method public void goToSleep(long);
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6039 public void goToSleep(long eventTime, int reason, int flags) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1900 mContext.getSystemService(PowerManager.class).goToSleep(time, reason, flags); in powerManagerGoToSleep()

12