Home
last modified time | relevance | path

Searched refs:SetScreenBacklight (Results 1 - 25 of 43) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/
H A Dhdiscreen_test.cpp49 EXPECT_CALL(*mockDevice_, SetScreenBacklight(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
86 ASSERT_EQ(HdiScreenSysTest::hdiScreen_->SetScreenBacklight(level), 0); in HWTEST_F()
H A Dmock_hdi_device_systest.h49 MOCK_METHOD2(SetScreenBacklight, int32_t(uint32_t, uint32_t));
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dhdiscreen_test.cpp50 EXPECT_CALL(*mockDevice_, SetScreenBacklight(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
94 ASSERT_EQ(hdiScreen_->SetScreenBacklight(level), GRAPHIC_DISPLAY_NULL_PTR); in HWTEST_F()
257 * CaseDescription: 1. call SetScreenBacklight
263 ASSERT_EQ(HdiScreenTest::hdiScreen_->SetScreenBacklight(level), 0); in HWTEST_F()
H A Dhdidevice_test.cpp87 SetScreenBacklight(_, _)).WillRepeatedly(testing::Return(GRAPHIC_DISPLAY_SUCCESS)); in HWTEST_F()
88 EXPECT_EQ(hdiDeviceMock_->SetScreenBacklight(screenId, screenLightLevel), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F()
H A Dmock_hdi_device.h49 MOCK_METHOD2(SetScreenBacklight, int32_t(uint32_t, uint32_t));
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_screen.cpp172 int32_t HdiScreen::SetScreenBacklight(uint32_t level) const in SetScreenBacklight() function in OHOS::Rosen::HdiScreen
175 return device_->SetScreenBacklight(screenId_, level); in SetScreenBacklight()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_screen.h48 int32_t SetScreenBacklight(uint32_t level) const;
H A Dhdi_device_impl.h45 int32_t SetScreenBacklight(uint32_t screenId, uint32_t level) override;
H A Dhdi_device.h48 virtual int32_t SetScreenBacklight(uint32_t screenId, uint32_t level) = 0;
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/
H A Dhdiscreen_fuzzer.cpp125 g_hdiScreen->SetScreenBacklight(level); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.h76 virtual void SetScreenBacklight(uint32_t level) = 0;
161 void SetScreenBacklight(uint32_t level) override;
H A Drs_screen.cpp675 void RSScreen::SetScreenBacklight(uint32_t level) in SetScreenBacklight() function in OHOS::Rosen::impl::RSScreen
682 RS_LOGW("RSScreen %{public}s: virtual screen not support SetScreenBacklight.", __func__); in SetScreenBacklight()
686 RS_LOGD("RSScreen_%{public}" PRIu64 " SetScreenBacklight, level is %{public}u", id_, level); in SetScreenBacklight()
687 if (hdiScreen_->SetScreenBacklight(level) < 0) { in SetScreenBacklight()
H A Drs_screen_manager.h154 virtual void SetScreenBacklight(ScreenId id, uint32_t level) = 0;
357 void SetScreenBacklight(ScreenId id, uint32_t level) override;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/
H A Dmock_hdi_device.h48 MOCK_METHOD2(SetScreenBacklight, int32_t(uint32_t, uint32_t));
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/
H A Drs_interfaces.h166 void SetScreenBacklight(ScreenId id, uint32_t level);
H A Drs_interfaces.cpp436 void RSInterfaces::SetScreenBacklight(ScreenId id, uint32_t level) in SetScreenBacklight() function in OHOS::Rosen::RSInterfaces
438 RS_LOGD("RSInterfaces::SetScreenBacklight: ScreenId: %{public}" PRIu64 ", level: %{public}u", id, level); in SetScreenBacklight()
439 renderServiceClient_->SetScreenBacklight(id, level); in SetScreenBacklight()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/
H A Drsinterfaces_fuzzer.cpp105 rsInterfaces.SetScreenBacklight(static_cast<ScreenId>(id), level); in RSPhysicalScreenFuzzTest()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_render_service_connection_proxy_test.cpp553 * @tc.name: SetScreenBacklight Test
554 * @tc.desc: SetScreenBacklight Test
558 HWTEST_F(RSRenderServiceConnectionProxyTest, SetScreenBacklight, TestSize.Level1) in HWTEST_F()
562 proxy->SetScreenBacklight(id, level); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/ohos/
H A Drs_irender_service_connection.h177 virtual void SetScreenBacklight(ScreenId id, uint32_t level) = 0;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderserviceconnectionproxy_fuzzer/
H A Drsrenderserviceconnectionproxy_fuzzer.cpp168 rsRenderServiceConnectionProxy.SetScreenBacklight(id1, width); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_render_service_connection_proxy.h149 void SetScreenBacklight(ScreenId id, uint32_t level) override;
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_render_service_connection.h174 void SetScreenBacklight(ScreenId id, uint32_t level) override;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_render_service_client.cpp290 void RSRenderServiceClient::SetScreenBacklight(ScreenId id, uint32_t level) in SetScreenBacklight() function in OHOS::Rosen::RSRenderServiceClient
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_render_service_client.h232 void SetScreenBacklight(ScreenId id, uint32_t level);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_render_service_client.cpp290 void RSRenderServiceClient::SetScreenBacklight(ScreenId id, uint32_t level) in SetScreenBacklight() function in OHOS::Rosen::RSRenderServiceClient

Completed in 17 milliseconds

12