/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | PowerManagerWrapper.java | 42 void goToSleep(long time, int reason, int flags) { in goToSleep() method in PowerManagerWrapper 43 mPowerManager.goToSleep(time, reason, flags); in goToSleep()
|
D | HdmiControlService.java | 3778 … 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/ |
D | SideFpsEventHandler.java | 124 goToSleep(mLastPowerPressTime); in onClick() 176 private void goToSleep(long eventTime) { in goToSleep() method in SideFpsEventHandler 177 mPowerManager.goToSleep( in goToSleep()
|
D | PhoneWindowManager.java | 1287 mPowerManager.goToSleep(eventTime, reason, flags); in sleepDefaultDisplay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | RestartDozeListenerTest.kt | 85 verify(powerManager).goToSleep(clock.uptimeMillis()) in testRestoreDozeState_dozingShouldStart() 95 verify(powerManager, never()).goToSleep(anyLong()) in testRestoreDozeState_dozingShouldNotStart()
|
/frameworks/base/core/proto/android/os/ |
D | powermanager.proto | 59 // 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/ |
D | FakePowerManagerWrapper.java | 57 void goToSleep(long time, int reason, int flags) { in goToSleep() method in FakePowerManagerWrapper
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | RestartDozeListener.kt | 77 powerManager.goToSleep(systemClock.uptimeMillis()) in maybeRestartSleep()
|
/frameworks/base/core/java/android/os/ |
D | IPowerManager.aidl | 50 void goToSleep(long time, int reason, int flags); in goToSleep() method
|
D | PowerManager.java | 1497 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/ |
D | BridgePowerManager.java | 167 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/ |
D | PowerManagerServiceTest.java | 418 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/ |
D | AdaptiveAuthService.java | 294 mPowerManager.goToSleep(SystemClock.uptimeMillis()); in lockDevice()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 266 pm.goToSleep(SystemClock.uptimeMillis()); in turnScreenOff()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | SystemActionPerformer.java | 405 mContext.getSystemService(PowerManager.class).goToSleep(SystemClock.uptimeMillis(), in lockScreen()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 281 services.powerManager.goToSleep(time, reason, flags); in powerManagerGoToSleep()
|
D | MockSystemServices.java | 456 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/ |
D | TestPhoneWindowManager.java | 676 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/ |
D | LogicalDisplayMapperTest.java | 718 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/ |
D | SystemActions.java | 511 mContext.getSystemService(PowerManager.class).goToSleep(SystemClock.uptimeMillis(), in handleLockScreen()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 448 pm.goToSleep(SystemClock.uptimeMillis());
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplayMapper.java | 522 mPowerManager.goToSleep(SystemClock.uptimeMillis(), in setDeviceStateLocked()
|
/frameworks/base/core/api/ |
D | removed.txt | 200 method public void goToSleep(long);
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 6039 public void goToSleep(long eventTime, int reason, int flags) {
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1900 mContext.getSystemService(PowerManager.class).goToSleep(time, reason, flags); in powerManagerGoToSleep()
|