Home
last modified time | relevance | path

Searched refs:rsInterfaces (Results 1 - 10 of 10) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/
H A Drsinterfaces_fuzzer.cpp97 auto& rsInterfaces = RSInterfaces::GetInstance(); in RSPhysicalScreenFuzzTest() local
99 rsInterfaces.SetPointerColorInversionConfig(darkBuffer, brightBuffer, interval, rangeSize); in RSPhysicalScreenFuzzTest()
101 rsInterfaces.RegisterPointerLuminanceChangeCallback(callback); in RSPhysicalScreenFuzzTest()
103 rsInterfaces.SetScreenActiveMode(static_cast<ScreenId>(id), modeId); in RSPhysicalScreenFuzzTest()
104 rsInterfaces.SetScreenPowerStatus(static_cast<ScreenId>(id), static_cast<ScreenPowerStatus>(status)); in RSPhysicalScreenFuzzTest()
105 rsInterfaces.SetScreenBacklight(static_cast<ScreenId>(id), level); in RSPhysicalScreenFuzzTest()
106 rsInterfaces.SetScreenColorGamut(static_cast<ScreenId>(id), modeIdx); in RSPhysicalScreenFuzzTest()
108 rsInterfaces.SetScreenGamutMap(static_cast<ScreenId>(id), mapMode); in RSPhysicalScreenFuzzTest()
109 rsInterfaces.SetScreenSkipFrameInterval(static_cast<ScreenId>(id), skipFrameInterval); in RSPhysicalScreenFuzzTest()
111 rsInterfaces in RSPhysicalScreenFuzzTest()
206 auto& rsInterfaces = RSInterfaces::GetInstance(); DoSetTpFeatureConfigFuzzTest() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/
H A Drs_interfaces_test.cpp42 rsInterfaces = &(RSInterfaces::GetInstance()); in SetUpTestCase()
47 rsInterfaces = nullptr; in TearDownTestCase()
50 static inline RSInterfaces* rsInterfaces = nullptr; member in OHOS::Rosen::RSInterfacesTest
74 auto screenId = rsInterfaces->GetDefaultScreenId(); in HWTEST_F()
78 int ret = rsInterfaces->GetScreenHDRCapability(screenId, hdrCapability); in HWTEST_F()
95 int ret = rsInterfaces->GetScreenHDRCapability(INVALID_SCREEN_ID, hdrCapability); in HWTEST_F()
109 auto screenId = rsInterfaces->GetDefaultScreenId(); in HWTEST_F()
113 int ret = rsInterfaces->GetScreenType(screenId, type); in HWTEST_F()
128 int ret = rsInterfaces->GetScreenType(INVALID_SCREEN_ID, type); in HWTEST_F()
154 ScreenId virtualScreenId = rsInterfaces in HWTEST_F()
[all...]
H A Drs_screen_skipframe_test.cpp35 rsInterfaces = &(RSInterfaces::GetInstance()); in SetUpTestCase()
40 rsInterfaces = nullptr; in TearDownTestCase()
43 static inline RSInterfaces* rsInterfaces = nullptr; member in OHOS::Rosen::RSScreenSkipFrameTest
82 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); in HWTEST_F()
86 int32_t ret = rsInterfaces->SetScreenSkipFrameInterval(0, skipFrameInterval); in HWTEST_F()
106 int32_t ret = rsInterfaces->SetScreenSkipFrameInterval(screenId, skipFrameInterval); in HWTEST_F()
119 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); in HWTEST_F()
123 int32_t ret = rsInterfaces->SetScreenSkipFrameInterval(screenId, skipFrameInterval); in HWTEST_F()
136 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); in HWTEST_F()
140 int32_t ret = rsInterfaces in HWTEST_F()
[all...]
H A Drs_virtual_screen_refresh_rate_test.cpp35 rsInterfaces = &(RSInterfaces::GetInstance()); in SetUpTestCase()
40 rsInterfaces = nullptr; in TearDownTestCase()
43 static inline RSInterfaces* rsInterfaces = nullptr; member in OHOS::Rosen::RSVirtualScreenRefreshRateTest
63 ScreenId virtualScreenId = rsInterfaces->CreateVirtualScreen( in HWTEST_F()
70 int32_t ret = rsInterfaces->SetVirtualScreenRefreshRate(virtualScreenId, maxRefreshRate, actualRefreshRate); in HWTEST_F()
75 ret = rsInterfaces->SetVirtualScreenRefreshRate(virtualScreenId, 60, actualRefreshRate); // 60hz in HWTEST_F()
97 ScreenId virtualScreenId = rsInterfaces->CreateVirtualScreen( in HWTEST_F()
104 int32_t ret = rsInterfaces->SetVirtualScreenRefreshRate(virtualScreenId, maxRefreshRate, actualRefreshRate); in HWTEST_F()
108 ret = rsInterfaces->SetVirtualScreenRefreshRate(virtualScreenId, 60, actualRefreshRate); // 60hz in HWTEST_F()
129 ScreenId virtualScreenId = rsInterfaces in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/
H A Drs_interfaces_system_test.cpp190 RSInterfaces* rsInterfaces = &(RSInterfaces::GetInstance()); in HWTEST_F() local
191 rsInterfaces->SetVirtualScreenUsingStatus(true); in HWTEST_F()
192 EXPECT_TRUE(rsInterfaces != nullptr); in HWTEST_F()
203 RSInterfaces* rsInterfaces = &(RSInterfaces::GetInstance()); in HWTEST_F() local
204 rsInterfaces->SetVirtualScreenUsingStatus(false); in HWTEST_F()
205 EXPECT_TRUE(rsInterfaces != nullptr); in HWTEST_F()
216 RSInterfaces* rsInterfaces = &(RSInterfaces::GetInstance()); in HWTEST_F() local
217 rsInterfaces->SetFreeMultiWindowStatus(false); in HWTEST_F()
218 EXPECT_TRUE(rsInterfaces != nullptr); in HWTEST_F()
229 RSInterfaces* rsInterfaces in HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Dscreen_info_demo.cpp25 RSInterfaces& rsInterfaces = RSInterfaces::GetInstance(); in main() local
26 auto screenId = rsInterfaces.GetDefaultScreenId(); in main()
32 auto screenData = rsInterfaces.GetScreenData(screenId); in main()
/foundation/barrierfree/accessibility/services/test/xts/src/sa_perform_action_test/
H A Dsa_perform_action_xts.cpp1282 auto rsInterfaces = &(Rosen::RSInterfaces::GetInstance()); in SetCurtainScreenUsingStatus() local
1283 if (rsInterfaces == nullptr) { in SetCurtainScreenUsingStatus()
1284 HILOG_ERROR("rsInterfaces is nullptr."); in SetCurtainScreenUsingStatus()
1288 rsInterfaces->SetCurtainScreenUsingStatus(isEnable); in SetCurtainScreenUsingStatus()
/foundation/barrierfree/accessibility/services/test/xts/src/samgr_register_element_test/
H A Dsamgr_register_element_test.cpp1282 auto rsInterfaces = &(Rosen::RSInterfaces::GetInstance()); in SetCurtainScreenUsingStatus() local
1283 if (rsInterfaces == nullptr) { in SetCurtainScreenUsingStatus()
1284 HILOG_ERROR("rsInterfaces is nullptr."); in SetCurtainScreenUsingStatus()
1288 rsInterfaces->SetCurtainScreenUsingStatus(isEnable); in SetCurtainScreenUsingStatus()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_animation_supplement_test.cpp1046 auto& rsInterfaces = RSInterfaces::GetInstance(); in HWTEST_F() local
1047 rsInterfaces.EnableCacheForRotation(); in HWTEST_F()
1048 rsInterfaces.DisableCacheForRotation(); in HWTEST_F()
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessible_ability_manager_service.cpp1287 auto rsInterfaces = &(Rosen::RSInterfaces::GetInstance()); in SetCurtainScreenUsingStatus() local
1288 if (rsInterfaces == nullptr) { in SetCurtainScreenUsingStatus()
1289 HILOG_ERROR("rsInterfaces is nullptr."); in SetCurtainScreenUsingStatus()
1293 rsInterfaces->SetCurtainScreenUsingStatus(isEnable); in SetCurtainScreenUsingStatus()

Completed in 20 milliseconds