/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_vblank_idle_corrector.cpp | 59 screenManager->SetScreenConstraint(defaultScreenId, 0, ScreenConstraintType::CONSTRAINT_ADAPTIVE); in ProcessScreenConstraint() 67 screenManager->SetScreenConstraint(defaultScreenId, 0, ScreenConstraintType::CONSTRAINT_NONE); in ProcessScreenConstraint() 75 screenManager->SetScreenConstraint(currIdleScreenId_, in ProcessScreenConstraint() 78 screenManager->SetScreenConstraint(currIdleScreenId_, 0, ScreenConstraintType::CONSTRAINT_NONE); in ProcessScreenConstraint() 87 screenManager->SetScreenConstraint(defaultScreenId, in ProcessScreenConstraint() 90 screenManager->SetScreenConstraint(defaultScreenId, 0, ScreenConstraintType::CONSTRAINT_NONE); in ProcessScreenConstraint()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdiscreen_test.cpp | 60 EXPECT_CALL(*mockDevice_, SetScreenConstraint(_, _, _, _)).WillRepeatedly(testing::Return(0));
in SetUpTestCase() 114 ASSERT_EQ(hdiScreen_->SetScreenConstraint(frameId, timestamp, type), GRAPHIC_DISPLAY_NULL_PTR);
in HWTEST_F() 404 * CaseDescription: 1. call SetScreenConstraint
412 ASSERT_EQ(HdiScreenTest::hdiScreen_->SetScreenConstraint(frameId, timestamp, type), 0);
in HWTEST_F()
|
H A D | mock_hdi_device.h | 39 MOCK_METHOD4(SetScreenConstraint, int32_t(uint32_t, uint64_t, uint64_t, uint32_t));
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_screen.cpp | 238 int32_t HdiScreen::SetScreenConstraint(uint64_t frameId, uint64_t timestamp, uint32_t type) in SetScreenConstraint() function in OHOS::Rosen::HdiScreen 241 return device_->SetScreenConstraint(screenId_, frameId, timestamp, type); in SetScreenConstraint()
|
H A D | hdi_device_impl.cpp | 116 int32_t HdiDeviceImpl::SetScreenConstraint(uint32_t screenId, uint64_t frameId, uint64_t timestamp, uint32_t type) in SetScreenConstraint() function in OHOS::Rosen::HdiDeviceImpl
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_screen.h | 59 int32_t SetScreenConstraint(uint64_t frameId, uint64_t timestamp, uint32_t type);
|
H A D | hdi_device_impl.h | 35 int32_t SetScreenConstraint(uint32_t screenId, uint64_t frameId, uint64_t timestamp, uint32_t type) override;
|
H A D | hdi_device.h | 38 virtual int32_t SetScreenConstraint(uint32_t screenId, uint64_t frameId, uint64_t timestamp, uint32_t type) = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.h | 110 virtual int32_t SetScreenConstraint(uint64_t frameId, uint64_t timestamp, ScreenConstraintType type) = 0;
194 int32_t SetScreenConstraint(uint64_t frameId, uint64_t timestamp, ScreenConstraintType type) override;
|
H A D | rs_screen.cpp | 1060 int32_t RSScreen::SetScreenConstraint(uint64_t frameId, uint64_t timestamp, ScreenConstraintType type)
in SetScreenConstraint() function in OHOS::Rosen::impl::RSScreen 1066 int32_t result = hdiScreen_->SetScreenConstraint(frameId, timestamp, static_cast<uint32_t>(type));
in SetScreenConstraint()
|
H A D | rs_screen_manager.h | 228 virtual int32_t SetScreenConstraint(ScreenId id, uint64_t timestamp, ScreenConstraintType type) = 0;
439 int32_t SetScreenConstraint(ScreenId id, uint64_t timestamp, ScreenConstraintType type) override;
|
H A D | rs_screen_manager.cpp | 1674 int32_t RSScreenManager::SetScreenConstraint(ScreenId id, uint64_t timestamp, ScreenConstraintType type)
in SetScreenConstraint() function in OHOS::Rosen::impl::RSScreenManager 1682 RS_TRACE_NAME_FMT("SetScreenConstraint frameId:%lu timestamp:%lu type:%d", frameId_, timestamp, type);
in SetScreenConstraint() 1683 return screensIt->second->SetScreenConstraint(frameId_, timestamp, type);
in SetScreenConstraint()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/ |
H A D | mock_hdi_device.h | 38 MOCK_METHOD4(SetScreenConstraint, int32_t(uint32_t, uint64_t, uint64_t, uint32_t));
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/ |
H A D | mock_hdi_device_systest.h | 39 MOCK_METHOD4(SetScreenConstraint, int32_t(uint32_t, uint64_t, uint64_t, uint32_t));
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/ |
H A D | rs_screen_test.cpp | 1655 * @tc.desc: SetScreenConstraint Test, IsVirtual is true 1669 ASSERT_EQ(rsScreen->SetScreenConstraint(frameId, timestamp, type), StatusCode::SUCCESS); in HWTEST_F() 1674 * @tc.desc: SetScreenConstraint Test, IsVirtual is fasle, hdiScreen_ == nullptr 1689 ASSERT_EQ(rsScreen->SetScreenConstraint(frameId, timestamp, type), StatusCode::HDI_ERROR); in HWTEST_F() 1694 * @tc.desc: SetScreenConstraint Test, IsVirtual is fasle, hdiScreen_ != nullptr 1712 EXPECT_CALL(*hdiDeviceMock_, SetScreenConstraint(_, _, _, _)) in HWTEST_F() 1716 ASSERT_EQ(rsScreen->SetScreenConstraint(frameId, timestamp, type), StatusCode::SUCCESS); in HWTEST_F() 1721 * @tc.desc: SetScreenConstraint Test, IsVirtual is fasle, hdiScreen_ != nullptr 1739 EXPECT_CALL(*hdiDeviceMock_, SetScreenConstraint(_, _, _, _)) in HWTEST_F() 1743 ASSERT_EQ(rsScreen->SetScreenConstraint(frameI in HWTEST_F() [all...] |
H A D | rs_screen_manager_test.cpp | 692 * @tc.desc: Test SetScreenConstraint
714 screenManager->SetScreenConstraint(mirrorId, 10000000, ScreenConstraintType::CONSTRAINT_NONE);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/screenmanager/ |
H A D | rs_screen_unit_test.cpp | 1622 * @tc.desc: SetScreenConstraint Test, IsVirtual is true 1636 ASSERT_EQ(rsScreen->SetScreenConstraint(frameId, timestamp, type), StatusCode::SUCCESS); in HWTEST_F() 1641 * @tc.desc: SetScreenConstraint Test, IsVirtual is fasle, hdiScreen_ == nullptr 1656 ASSERT_EQ(rsScreen->SetScreenConstraint(frameId, timestamp, type), StatusCode::HDI_ERROR); in HWTEST_F() 1661 * @tc.desc: SetScreenConstraint Test, IsVirtual is fasle, hdiScreen_ != nullptr 1679 EXPECT_CALL(*hdiDeviceMock_, SetScreenConstraint(_, _, _, _)) in HWTEST_F() 1683 ASSERT_EQ(rsScreen->SetScreenConstraint(frameId, timestamp, type), StatusCode::SUCCESS); in HWTEST_F() 1688 * @tc.desc: SetScreenConstraint Test, IsVirtual is fasle, hdiScreen_ != nullptr 1706 EXPECT_CALL(*hdiDeviceMock_, SetScreenConstraint(_, _, _, _)) in HWTEST_F() 1710 ASSERT_EQ(rsScreen->SetScreenConstraint(frameI in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/screen_manager/ |
H A D | rs_screen_manager_unit_test.cpp | 718 * @tc.desc: Test SetScreenConstraint
740 screenManager->SetScreenConstraint(mirrorId, 10000000, ScreenConstraintType::CONSTRAINT_NONE);
in HWTEST_F()
|