/ohos5.0/foundation/window/window_manager/dm_lite/test/unittest/ |
H A D | display_lite_power_unit_test.cpp | 57 …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 D | display_manager_lite_proxy_test.cpp | 367 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 D | display_power_test.cpp | 330 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 D | display_power_unit_test.cpp | 64 …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 D | display_manager_adapter_lite.cpp | 244 bool ScreenManagerAdapterLite::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason … in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerAdapterLite 248 return displayManagerServiceProxy_->SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
|
H A D | screen_manager_lite.cpp | 301 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 D | screen_manager_lite.h | 108 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/ohos5.0/foundation/window/window_manager/test/common/mock/ |
H A D | mock_display_manager_adapter_lite.h | 51 MOCK_METHOD2(SetScreenPowerForAll, bool(ScreenPowerState state, PowerStateChangeReason reason));
|
H A D | mock_display_manager_adapter.h | 69 MOCK_METHOD2(SetScreenPowerForAll, bool(ScreenPowerState state, PowerStateChangeReason reason));
|
/ohos5.0/foundation/window/window_manager/dm_lite/include/ |
H A D | display_manager_lite_proxy.h | 67 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
H A D | display_manager_adapter_lite.h | 88 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_test.cpp | 168 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 D | screen_manager.h | 225 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_screen_controller_test.cpp | 883 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 D | display_manager_proxy.h | 76 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
|
H A D | display_manager_service.h | 85 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
|
H A D | abstract_screen_controller.h | 76 …bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason, bool needToNotify…
|
H A D | display_manager_interface.h | 119 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) = 0;
|
/ohos5.0/base/powermgr/display_manager/state_manager/service/native/src/ |
H A D | screen_action.cpp | 188 ret = Rosen::ScreenManagerLite::GetInstance().SetScreenPowerForAll(status, changeReason); in SetDisplayPower()
|
/ohos5.0/base/powermgr/power_manager/services/native/src/shutdown/ |
H A D | shutdown_controller.cpp | 185 …bool ret = Rosen::ScreenManagerLite::GetInstance().SetScreenPowerForAll(Rosen::ScreenPowerState::P… in TurnOffScreen()
|
/ohos5.0/foundation/window/window_manager/dm/src/ |
H A D | display_manager_adapter.cpp | 281 bool ScreenManagerAdapter::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reas… in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerAdapter 284 return displayManagerServiceProxy_->SetScreenPowerForAll(state, reason); in SetScreenPowerForAll()
|
H A D | screen_manager.cpp | 591 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 D | display_manager_adapter.h | 120 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | display_manager_service.cpp | 447 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 D | screen_session_manager_proxy.h | 66 … virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
|