/foundation/window/window_manager/dm_lite/test/unittest/ |
H A D | display_lite_power_unit_test.cpp | 57 ScreenManagerLite::GetInstance().SetScreenPowerForAll(initialPowerState_, PowerStateChangeReason::POWER_BUTTON); in TearDown() 157 * @tc.desc: Call SetScreenPowerForAll with valid value and check the GetScreenPower return value 164 EXPECT_CALL(m.Mock(), SetScreenPowerForAll(_, PowerStateChangeReason::POWER_BUTTON)) in HWTEST_F() 167 bool ret = ScreenManagerLite::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF, in HWTEST_F()
|
/foundation/window/window_manager/interfaces/innerkits/dm_lite/ |
H A D | screen_manager_lite.h | 82 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/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 | 70 MOCK_METHOD2(SetScreenPowerForAll, bool(ScreenPowerState state, PowerStateChangeReason reason));
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | display_power_unit_test.cpp | 64 ScreenManager::GetInstance().SetScreenPowerForAll(initialPowerState_, PowerStateChangeReason::POWER_BUTTON);
in TearDown() 237 * @tc.desc: Call SetScreenPowerForAll with valid value and check the GetScreenPower return value
244 EXPECT_CALL(m.Mock(), SetScreenPowerForAll(_, PowerStateChangeReason::POWER_BUTTON))
in HWTEST_F() 247 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF,
in HWTEST_F()
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_power_test.cpp | 325 * @tc.desc: Call SetScreenPowerForAll OFF and check the OnDisplayPowerEvent callback is called
330 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF,
in HWTEST_F() 341 * @tc.desc: Call SetScreenPowerForAll ON and check the OnDisplayPowerEvent callback is called
346 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_ON,
in HWTEST_F() 357 * @tc.desc: Call SetScreenPowerForAll with an invalid value and check the return value
362 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::INVALID_STATE,
in HWTEST_F() 400 * @tc.desc: Call SetScreenPowerForAll ON and check the GetScreenPower return value
406 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(stateToSet, PowerStateChangeReason::POWER_BUTTON);
in HWTEST_F()
|
/foundation/window/window_manager/dm_lite/src/ |
H A D | display_manager_adapter_lite.cpp | 249 bool ScreenManagerAdapterLite::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerAdapterLite 253 return displayManagerServiceProxy_->SetScreenPowerForAll(state, reason);
in SetScreenPowerForAll()
|
H A D | screen_manager_lite.cpp | 206 bool ScreenManagerLite::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerLite 209 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetScreenPowerForAll(state, reason);
in SetScreenPowerForAll()
|
/foundation/window/window_manager/dm_lite/include/ |
H A D | display_manager_lite_proxy.h | 68 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
H A D | display_manager_adapter_lite.h | 89 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_test.cpp | 539 * @tc.name: SetScreenPowerForAll 540 * @tc.desc: SetScreenPowerForAll test 543 HWTEST_F(ScreenSessionManagerTest, SetScreenPowerForAll, Function | SmallTest | Level3) in HWTEST_F() 560 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason)); in HWTEST_F() 563 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason)); in HWTEST_F() 566 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason)); in HWTEST_F() 569 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason)); in HWTEST_F() 572 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason)); in HWTEST_F() 576 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(state, reason)); in HWTEST_F() 579 ASSERT_EQ(true, ssm_->SetScreenPowerForAll(stat in HWTEST_F() [all...] |
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | screen_manager.h | 246 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_proxy.h | 76 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
|
H A D | abstract_screen_controller.h | 76 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason, bool needToNotify = true);
|
H A D | display_manager_service.h | 84 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
|
H A D | display_manager_interface.h | 124 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) = 0;
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_screen_controller_test.cpp | 883 HWTEST_F(AbstractScreenControllerTest, SetScreenPowerForAll, Function | SmallTest | Level3) in HWTEST_F() 885 ASSERT_EQ(false, absController_->SetScreenPowerForAll(ScreenPowerState::POWER_ON, in HWTEST_F() 893 ASSERT_EQ(false, absController_->SetScreenPowerForAll(ScreenPowerState::INVALID_STATE, in HWTEST_F() 896 ASSERT_EQ(false, absController_->SetScreenPowerForAll(ScreenPowerState::POWER_OFF, in HWTEST_F()
|
H A D | display_manager_proxy_test.cpp | 713 * @tc.name: SetScreenPowerForAll 714 * @tc.desc: test DisplayManagerProxy::SetScreenPowerForAll 717 HWTEST_F(DisplayManagerProxyTest, SetScreenPowerForAll, Function | SmallTest | Level1) in HWTEST_F() 725 auto result1 = proxy1.SetScreenPowerForAll(state, reason); in HWTEST_F() 729 auto result2 = proxy1.SetScreenPowerForAll(state, reason); in HWTEST_F()
|
/foundation/window/window_manager/dmserver/src/ |
H A D | display_manager_service.cpp | 444 bool DisplayManagerService::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerForAll() function in OHOS::Rosen::DisplayManagerService 446 WLOGFI("[UL_POWER]SetScreenPowerForAll");
in SetScreenPowerForAll() 451 return abstractScreenController_->SetScreenPowerForAll(state, reason);
in SetScreenPowerForAll()
|
/foundation/window/window_manager/dm/src/ |
H A D | display_manager_adapter.cpp | 279 bool ScreenManagerAdapter::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManagerAdapter 282 return displayManagerServiceProxy_->SetScreenPowerForAll(state, reason);
in SetScreenPowerForAll()
|
H A D | screen_manager.cpp | 611 bool ScreenManager::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerForAll() function in OHOS::Rosen::ScreenManager 614 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenPowerForAll(state, reason);
in SetScreenPowerForAll()
|
/foundation/window/window_manager/dm/include/ |
H A D | display_manager_adapter.h | 116 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/foundation/window/window_manager/test/fuzztest/dms/screenmanager_fuzzer/ |
H A D | screenmanager_fuzzer.cpp | 84 screenManager.SetScreenPowerForAll(static_cast<ScreenPowerState>(screenPowerState), in ScreenPowerFuzzTest()
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/ |
H A D | screen_session_manager_interface.h | 96 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override { return false; }
|
H A D | screen_session_manager_proxy.h | 68 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
|