/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/ |
H A D | rsinterfaces_fuzzer.cpp | 97 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 D | rs_interfaces_test.cpp | 42 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 D | rs_screen_skipframe_test.cpp | 35 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 D | rs_virtual_screen_refresh_rate_test.cpp | 35 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 D | rs_interfaces_system_test.cpp | 190 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 D | screen_info_demo.cpp | 25 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 D | sa_perform_action_xts.cpp | 1282 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 D | samgr_register_element_test.cpp | 1282 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 D | rs_animation_supplement_test.cpp | 1046 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 D | accessible_ability_manager_service.cpp | 1287 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()
|