Home
last modified time | relevance | path

Searched refs:rsInterfaces (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/
H A Drs_interfaces_test.cpp47 rsInterfaces = nullptr; in TearDownTestCase()
978 ASSERT_NE(rsInterfaces, nullptr);
992 ASSERT_NE(rsInterfaces, nullptr);
1176 ASSERT_NE(rsInterfaces, nullptr);
1190 ASSERT_NE(rsInterfaces, nullptr);
1203 ASSERT_NE(rsInterfaces, nullptr);
1217 ASSERT_NE(rsInterfaces, nullptr);
1220 ASSERT_NE(rsInterfaces, nullptr);
1231 ASSERT_NE(rsInterfaces, nullptr);
1237 ASSERT_NE(rsInterfaces, nullptr);
[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();
119 ScreenId screenId = rsInterfaces->GetDefaultScreenId();
136 ScreenId screenId = rsInterfaces->GetDefaultScreenId();
153 ScreenId screenId = rsInterfaces->GetDefaultScreenId();
174 ScreenId screenId = rsInterfaces->GetDefaultScreenId();
196 ScreenId screenId = rsInterfaces->GetDefaultScreenId();
314 ScreenId screenId = rsInterfaces->GetDefaultScreenId();
[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(
75 ret = rsInterfaces->SetVirtualScreenRefreshRate(virtualScreenId, 60, actualRefreshRate); // 60hz
97 ScreenId virtualScreenId = rsInterfaces->CreateVirtualScreen(
109 ret = rsInterfaces->SetVirtualScreenRefreshRate(virtualScreenId, 60, actualRefreshRate); // 60hz
131 ScreenId virtualScreenId = rsInterfaces->CreateVirtualScreen(
165 ScreenId virtualScreenId = rsInterfaces->CreateVirtualScreen(
193 ScreenId defaultScreenId = rsInterfaces->GetDefaultScreenId();
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/
H A Drsinterfaces_fuzzer.cpp91 auto& rsInterfaces = RSInterfaces::GetInstance(); in RSPhysicalScreenFuzzTest() local
104 rsInterfaces.GetScreenData(static_cast<ScreenId>(id)); in RSPhysicalScreenFuzzTest()
124 rsInterfaces.SetGlobalDarkColorMode(GetData<bool>()); in RSPhysicalScreenFuzzTest()
141 rsInterfaces.TakeSurfaceCapture(displayNode, callback2); in RSPhysicalScreenFuzzTest()
147 rsInterfaces.TakeSurfaceCapture(surfaceNode, callback3); in RSPhysicalScreenFuzzTest()
159 rsInterfaces.SetScreenChangeCallback(changeCallback); in RSPhysicalScreenFuzzTest()
165 rsInterfaces.MarkPowerOffNeedProcessOneFrame(); in RSPhysicalScreenFuzzTest()
173 rsInterfaces.SetLayerTop(nodeIdStr, isTop); in RSPhysicalScreenFuzzTest()
195 auto& rsInterfaces = RSInterfaces::GetInstance(); in DoSetTpFeatureConfigFuzzTest() local
220 auto& rsInterfaces = RSInterfaces::GetInstance(); in DoDropFrameByPid() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/
H A Drs_interfaces_system_test.cpp169 rsInterfaces->SetCurtainScreenUsingStatus(true);
170 EXPECT_NE(rsInterfaces, nullptr);
182 rsInterfaces->SetCurtainScreenUsingStatus(false);
183 EXPECT_NE(rsInterfaces, nullptr);
195 rsInterfaces->SetVirtualScreenUsingStatus(true);
196 EXPECT_NE(rsInterfaces, nullptr);
209 EXPECT_NE(rsInterfaces, nullptr);
222 rsInterfaces->SetLayerTop(nodeIdStr, false);
223 EXPECT_NE(rsInterfaces, nullptr);
236 rsInterfaces->SetLayerTop(nodeIdStr, true);
[all …]
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_animation_supplement_test.cpp1033 auto& rsInterfaces = RSInterfaces::GetInstance(); variable
1034 rsInterfaces.EnableCacheForRotation();
1035 rsInterfaces.DisableCacheForRotation();
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessible_ability_manager_service.cpp1309 auto rsInterfaces = &(Rosen::RSInterfaces::GetInstance()); in SetCurtainScreenUsingStatus() local
1310 if (rsInterfaces == nullptr) { in SetCurtainScreenUsingStatus()
1315 rsInterfaces->SetCurtainScreenUsingStatus(isEnable); in SetCurtainScreenUsingStatus()