Home
last modified time | relevance | path

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

/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dhdiscreen_test.cpp58 EXPECT_CALL(*mockDevice_, SetScreenVsyncEnabled(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
96 ASSERT_EQ(hdiScreen_->SetScreenVsyncEnabled(enabled), GRAPHIC_DISPLAY_NULL_PTR); in HWTEST_F()
271 * CaseDescription: 1. call SetScreenVsyncEnabled
277 ASSERT_EQ(HdiScreenTest::hdiScreen_->SetScreenVsyncEnabled(enabled), 0); in HWTEST_F()
H A Dmock_hdi_device.h55 MOCK_METHOD2(SetScreenVsyncEnabled, int32_t(uint32_t, bool));
H A Dhdidevice_test.cpp62 EXPECT_EQ(HdiDeviceTest::hdiDevice_->SetScreenVsyncEnabled(screenId, enabled), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_screen.cpp178 int32_t HdiScreen::SetScreenVsyncEnabled(bool enabled) const in SetScreenVsyncEnabled() function in OHOS::Rosen::HdiScreen
181 int32_t ret = device_->SetScreenVsyncEnabled(screenId_, enabled); in SetScreenVsyncEnabled()
183 HLOGE("SetScreenVsyncEnabled Failed, screenId:%{public}u, enabled:%{public}d, ret:%{public}d", in SetScreenVsyncEnabled()
185 RS_TRACE_NAME_FMT("SetScreenVsyncEnabled Failed, screenId:%u, enabled:%d, ret:%d", screenId_, enabled, ret); in SetScreenVsyncEnabled()
H A Dhdi_device_impl.cpp128 int32_t HdiDeviceImpl::SetScreenVsyncEnabled(uint32_t screenId, bool enabled) in SetScreenVsyncEnabled() function in OHOS::Rosen::HdiDeviceImpl
130 HLOGD("SetScreenVsyncEnabled, screenId:%{public}u, enabled:%{public}d", screenId, enabled); in SetScreenVsyncEnabled()
131 ScopedBytrace trace("SetScreenVsyncEnabled, screenId:" + std::to_string(screenId) + in SetScreenVsyncEnabled()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_screen.h49 int32_t SetScreenVsyncEnabled(bool enabled) const;
H A Dhdi_device_impl.h53 int32_t SetScreenVsyncEnabled(uint32_t screenId, bool enabled) override;
H A Dhdi_device.h56 virtual int32_t SetScreenVsyncEnabled(uint32_t screenId, bool enabled) = 0;
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/
H A Dhdiscreen_fuzzer.cpp126 g_hdiScreen->SetScreenVsyncEnabled(enabled); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/
H A Dhdibackend_test.cpp97 EXPECT_CALL(*mockDevice_, SetScreenVsyncEnabled(_, _)).WillRepeatedly(testing::Return(0)); in HWTEST_F()
H A Dmock_hdi_device_systest.h55 MOCK_METHOD2(SetScreenVsyncEnabled, int32_t(uint32_t, bool));
H A Dhdioutput_test.cpp116 EXPECT_CALL(*mockDevice_, SetScreenVsyncEnabled(_, _)).WillRepeatedly(testing::Return(0)); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.cpp136 hdiScreen_->SetScreenVsyncEnabled(true);
377 if (hdiScreen_->SetScreenVsyncEnabled(true) != GRAPHIC_DISPLAY_SUCCESS) { in SetPowerStatus()
378 RS_LOGE("RSScreen %{public}s SetScreenVsyncEnabled failed", __func__); in SetPowerStatus()
867 void RSScreen::SetScreenVsyncEnabled(bool enabled) const in SetScreenVsyncEnabled() function in OHOS::Rosen::impl::RSScreen
873 hdiScreen_->SetScreenVsyncEnabled(enabled); in SetScreenVsyncEnabled()
H A Drs_screen.h94 virtual void SetScreenVsyncEnabled(bool enabled) const = 0;
178 void SetScreenVsyncEnabled(bool enabled) const override;
H A Drs_screen_manager.cpp632 screens_[id]->SetScreenVsyncEnabled(true); in ProcessScreenConnectedLocked()
696 RS_LOGE("SetScreenVsyncEnabled:%{public}d failed, get RSMainThread failed", enabled); in RegSetScreenVsyncEnabledCallbackForMainThread()
703 RS_LOGE("SetScreenVsyncEnabled:%{public}d failed, screen %{public}" PRIu64 " not found", in RegSetScreenVsyncEnabledCallbackForMainThread()
707 screensIt->second->SetScreenVsyncEnabled(enabled); in RegSetScreenVsyncEnabledCallbackForMainThread()
724 RS_LOGE("SetScreenVsyncEnabled:%{public}d failed, screen %{public}" PRIu64 " not found", in RegSetScreenVsyncEnabledCallbackForHardwareThread()
728 screensIt->second->SetScreenVsyncEnabled(enabled); in RegSetScreenVsyncEnabledCallbackForHardwareThread()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/
H A Dmock_hdi_device.h54 MOCK_METHOD2(SetScreenVsyncEnabled, int32_t(uint32_t, bool));
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/
H A Drs_screen_test.cpp192 * @tc.desc: SetScreenVsyncEnabled Test
201 rsScreen->SetScreenVsyncEnabled(true); in HWTEST_F()
205 virtualScreen->SetScreenVsyncEnabled(true); in HWTEST_F()
859 * @tc.desc: SetPowerStatus Test, hdiScreen_->SetScreenVsyncEnabled(true) != GRAPHIC_DISPLAY_SUCCESS,
870 EXPECT_CALL(*hdiDeviceMock_, SetScreenVsyncEnabled(_, _)) in HWTEST_F()
881 * @tc.desc: SetPowerStatus Test, hdiScreen_->SetScreenVsyncEnabled(true) == GRAPHIC_DISPLAY_SUCCESS,
892 EXPECT_CALL(*hdiDeviceMock_, SetScreenVsyncEnabled(_, _)) in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/screenmanager/
H A Drs_screen_unit_test.cpp207 * @tc.desc: SetScreenVsyncEnabled Test
216 rsScreen->SetScreenVsyncEnabled(true); in HWTEST_F()
220 virtualScreen->SetScreenVsyncEnabled(true); in HWTEST_F()
837 * @tc.desc: SetPowerStatus Test, hdiScreen_->SetScreenVsyncEnabled(true) != GRAPHIC_DISPLAY_SUCCESS,
848 EXPECT_CALL(*hdiDeviceMock_, SetScreenVsyncEnabled(_, _)) in HWTEST_F()
881 * @tc.desc: SetPowerStatus Test, hdiScreen_->SetScreenVsyncEnabled(true) == GRAPHIC_DISPLAY_SUCCESS,
892 EXPECT_CALL(*hdiDeviceMock_, SetScreenVsyncEnabled(_, _)) in HWTEST_F()

Completed in 18 milliseconds