Home
last modified time | relevance | path

Searched refs:SetScreenPowerForAll (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/foundation/window/window_manager/dm_lite/test/unittest/
H A Ddisplay_lite_power_unit_test.cpp57 …ScreenManagerLite::GetInstance().SetScreenPowerForAll(initialPowerState_, PowerStateChangeReason::… in TearDown()
164 EXPECT_CALL(m.Mock(), SetScreenPowerForAll(_, PowerStateChangeReason::POWER_BUTTON))
167 bool ret = ScreenManagerLite::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF,
H A Ddisplay_manager_lite_proxy_test.cpp367 HWTEST_F(DisplayManagerLiteProxyTest, SetScreenPowerForAll, Function | SmallTest | Level1)
378 EXPECT_EQ(expectation, displayManagerLiteProxy->SetScreenPowerForAll(state, reason));
380 EXPECT_NE(expectation, displayManagerLiteProxy->SetScreenPowerForAll(state, reason));
/ohos5.0/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_power_test.cpp330 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF,
346 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_ON,
362 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::INVALID_STATE,
406 …bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(stateToSet, PowerStateChangeReason::P…
/ohos5.0/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_power_unit_test.cpp64 …ScreenManager::GetInstance().SetScreenPowerForAll(initialPowerState_, PowerStateChangeReason::POWE… in TearDown()
244 EXPECT_CALL(m.Mock(), SetScreenPowerForAll(_, PowerStateChangeReason::POWER_BUTTON))
247 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF,
/ohos5.0/foundation/window/window_manager/dm_lite/src/
H A Ddisplay_manager_adapter_lite.cpp244 bool ScreenManagerAdapterLite::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason … in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerAdapterLite
248 return displayManagerServiceProxy_->SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
H A Dscreen_manager_lite.cpp301 bool ScreenManagerLite::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerLite
304 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/dm_lite/
H A Dscreen_manager_lite.h108 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
/ohos5.0/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter_lite.h51 MOCK_METHOD2(SetScreenPowerForAll, bool(ScreenPowerState state, PowerStateChangeReason reason));
H A Dmock_display_manager_adapter.h69 MOCK_METHOD2(SetScreenPowerForAll, bool(ScreenPowerState state, PowerStateChangeReason reason));
/ohos5.0/foundation/window/window_manager/dm_lite/include/
H A Ddisplay_manager_lite_proxy.h67 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
H A Ddisplay_manager_adapter_lite.h88 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_test.cpp168 HWTEST_F(ScreenSessionManagerTest, SetScreenPowerForAll, Function | SmallTest | Level3)
185 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason));
188 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason));
191 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason));
194 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason));
197 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason));
201 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason));
204 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason));
249 ASSERT_EQ(false, ssm_->SetScreenPowerForAll(state, reason));
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen_manager.h225 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_screen_controller_test.cpp883 HWTEST_F(AbstractScreenControllerTest, SetScreenPowerForAll, Function | SmallTest | Level3)
885 ASSERT_EQ(false, absController_->SetScreenPowerForAll(ScreenPowerState::POWER_ON,
893 ASSERT_EQ(false, absController_->SetScreenPowerForAll(ScreenPowerState::INVALID_STATE,
896 ASSERT_EQ(false, absController_->SetScreenPowerForAll(ScreenPowerState::POWER_OFF,
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_proxy.h76 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
H A Ddisplay_manager_service.h85 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
H A Dabstract_screen_controller.h76 …bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason, bool needToNotify…
H A Ddisplay_manager_interface.h119 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) = 0;
/ohos5.0/base/powermgr/display_manager/state_manager/service/native/src/
H A Dscreen_action.cpp188 ret = Rosen::ScreenManagerLite::GetInstance().SetScreenPowerForAll(status, changeReason); in SetDisplayPower()
/ohos5.0/base/powermgr/power_manager/services/native/src/shutdown/
H A Dshutdown_controller.cpp185 …bool ret = Rosen::ScreenManagerLite::GetInstance().SetScreenPowerForAll(Rosen::ScreenPowerState::P… in TurnOffScreen()
/ohos5.0/foundation/window/window_manager/dm/src/
H A Ddisplay_manager_adapter.cpp281 bool ScreenManagerAdapter::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reas… in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerAdapter
284 return displayManagerServiceProxy_->SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
H A Dscreen_manager.cpp591 bool ScreenManager::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManager
594 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
/ohos5.0/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h120 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_service.cpp447 bool DisplayManagerService::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason rea… in SetScreenPowerForAll() function in OHOS::Rosen::DisplayManagerService
454 return abstractScreenController_->SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscreen_session_manager_proxy.h66 … virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;

12