Home
last modified time | relevance | path

Searched refs:setScreenOn (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java535 setScreenOn(true); in testStateActiveToStateInactive_ConditionsNotMet()
542 setScreenOn(false); in testStateActiveToStateInactive_ConditionsNotMet()
549 setScreenOn(true); in testStateActiveToStateInactive_ConditionsNotMet()
557 setScreenOn(true); in testStateActiveToStateInactive_ConditionsNotMet()
564 setScreenOn(true); in testStateActiveToStateInactive_ConditionsNotMet()
572 setScreenOn(true); in testStateActiveToStateInactive_ConditionsNotMet()
581 setScreenOn(false); in testStateActiveToStateInactive_ConditionsNotMet()
596 setScreenOn(true); in testLightStateActiveToLightStateInactive_ConditionsNotMet()
603 setScreenOn(false); in testLightStateActiveToLightStateInactive_ConditionsNotMet()
610 setScreenOn(true); in testLightStateActiveToLightStateInactive_ConditionsNotMet()
[all …]
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/
DBookStyleDeviceStatePolicyTest.java218 setScreenOn(true); in setup()
341 setScreenOn(false); in test_hingeAngleOpen_screenOff_reportsHalfFolded()
356 setScreenOn(false); in test_slowUnfoldingWithScreenOff_reportsEventsInOrder()
380 setScreenOn(false); in test_unfoldWithScreenOff_reportsHalfOpened()
501 setScreenOn(false); in test_unfoldTo30Degrees_screenOffRightSideFlat_switchesToHalfOpenState()
637 setScreenOn(false); in test_deviceClosed_screenIsOff_noSensorListeners()
649 setScreenOn(true); in test_deviceClosed_screenIsOn_doesNotListenForOneAccelerometer()
661 setScreenOn(true); in test_deviceOpened_screenIsOn_listensToSensors()
710 private void setScreenOn(boolean isOn) { in setScreenOn() method in BookStyleDeviceStatePolicyTest
DFoldableDeviceStateProviderTest.java440 setScreenOn(true); in isScreenOn_afterDisplayChangedToOn_returnsTrue()
451 setScreenOn(false); in isScreenOn_afterDisplayChangedToOff_returnsFalse()
462 setScreenOn(true); in isScreenOn_afterDisplayChangedToOnThenOff_returnsFalse()
463 setScreenOn(false); in isScreenOn_afterDisplayChangedToOnThenOff_returnsFalse()
608 private void setScreenOn(boolean isOn) { in setScreenOn() method in FoldableDeviceStateProviderTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/ui/binder/
DSmartspaceViewBinder.kt40 viewModel.isAwake.collect { isAwake -> smartspaceView.setScreenOn(isAwake) } in <lambda>()
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/
DBcSmartspaceDataPlugin.java134 default void setScreenOn(boolean screenOn) {} in setScreenOn() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt294 smartspaceViews.forEach { it.setScreenOn(true) } in <lambda>()
298 smartspaceViews.forEach { it.setScreenOn(false) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt812 verify(mockSmartspaceView).setScreenOn(true) in <lambda>()
829 verify(mockSmartspaceView).setScreenOn(false) in <lambda>()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java252 private void setScreenOn(boolean isScreenOn) { in setScreenOn() method in VrManagerService
716 VrManagerService.this.setScreenOn(isScreenOn); in onScreenStateChanged()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java254 mAttentionHelper.setScreenOn(false); in initAttentionHelper()
257 mAttentionHelper.setScreenOn(false); in initAttentionHelper()
1485 mAttentionHelper.setScreenOn(true); in testLightsScreenOn()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java1749 void setScreenOn(boolean on) { in setScreenOn() method in NotificationAttentionHelper