Home
last modified time | relevance | path

Searched refs:screenPowerStatus_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen_manager.cpp240 if (screenPowerStatus_.empty()) { in IsAllScreensPowerOff()
243 for (const auto &[id, powerStatus] : screenPowerStatus_) { in IsAllScreensPowerOff()
505 auto screenPowerStatusIt = screenPowerStatus_.find(id); in ProcessScreenHotPlugEvents()
659 screenPowerStatus_.erase(id); in ProcessScreenDisConnectedLocked()
1346 if (screenPowerStatus_.count(id) == 0 || in SetScreenPowerStatus()
1347 screenPowerStatus_[id] == ScreenPowerStatus::POWER_STATUS_OFF || in SetScreenPowerStatus()
1348 screenPowerStatus_[id] == ScreenPowerStatus::POWER_STATUS_OFF_FAKE || in SetScreenPowerStatus()
1349 screenPowerStatus_[id] == ScreenPowerStatus::POWER_STATUS_OFF_ADVANCED) { in SetScreenPowerStatus()
1357 screenPowerStatus_[id] = status; in SetScreenPowerStatus()
2143 if (screenPowerStatus_.count(id) == 0) { in IsScreenPowerOff()
[all …]
H A Drs_screen_manager.h533 std::unordered_map<ScreenId, uint32_t> screenPowerStatus_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/
H A Drs_screen_manager_test.cpp1094 ASSERT_EQ(screenManagerImpl.screenPowerStatus_.count(screenId), 0);
1113 ASSERT_EQ(screenManagerImpl.screenPowerStatus_[screenId], ScreenPowerStatus::POWER_STATUS_ON);
1134 ASSERT_EQ(screenManagerImpl.screenPowerStatus_[screenId], POWER_STATUS_ON);
1136 ASSERT_EQ(screenManagerImpl.screenPowerStatus_[screenId], POWER_STATUS_ON_ADVANCED);
1138 ASSERT_EQ(screenManagerImpl.screenPowerStatus_[screenId], POWER_STATUS_OFF);
1140 ASSERT_EQ(screenManagerImpl.screenPowerStatus_[screenId], POWER_STATUS_OFF_ADVANCED);
2095 screenManagerImpl.screenPowerStatus_[id] = GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON;
2097 …screenManagerImpl.screenPowerStatus_[id] = GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON_ADVANCE…
2099 screenManagerImpl.screenPowerStatus_[id] = GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_OFF;
2101 screenManagerImpl.screenPowerStatus_[id] = GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_SUSPEND;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_util_test.cpp1489 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_ON;
1491 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_ON_ADVANCED;
1493 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_SUSPEND;
1495 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_OFF;
1516 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_ON;
1519 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_ON_ADVANCED;
1522 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_SUSPEND;
1525 screenManagerImpl.screenPowerStatus_[screenId] = ScreenPowerStatus::POWER_STATUS_OFF;