/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdiscreen_test.cpp | 58 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 D | mock_hdi_device.h | 55 MOCK_METHOD2(SetScreenVsyncEnabled, int32_t(uint32_t, bool));
|
H A D | hdidevice_test.cpp | 62 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 D | hdi_screen.cpp | 178 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 D | hdi_device_impl.cpp | 128 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 D | hdi_screen.h | 49 int32_t SetScreenVsyncEnabled(bool enabled) const;
|
H A D | hdi_device_impl.h | 53 int32_t SetScreenVsyncEnabled(uint32_t screenId, bool enabled) override;
|
H A D | hdi_device.h | 56 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 D | hdiscreen_fuzzer.cpp | 126 g_hdiScreen->SetScreenVsyncEnabled(enabled); in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/ |
H A D | hdibackend_test.cpp | 97 EXPECT_CALL(*mockDevice_, SetScreenVsyncEnabled(_, _)).WillRepeatedly(testing::Return(0));
in HWTEST_F()
|
H A D | mock_hdi_device_systest.h | 55 MOCK_METHOD2(SetScreenVsyncEnabled, int32_t(uint32_t, bool));
|
H A D | hdioutput_test.cpp | 116 EXPECT_CALL(*mockDevice_, SetScreenVsyncEnabled(_, _)).WillRepeatedly(testing::Return(0));
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.cpp | 136 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 D | rs_screen.h | 94 virtual void SetScreenVsyncEnabled(bool enabled) const = 0;
178 void SetScreenVsyncEnabled(bool enabled) const override;
|
H A D | rs_screen_manager.cpp | 632 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 D | mock_hdi_device.h | 54 MOCK_METHOD2(SetScreenVsyncEnabled, int32_t(uint32_t, bool));
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/ |
H A D | rs_screen_test.cpp | 192 * @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 D | rs_screen_unit_test.cpp | 207 * @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()
|