Home
last modified time | relevance | path

Searched refs:SetScreenConstraint (Results 1 - 18 of 18) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_vblank_idle_corrector.cpp59 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 Dhdiscreen_test.cpp60 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 Dmock_hdi_device.h39 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 Dhdi_screen.cpp238 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 Dhdi_device_impl.cpp116 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 Dhdi_screen.h59 int32_t SetScreenConstraint(uint64_t frameId, uint64_t timestamp, uint32_t type);
H A Dhdi_device_impl.h35 int32_t SetScreenConstraint(uint32_t screenId, uint64_t frameId, uint64_t timestamp, uint32_t type) override;
H A Dhdi_device.h38 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 Drs_screen.h110 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 Drs_screen.cpp1060 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 Drs_screen_manager.h228 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 Drs_screen_manager.cpp1674 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 Dmock_hdi_device.h38 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 Dmock_hdi_device_systest.h39 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 Drs_screen_test.cpp1655 * @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 Drs_screen_manager_test.cpp692 * @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 Drs_screen_unit_test.cpp1622 * @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 Drs_screen_manager_unit_test.cpp718 * @tc.desc: Test SetScreenConstraint
740 screenManager->SetScreenConstraint(mirrorId, 10000000, ScreenConstraintType::CONSTRAINT_NONE); in HWTEST_F()

Completed in 23 milliseconds