Home
last modified time | relevance | path

Searched refs:SetScreenPowerStatus (Results 1 - 25 of 48) sorted by relevance

12

/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.cpp41 LOGD("SetScreenPowerStatus POWER_STATUS_OFF_FAKE: " BPUBU64 "", defaultId); in Display()
42 interface.SetScreenPowerStatus(defaultId, Rosen::ScreenPowerStatus::POWER_STATUS_OFF_FAKE); in Display()
43 LOGD("SetScreenPowerStatus POWER_STATUS_ON: " BPUBU64 "", activeId); 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()
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/
H A Dsingle_display_pocket_fold_policy.cpp431 RSInterfaces::GetInstance().SetScreenPowerStatus(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_OFF); in BootAnimationFinishPowerInit()
435 RSInterfaces::GetInstance().SetScreenPowerStatus(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_OFF); in BootAnimationFinishPowerInit()
436 RSInterfaces::GetInstance().SetScreenPowerStatus(SCREEN_ID_FULL, ScreenPowerStatus::POWER_STATUS_OFF); in BootAnimationFinishPowerInit()
439 RSInterfaces::GetInstance().SetScreenPowerStatus(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_ON); in BootAnimationFinishPowerInit()
451 RSInterfaces::GetInstance().SetScreenPowerStatus(SCREEN_ID_FULL, ScreenPowerStatus::POWER_STATUS_OFF); in ChangeOnTentMode()
453 RSInterfaces::GetInstance().SetScreenPowerStatus(SCREEN_ID_MAIN, ScreenPowerStatus::POWER_STATUS_ON); in ChangeOnTentMode()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/
H A Dhdiscreen_test.cpp47 EXPECT_CALL(*mockDevice_, SetScreenPowerStatus(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
82 ASSERT_EQ(HdiScreenSysTest::hdiScreen_->SetScreenPowerStatus(dispPowerStatus), 0); in HWTEST_F()
H A Dmock_hdi_device_systest.h47 MOCK_METHOD2(SetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus));
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/screen_manager/
H A Drs_screen_manager_unit_test.cpp48 EXPECT_CALL(*hdiDeviceMock_, SetScreenPowerStatus(mockScreenId_, _)).WillRepeatedly( in SetUpTestCase()
860 screenManager->SetScreenPowerStatus(screenId, POWER_STATUS_ON_ADVANCED); in HWTEST_F()
1025 * @tc.desc: Test SetScreenPowerStatus, with virtual screen
1036 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON); in HWTEST_F()
1044 * @tc.desc: Test SetScreenPowerStatus, test POWER_STATUS_ON_ADVANCED with mock HDI device
1059 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON); in HWTEST_F()
1061 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON_ADVANCED); in HWTEST_F()
1063 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_OFF); in HWTEST_F()
1065 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_OFF_ADVANCED); in HWTEST_F()
1071 * @tc.desc: Test SetScreenPowerStatus, wit
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/
H A Drs_screen_manager_test.cpp49 EXPECT_CALL(*hdiDeviceMock_, SetScreenPowerStatus(mockScreenId_, _)).WillRepeatedly( in SetUpTestCase()
881 screenManager->SetScreenPowerStatus(screenId, POWER_STATUS_ON_ADVANCED); in HWTEST_F()
1083 * @tc.desc: Test SetScreenPowerStatus, with INVALID_SCREEN_ID
1091 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON); in HWTEST_F()
1099 * @tc.desc: Test SetScreenPowerStatus, with virtual screen
1110 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON); in HWTEST_F()
1118 * @tc.desc: Test SetScreenPowerStatus, test POWER_STATUS_ON_ADVANCED with mock HDI device
1133 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON); in HWTEST_F()
1135 screenManager->SetScreenPowerStatus(screenId, ScreenPowerStatus::POWER_STATUS_ON_ADVANCED); in HWTEST_F()
1137 screenManager->SetScreenPowerStatus(screenI in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dhdiscreen_test.cpp48 EXPECT_CALL(*mockDevice_, SetScreenPowerStatus(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
91 ASSERT_EQ(hdiScreen_->SetScreenPowerStatus(status), GRAPHIC_DISPLAY_NULL_PTR); in HWTEST_F()
229 * CaseDescription: 1. call SetScreenPowerStatus
235 ASSERT_EQ(HdiScreenTest::hdiScreen_->SetScreenPowerStatus(dispPowerStatus), 0); in HWTEST_F()
H A Dmock_hdi_device.h47 MOCK_METHOD2(SetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus));
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_screen.cpp160 int32_t HdiScreen::SetScreenPowerStatus(GraphicDispPowerStatus status) const in SetScreenPowerStatus() function in OHOS::Rosen::HdiScreen
163 return device_->SetScreenPowerStatus(screenId_, status); in SetScreenPowerStatus()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_screen.h46 int32_t SetScreenPowerStatus(GraphicDispPowerStatus status) const;
H A Dhdi_device_impl.h43 int32_t SetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus status) override;
H A Dhdi_device.h46 virtual int32_t SetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus status) = 0;
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/
H A Dhdiscreen_fuzzer.cpp124 g_hdiScreen->SetScreenPowerStatus(status); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Drender_context_sample.cpp453 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
457 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
H A Ddrawing_engine_sample.cpp357 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
361 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
H A Ddrawing_sample_canvaskit0310.cpp488 screen->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePyhsicalScreen()
493 screen->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePyhsicalScreen()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/
H A Dmock_hdi_device.h46 MOCK_METHOD2(SetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus));
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp202 screen->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/
H A Drs_interfaces.h132 void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status);
H A Drs_interfaces.cpp379 void RSInterfaces::SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) in SetScreenPowerStatus() function in OHOS::Rosen::RSInterfaces
381 RS_LOGI("[UL_POWER]RSInterfaces::SetScreenPowerStatus: ScreenId: %{public}" PRIu64 in SetScreenPowerStatus()
384 renderServiceClient_->SetScreenPowerStatus(id, status); in SetScreenPowerStatus()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/
H A Drsinterfaces_fuzzer.cpp104 rsInterfaces.SetScreenPowerStatus(static_cast<ScreenId>(id), static_cast<ScreenPowerStatus>(status)); in RSPhysicalScreenFuzzTest()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.cpp151 if (hdiScreen_->SetScreenPowerStatus(status) < 0) {
152 RS_LOGE("RSScreen %{public}s: RSScreen(id %{public}" PRIu64 ") failed to SetScreenPowerStatus.",
369 if (hdiScreen_->SetScreenPowerStatus(static_cast<GraphicDispPowerStatus>(powerStatus)) < 0) { in SetPowerStatus()
H A Drs_screen_manager.h96 virtual void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) = 0;
303 void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) override;

Completed in 20 milliseconds

12