/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | boot_compatible_display_strategy.cpp | 37 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 D | boot_associative_display_strategy.cpp | 41 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 D | boot_independent_display_strategy.cpp | 28 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 D | single_display_pocket_fold_policy.cpp | 431 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 D | hdiscreen_test.cpp | 47 EXPECT_CALL(*mockDevice_, SetScreenPowerStatus(_, _)).WillRepeatedly(testing::Return(0));
in SetUpTestCase() 82 ASSERT_EQ(HdiScreenSysTest::hdiScreen_->SetScreenPowerStatus(dispPowerStatus), 0);
in HWTEST_F()
|
H A D | mock_hdi_device_systest.h | 47 MOCK_METHOD2(SetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus));
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/screen_manager/ |
H A D | rs_screen_manager_unit_test.cpp | 48 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 D | rs_screen_manager_test.cpp | 49 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 D | hdiscreen_test.cpp | 48 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 D | mock_hdi_device.h | 47 MOCK_METHOD2(SetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus));
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_screen.cpp | 160 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 D | hdi_screen.h | 46 int32_t SetScreenPowerStatus(GraphicDispPowerStatus status) const;
|
H A D | hdi_device_impl.h | 43 int32_t SetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus status) override;
|
H A D | hdi_device.h | 46 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 D | hdiscreen_fuzzer.cpp | 124 g_hdiScreen->SetScreenPowerStatus(status); in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | render_context_sample.cpp | 453 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen() 457 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
|
H A D | drawing_engine_sample.cpp | 357 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen() 361 screen_->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
|
H A D | drawing_sample_canvaskit0310.cpp | 488 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 D | mock_hdi_device.h | 46 MOCK_METHOD2(SetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus));
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/ |
H A D | drawing_sample.cpp | 202 screen->SetScreenPowerStatus(GraphicDispPowerStatus::GRAPHIC_POWER_STATUS_ON); in CreatePhysicalScreen()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/ |
H A D | rs_interfaces.h | 132 void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status);
|
H A D | rs_interfaces.cpp | 379 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 D | rsinterfaces_fuzzer.cpp | 104 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 D | rs_screen.cpp | 151 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 D | rs_screen_manager.h | 96 virtual void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) = 0;
303 void SetScreenPowerStatus(ScreenId id, ScreenPowerStatus status) override;
|