Home
last modified time | relevance | path

Searched refs:ScreenPowerStatus (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/fold_screen_controller/
H A Dsingle_display_pocket_fold_policy.cpp269 ChangeScreenDisplayModePower(ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToMainWhenFoldScreenOn()
275 ChangeScreenDisplayModePower(ScreenPowerStatus::POWER_STATUS_ON); in ChangeScreenDisplayModeToMainWhenFoldScreenOn()
289 ChangeScreenDisplayModePower(ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToMainWhenFoldScreenOff()
337 ChangeScreenDisplayModePower(ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToFullWhenFoldScreenOn()
343 ChangeScreenDisplayModePower(ScreenPowerStatus::POWER_STATUS_ON); in ChangeScreenDisplayModeToFullWhenFoldScreenOn()
358 ChangeScreenDisplayModePower(ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToFullWhenFoldScreenOff()
403 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModePower(ScreenPowerStatus screenPowerStatu… in ChangeScreenDisplayModePower()
464 …RSInterfaces::GetInstance().SetScreenPowerStatus(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_O… in BootAnimationFinishPowerInit()
531 ScreenPowerStatus::POWER_STATUS_ON); in ChangeScreenDisplayModeToCoordination()
547 ScreenPowerStatus::POWER_STATUS_OFF); in CloseCoordinationScreen()
[all …]
H A Dsingle_display_fold_policy.cpp242 ChangeScreenDisplayModePower(SCREEN_ID_FULL, ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToMainWhenFoldScreenOn()
248 ChangeScreenDisplayModePower(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_ON); in ChangeScreenDisplayModeToMainWhenFoldScreenOn()
262 ChangeScreenDisplayModePower(SCREEN_ID_FULL, ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToMainWhenFoldScreenOff()
305 ChangeScreenDisplayModePower(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToFullWhenFoldScreenOn()
311 ChangeScreenDisplayModePower(SCREEN_ID_FULL, ScreenPowerStatus::POWER_STATUS_ON); in ChangeScreenDisplayModeToFullWhenFoldScreenOn()
326 ChangeScreenDisplayModePower(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeToFullWhenFoldScreenOff()
370 void SingleDisplayFoldPolicy::ChangeScreenDisplayModePower(ScreenId screenId, ScreenPowerStatus scr… in ChangeScreenDisplayModePower()
H A Ddual_display_fold_policy.cpp284 … ScreenSessionManager::GetInstance().SetScreenPowerForFold(ScreenPowerStatus::POWER_STATUS_OFF); in ChangeScreenDisplayModeInner()
295 … ScreenSessionManager::GetInstance().SetScreenPowerForFold(ScreenPowerStatus::POWER_STATUS_ON); in ChangeScreenDisplayModeInner()
319 ScreenSessionManager::GetInstance().SetScreenPower(ScreenPowerStatus::POWER_STATUS_ON, in ChangeScreenDisplayModeToCoordination()
333 ScreenPowerStatus::POWER_STATUS_ON); in ChangeScreenDisplayModeToCoordination()
386 ScreenPowerStatus::POWER_STATUS_OFF); in ExitCoordination()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/
H A Drs_screen_data.h37 const std::vector<RSScreenModeInfo>& supportModeInfo, ScreenPowerStatus powerStatus);
45 void SetPowerStatus(ScreenPowerStatus powerStatus);
50 ScreenPowerStatus GetPowerStatus() const;
58 ScreenPowerStatus powerStatus_ = INVALID_POWER_STATUS;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/
H A Drs_screen_data.cpp21 const std::vector<RSScreenModeInfo>& supportModeInfo, ScreenPowerStatus powerStatus) in RSScreenData()
42 void RSScreenData::SetPowerStatus(ScreenPowerStatus powerStatus) in SetPowerStatus()
63 ScreenPowerStatus RSScreenData::GetPowerStatus() const in GetPowerStatus()
136 supportModeInfo, static_cast<ScreenPowerStatus>(powerStatus)); in Unmarshalling()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_compatible_display_strategy.cpp37 interface.SetScreenPowerStatus(0, Rosen::ScreenPowerStatus::POWER_STATUS_OFF_FAKE); in Display()
38 … interface.SetScreenPowerStatus(config.screenId, Rosen::ScreenPowerStatus::POWER_STATUS_ON); in Display()
43 … interface.SetScreenPowerStatus(config.screenId, Rosen::ScreenPowerStatus::POWER_STATUS_ON); in Display()
H A Dboot_associative_display_strategy.cpp42 interface.SetScreenPowerStatus(defaultId, Rosen::ScreenPowerStatus::POWER_STATUS_OFF_FAKE); in Display()
44 interface.SetScreenPowerStatus(activeId, Rosen::ScreenPowerStatus::POWER_STATUS_ON); in Display()
H A Dboot_independent_display_strategy.cpp28 interface.SetScreenPowerStatus(config.screenId, Rosen::ScreenPowerStatus::POWER_STATUS_ON); in Display()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/
H A Drs_screen_manager_test.cpp1091 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1110 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1133 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1137 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_OFF);
1153 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1170 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1189 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1269 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1288 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
1311 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscreen_session_manager.h95 void HandlerSensor(ScreenPowerStatus status, PowerStateChangeReason reason);
224 bool SetScreenPower(ScreenPowerStatus status, PowerStateChangeReason reason);
225 void SetScreenPowerForFold(ScreenPowerStatus status);
226 void SetScreenPowerForFold(ScreenId screenId, ScreenPowerStatus status);
228 void CallRsSetScreenPowerStatusSync(ScreenId screenId, ScreenPowerStatus status);
229 void CallRsSetScreenPowerStatusSyncForFold(ScreenPowerStatus status);
230 void TryToRecoverFoldDisplayMode(ScreenPowerStatus status);
361 …bool GetPowerStatus(ScreenPowerState state, PowerStateChangeReason reason, ScreenPowerStatus& stat…
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscreen_session_manager.cpp1762 ScreenPowerStatus status; in SetSpecifiedScreenPower()
1765 status = ScreenPowerStatus::POWER_STATUS_ON; in SetSpecifiedScreenPower()
1769 status = ScreenPowerStatus::POWER_STATUS_OFF; in SetSpecifiedScreenPower()
1795 ScreenPowerStatus status; in SetScreenPowerForAll()
1808 ScreenPowerStatus& status) in GetPowerStatus()
1865 …if (status == ScreenPowerStatus::POWER_STATUS_OFF || status == ScreenPowerStatus::POWER_STATUS_OFF… in TryToRecoverFoldDisplayMode()
1866 …status == ScreenPowerStatus::POWER_STATUS_OFF_FAKE || status == ScreenPowerStatus::POWER_STATUS_SU… in TryToRecoverFoldDisplayMode()
1880 …if (status == ScreenPowerStatus::POWER_STATUS_OFF || status == ScreenPowerStatus::POWER_STATUS_SUS… in SetScreenPower()
1884 …if (((status == ScreenPowerStatus::POWER_STATUS_OFF || status == ScreenPowerStatus::POWER_STATUS_S… in SetScreenPower()
1902 …if ((status == ScreenPowerStatus::POWER_STATUS_OFF || status == ScreenPowerStatus::POWER_STATUS_SU… in SetScreenPower()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen_manager.h104 virtual void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) = 0;
120 virtual ScreenPowerStatus GetScreenPowerStatus(ScreenId id) const = 0;
316 void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) override;
330 ScreenPowerStatus GetScreenPowerStatus(ScreenId id) const override;
481 ScreenPowerStatus GetScreenPowerStatusLocked(ScreenId id) const;
H A Drs_screen_manager.cpp249 if (powerStatus != ScreenPowerStatus::POWER_STATUS_OFF && in IsAllScreensPowerOff()
250 powerStatus != ScreenPowerStatus::POWER_STATUS_SUSPEND) { in IsAllScreensPowerOff()
510 screenPowerStatusIt->second == ScreenPowerStatus::POWER_STATUS_ON)) { in ProcessScreenHotPlugEvents()
886 ScreenPowerStatus RSScreenManager::GetScreenPowerStatusLocked(ScreenId id) const in GetScreenPowerStatusLocked()
894 ScreenPowerStatus status = static_cast<ScreenPowerStatus>(screensIt->second->GetPowerStatus()); in GetScreenPowerStatusLocked()
1322 void RSScreenManager::SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) in SetScreenPowerStatus()
1336 if (status == ScreenPowerStatus::POWER_STATUS_ON || in SetScreenPowerStatus()
1337 status == ScreenPowerStatus::POWER_STATUS_ON_ADVANCED) { in SetScreenPowerStatus()
1347 screenPowerStatus_[id] == ScreenPowerStatus::POWER_STATUS_OFF || in SetScreenPowerStatus()
1418 ScreenPowerStatus RSScreenManager::GetScreenPowerStatus(ScreenId id) const in GetScreenPowerStatus()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/
H A Drs_interfaces_test.cpp363 rsInterfaces->SetScreenPowerStatus(virtualScreenId, ScreenPowerStatus::POWER_STATUS_ON);
366 EXPECT_NE(powerStatus, ScreenPowerStatus::POWER_STATUS_ON);
523 rsInterfaces->SetScreenPowerStatus(INVALID_SCREEN_ID, ScreenPowerStatus::POWER_STATUS_STANDBY);
539 rsInterfaces->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
542 EXPECT_EQ(powerStatus, ScreenPowerStatus::POWER_STATUS_ON);
558 rsInterfaces->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON);
561 EXPECT_EQ(powerStatus, ScreenPowerStatus::POWER_STATUS_ON);
575 EXPECT_NE(powerStatus, ScreenPowerStatus::POWER_STATUS_ON);
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/fold_screen_controller/
H A Dsingle_display_fold_policy.h53 void ChangeScreenDisplayModePower(ScreenId screenId, ScreenPowerStatus screenPowerStatus);
H A Dsingle_display_pocket_fold_policy.h58 void ChangeScreenDisplayModePower(ScreenPowerStatus screenPowerStatus);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/screen_manager/
H A Drs_screen_data_test.cpp79 …RSScreenData screenData(capability, activityModeInfo, supportModeInfo, ScreenPowerStatus::POWER_ST…
/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;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/
H A Drs_interfaces.h127 void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status);
155 ScreenPowerStatus GetScreenPowerStatus(ScreenId id);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderserviceconnectionproxy_fuzzer/
H A Drsrenderserviceconnectionproxy_fuzzer.cpp93 ScreenPowerStatus status = (ScreenPowerStatus)width; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/ohos/
H A Drs_irender_service_connection.h142 virtual void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) = 0;
161 virtual ScreenPowerStatus GetScreenPowerStatus(ScreenId id) = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_render_service_client.cpp231 void RSRenderServiceClient::SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) in SetScreenPowerStatus()
254 ScreenPowerStatus RSRenderServiceClient::GetScreenPowerStatus(ScreenId id) in GetScreenPowerStatus()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_render_service_client.cpp235 void RSRenderServiceClient::SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) in SetScreenPowerStatus()
254 ScreenPowerStatus RSRenderServiceClient::GetScreenPowerStatus(ScreenId id) in GetScreenPowerStatus()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_frame_rate_manager_test.cpp254 frameRateMgr.HandleScreenPowerStatus(i, ScreenPowerStatus::POWER_STATUS_ON); in __anon743f33731002()
257 frameRateMgr.HandleScreenPowerStatus(i, ScreenPowerStatus::POWER_STATUS_OFF); in __anon743f33731102()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_render_service_connection_proxy.h119 void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) override;
140 ScreenPowerStatus GetScreenPowerStatus(ScreenId id) override;

12