/foundation/window/window_manager/test/systemtest/dms/ |
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, 395 ScreenPowerState stateToSet = ScreenPowerState::POWER_ON; 398 ScreenPowerState stateGet = ScreenManager::GetInstance().GetScreenPower(defaultId_);
|
/foundation/window/window_manager/dm/test/unittest/ |
D | display_power_unit_test.cpp | 44 static inline ScreenPowerState initialPowerState_; 243 EXPECT_CALL(m.Mock(), GetScreenPower(_)).Times(1).WillOnce(Return(ScreenPowerState::POWER_OFF)); 247 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF, 251 ScreenPowerState state = ScreenManager::GetInstance().GetScreenPower(defaultId_); 252 ASSERT_EQ(state, ScreenPowerState::POWER_OFF);
|
/foundation/window/window_manager/dmserver/include/ |
D | abstract_screen_controller.h | 76 …bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason, bool needToNotify… 77 ScreenPowerState GetScreenPower(ScreenId dmsScreenId) const; 154 ScreenPowerState powerState_ { ScreenPowerState::INVALID_STATE };
|
D | display_manager_proxy.h | 65 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override; 66 ScreenPowerState GetScreenPower(ScreenId dmsScreenId) override;
|
D | display_manager_interface.h | 125 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) = 0; 126 virtual ScreenPowerState GetScreenPower(ScreenId dmsScreenId) = 0;
|
D | display_manager_service.h | 82 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override; 83 ScreenPowerState GetScreenPower(ScreenId dmsScreenId) override;
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
D | screen_manager.h | 171 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason); 179 ScreenPowerState GetScreenPower(ScreenId screenId);
|
D | dm_common.h | 47 enum class ScreenPowerState : uint32_t { enum
|
/foundation/window/window_manager/window_scene/test/unittest/ |
D | screen_session_manager_test.cpp | 89 ScreenPowerState state = ScreenPowerState::POWER_ON;
|
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
D | screen_session_manager_interface.h | 70 …virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override … in SetScreenPowerForAll() 71 …virtual ScreenPowerState GetScreenPower(ScreenId dmsScreenId) override { return ScreenPowerState::… in GetScreenPower()
|
D | screen_session_manager_proxy.h | 53 … virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override; 54 virtual ScreenPowerState GetScreenPower(ScreenId dmsScreenId) override;
|
/foundation/window/window_manager/test/common/mock/ |
D | mock_display_manager_adapter.h | 66 MOCK_METHOD2(SetScreenPowerForAll, bool(ScreenPowerState state, PowerStateChangeReason reason)); 67 MOCK_METHOD1(GetScreenPower, ScreenPowerState(ScreenId dmsScreenId));
|
/foundation/window/window_manager/dm/include/ |
D | display_manager_adapter.h | 98 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason); 99 virtual ScreenPowerState GetScreenPower(ScreenId dmsScreenId);
|
/foundation/window/window_manager/dm/src/ |
D | display_manager_adapter.cpp | 157 bool ScreenManagerAdapter::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reas… in SetScreenPowerForAll() 163 ScreenPowerState ScreenManagerAdapter::GetScreenPower(ScreenId dmsScreenId) in GetScreenPower() 165 INIT_PROXY_CHECK_RETURN(ScreenPowerState::INVALID_STATE); in GetScreenPower()
|
D | screen_manager.cpp | 528 bool ScreenManager::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) in SetScreenPowerForAll() 534 ScreenPowerState ScreenManager::GetScreenPower(ScreenId dmsScreenId) in GetScreenPower()
|
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
D | screen_session_manager_proxy.cpp | 422 bool OHOS::Rosen::ScreenSessionManagerProxy::SetScreenPowerForAll(ScreenPowerState state, PowerStat… in SetScreenPowerForAll() 506 ScreenPowerState OHOS::Rosen::ScreenSessionManagerProxy::GetScreenPower(ScreenId dmsScreenId) in GetScreenPower() 511 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 519 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 523 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 528 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 530 return static_cast<ScreenPowerState>(reply.ReadUint32()); in GetScreenPower()
|
D | screen_session_manager_stub.cpp | 79 ScreenPowerState state = static_cast<ScreenPowerState>(data.ReadUint32()); in OnRemoteRequest()
|
/foundation/window/window_manager/dmserver/src/ |
D | abstract_screen_controller.cpp | 1348 bool AbstractScreenController::SetScreenPowerForAll(ScreenPowerState state, in SetScreenPowerForAll() 1360 case ScreenPowerState::POWER_ON: { in SetScreenPowerForAll() 1362 powerState_ = ScreenPowerState::POWER_ON; in SetScreenPowerForAll() 1365 case ScreenPowerState::POWER_OFF: { in SetScreenPowerForAll() 1367 powerState_ = ScreenPowerState::POWER_OFF; in SetScreenPowerForAll() 1397 state == ScreenPowerState::POWER_ON ? DisplayPowerEvent::DISPLAY_ON : in SetScreenPowerForAll() 1403 ScreenPowerState AbstractScreenController::GetScreenPower(ScreenId dmsScreenId) const in GetScreenPower() 1409 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 1414 …auto state = static_cast<ScreenPowerState>(RSInterfaces::GetInstance().GetScreenPowerStatus(rsId)); in GetScreenPower()
|
D | display_manager_proxy.cpp | 622 bool DisplayManagerProxy::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reaso… in SetScreenPowerForAll() 647 ScreenPowerState DisplayManagerProxy::GetScreenPower(ScreenId dmsScreenId) in GetScreenPower() 654 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 658 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 663 return ScreenPowerState::INVALID_STATE; in GetScreenPower() 665 return static_cast<ScreenPowerState>(reply.ReadUint32()); in GetScreenPower()
|
D | display_manager_stub.cpp | 153 ScreenPowerState state = static_cast<ScreenPowerState>(data.ReadUint32()); in OnRemoteRequest()
|
D | display_manager_service.cpp | 437 bool DisplayManagerService::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason rea… in SetScreenPowerForAll() 447 ScreenPowerState DisplayManagerService::GetScreenPower(ScreenId dmsScreenId) in GetScreenPower()
|
/foundation/window/window_manager/previewer/include/ |
D | dm_common.h | 53 enum class ScreenPowerState : uint32_t { enum
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
D | screen_session_manager.h | 77 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override; 78 ScreenPowerState GetScreenPower(ScreenId screenId) override;
|
/foundation/window/window_manager/dmserver/test/unittest/ |
D | display_manager_service_test.cpp | 323 ScreenPowerState state = ScreenPowerState::POWER_ON;
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
D | screen_session_manager.cpp | 557 bool ScreenSessionManager::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reas… in SetScreenPowerForAll() 567 case ScreenPowerState::POWER_ON: { in SetScreenPowerForAll() 571 case ScreenPowerState::POWER_OFF: { in SetScreenPowerForAll() 585 …return NotifyDisplayPowerEvent(state == ScreenPowerState::POWER_ON ? DisplayPowerEvent::DISPLAY_ON… in SetScreenPowerForAll() 609 ScreenPowerState ScreenSessionManager::GetScreenPower(ScreenId screenId) in GetScreenPower() 611 …auto state = static_cast<ScreenPowerState>(RSInterfaces::GetInstance().GetScreenPowerStatus(screen… in GetScreenPower()
|