Home
last modified time | relevance | path

Searched refs:utils (Results 1 - 25 of 44) sorted by relevance

12

/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dsurface_utils_test.cpp40 static inline SurfaceUtils *utils = nullptr; member in OHOS::Rosen::SurfaceUtilsTest
68 utils = nullptr; in TearDownTestCase()
81 utils = SurfaceUtils::GetInstance(); in HWTEST_F()
82 ASSERT_NE(utils, nullptr); in HWTEST_F()
95 GSError ret = utils->Add(psurface1->GetUniqueId(), nullptr); in HWTEST_F()
109 GSError ret = utils->Add(psurface1->GetUniqueId(), psurface1); in HWTEST_F()
112 ret = utils->Add(psurface1->GetUniqueId(), psurface1); in HWTEST_F()
126 sptr<Surface> surface = utils->GetSurface(0); in HWTEST_F()
140 sptr<Surface> surface1 = utils->GetSurface(psurface1->GetUniqueId()); in HWTEST_F()
156 sptr<Surface> surface2 = utils in HWTEST_F()
[all...]
/foundation/window/window_manager/test/systemtest/dms/
H A Dscreen_manager_test.cpp336 DisplayTestUtils utils; in HWTEST_F() local
337 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
338 defaultOption_.surface_ = utils.psurface_; in HWTEST_F()
355 DisplayTestUtils utils; in HWTEST_F() local
356 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
357 defaultOption_.surface_ = utils.psurface_; in HWTEST_F()
379 DisplayTestUtils utils; in HWTEST_F() local
382 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
383 defaultOption_.surface_ = utils.psurface_; in HWTEST_F()
399 DisplayTestUtils utils; in HWTEST_F() local
426 DisplayTestUtils utils; HWTEST_F() local
465 DisplayTestUtils utils; HWTEST_F() local
527 DisplayTestUtils utils; HWTEST_F() local
577 DisplayTestUtils utils; HWTEST_F() local
633 DisplayTestUtils utils; HWTEST_F() local
664 DisplayTestUtils utils; HWTEST_F() local
718 DisplayTestUtils utils; HWTEST_F() local
766 DisplayTestUtils utils; HWTEST_F() local
817 DisplayTestUtils utils; HWTEST_F() local
874 DisplayTestUtils utils; HWTEST_F() local
972 DisplayTestUtils utils; HWTEST_F() local
1010 DisplayTestUtils utils; HWTEST_F() local
1063 DisplayTestUtils utils; HWTEST_F() local
1102 DisplayTestUtils utils; HWTEST_F() local
1141 DisplayTestUtils utils; HWTEST_F() local
1174 DisplayTestUtils utils; HWTEST_F() local
1204 DisplayTestUtils utils; HWTEST_F() local
1238 DisplayTestUtils utils; HWTEST_F() local
1289 DisplayTestUtils utils; HWTEST_F() local
1326 DisplayTestUtils utils; HWTEST_F() local
1363 DisplayTestUtils utils; HWTEST_F() local
1400 DisplayTestUtils utils; HWTEST_F() local
1437 DisplayTestUtils utils; HWTEST_F() local
1474 DisplayTestUtils utils; HWTEST_F() local
1511 DisplayTestUtils utils; HWTEST_F() local
1548 DisplayTestUtils utils; HWTEST_F() local
1585 DisplayTestUtils utils; HWTEST_F() local
1622 DisplayTestUtils utils; HWTEST_F() local
1659 DisplayTestUtils utils; HWTEST_F() local
1696 DisplayTestUtils utils; HWTEST_F() local
1733 DisplayTestUtils utils; HWTEST_F() local
1770 DisplayTestUtils utils; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/insight_intent/insight_intent_utils_test/
H A Dinsight_intent_utils_test.cpp129 AbilityRuntime::InsightIntentUtils utils; in HWTEST_F() local
131 auto result = utils.GetSrcEntry(element1, TEST_INTENT_NAME, ExecuteMode::SERVICE_EXTENSION_ABILITY, in HWTEST_F()
135 result = utils.GetSrcEntry(element2, TEST_INTENT_NAME, ExecuteMode::SERVICE_EXTENSION_ABILITY, TEST_SRC_ENTRY); in HWTEST_F()
138 result = utils.GetSrcEntry(element3, TEST_INTENT_NAME, ExecuteMode::SERVICE_EXTENSION_ABILITY, TEST_SRC_ENTRY); in HWTEST_F()
141 result = utils.GetSrcEntry(element4, TEST_INTENT_NAME, ExecuteMode::SERVICE_EXTENSION_ABILITY, TEST_SRC_ENTRY); in HWTEST_F()
160 AbilityRuntime::InsightIntentUtils utils; in HWTEST_F() local
162 auto result = utils.GetSrcEntry(element1, TEST_INTENT_NAME, ExecuteMode::SERVICE_EXTENSION_ABILITY, in HWTEST_F()
167 result = utils.GetSrcEntry(element1, TEST_INTENT_NAME, ExecuteMode::SERVICE_EXTENSION_ABILITY, in HWTEST_F()
187 AbilityRuntime::InsightIntentUtils utils; in HWTEST_F() local
189 auto result = utils in HWTEST_F()
209 AbilityRuntime::InsightIntentUtils utils; HWTEST_F() local
[all...]
/foundation/graphic/graphic_surface/surface/test/fuzztest/surfaceutils_fuzzer/
H A Dsurfaceutils_fuzzer.cpp50 SurfaceUtils* utils = SurfaceUtils::GetInstance(); in DoSomethingInterestingWithMyAPI() local
51 sptr<OHOS::Surface> surface = utils->GetSurface(uniqueId1); in DoSomethingInterestingWithMyAPI()
52 utils->Add(uniqueId1, surface); in DoSomethingInterestingWithMyAPI()
53 utils->Add(uniqueId2, pSurface); in DoSomethingInterestingWithMyAPI()
54 utils->Remove(uniqueId3); in DoSomethingInterestingWithMyAPI()
63 utils->ComputeTransformMatrix(matrix, matrixSize, buffer, transformType, crop); in DoSomethingInterestingWithMyAPI()
64 utils->GetNativeWindow(uniqueId1); in DoSomethingInterestingWithMyAPI()
/foundation/filemanagement/app_file_service/tests/mock/utils_mock/src/
H A Db_sa_utils_mock.cpp22 return BSAUtils::utils->IsSABundleName(bundleName); in IsSABundleName()
27 return BSAUtils::utils->CheckBackupPermission(); in CheckBackupPermission()
32 return BSAUtils::utils->CheckPermission(permission); in CheckPermission()
37 return BSAUtils::utils->IsSystemApp(); in IsSystemApp()
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/src/
H A Dapp_utils.cpp30 static AppUtils utils; in GetInstance() local
31 return utils; in GetInstance()
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_seventh_test/src/
H A Dapp_utils.cpp30 static AppUtils utils; in GetInstance() local
31 return utils; in GetInstance()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/
H A Drs_interfaces_virtual_screen_test.cpp92 RSInterfacesTestUtils utils; in HWTEST_F() local
93 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
94 defaultOption_.surface_ = utils.pSurface_; in HWTEST_F()
H A Drs_interfaces_system_test.cpp93 RSInterfacesTestUtils utils; in HWTEST_F() local
94 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
95 defaultOption_.surface_ = utils.pSurface_; in HWTEST_F()
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/
H A Dtouch_point.py21 from src.utils.log_wrapper import log_info
22 from src.utils.value_parser import get_value_as_int, get_value_as_str
H A Dprocedure_step.py21 from src.utils.log_wrapper import log_info
22 from src.utils.value_parser import get_value_as_str
H A Devent_scope.py26 from src.utils.log_wrapper import log_info
27 from src.utils.value_parser import get_value_as_int, pack_string_until_next_keyword
H A Ddump_result.py22 from src.utils.log_wrapper import log_info
23 from src.utils.value_parser import pack_string_until_next_keyword
H A Devent_procedures.py24 from src.utils.log_wrapper import log_info
25 from src.utils.value_parser import pack_string_until_next_keyword
H A Devent_tree.py23 from src.utils.log_wrapper import log_info, log_error
24 from src.utils.value_parser import pack_string_until_next_keyword
H A Dframe_node.py21 from src.utils.log_wrapper import log_info
22 from src.utils.value_parser import get_value_as_int, get_value_as_str
H A Devent_node.py25 from src.utils.log_wrapper import log_info, log_error
26 from src.utils.value_parser import get_value_as_int, get_value_as_str, get_value_as_float
H A Dstate_history.py21 from src.utils.log_wrapper import log_info
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/receiver/src/
H A Dimage_receiver.cpp39 SurfaceUtils* utils = SurfaceUtils::GetInstance(); in ~ImageReceiver() local
40 if (receiverProducerSurface_ != nullptr && utils != nullptr) { in ~ImageReceiver()
41 utils->Remove(receiverProducerSurface_->GetUniqueId()); in ~ImageReceiver()
210 SurfaceUtils* utils = SurfaceUtils::GetInstance(); in CreateImageReceiver() local
211 if (utils != nullptr) { in CreateImageReceiver()
212 utils->Add(iva->receiverProducerSurface_->GetUniqueId(), iva->receiverProducerSurface_); in CreateImageReceiver()
/foundation/window/window_manager/dm/test/unittest/
H A Dscreen_manager_test.cpp115 ScreenManagerUtils utils; in HWTEST_F() local
116 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
118 defaultDensity_, utils.psurface_, defaultFlags_}; in HWTEST_F()
136 ScreenManagerUtils utils; in HWTEST_F() local
137 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
139 defaultDensity_, utils.psurface_, defaultFlags_}; in HWTEST_F()
195 ScreenManagerUtils utils; in HWTEST_F() local
196 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F()
205 DMError surfaceRes = ScreenManager::GetInstance().SetVirtualScreenSurface(id, utils.psurface_); in HWTEST_F()
219 ScreenManagerUtils utils; in HWTEST_F() local
482 ScreenManagerUtils utils; HWTEST_F() local
[all...]
/foundation/filemanagement/app_file_service/tests/mock/utils_mock/include/
H A Db_sa_utils_mock.h34 static inline std::shared_ptr<BSAUtils> utils = nullptr; member in OHOS::FileManagement::Backup::BSAUtils
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/
H A Dcontent_parser.py24 from src.utils.log_wrapper import log_error
H A Dpre_process.py24 from src.utils.log_wrapper import log_info
/foundation/systemabilitymgr/samgr/test/autotest/tools/
H A Dget_source_path.py17 from devicetest.utils.file_util import get_resource_path
/foundation/graphic/graphic_2d/frameworks/surfaceimage/src/
H A Dsurface_image.cpp103 auto utils = SurfaceUtils::GetInstance(); in UpdateSurfaceInfo() local
104 utils->ComputeTransformMatrix(currentTransformMatrix_, TRANSFORM_MATRIX_ELE_COUNT, in UpdateSurfaceInfo()
106 utils->ComputeTransformMatrixV2(currentTransformMatrixV2_, TRANSFORM_MATRIX_ELE_COUNT, in UpdateSurfaceInfo()
433 auto utils = SurfaceUtils::GetInstance(); in AcquireNativeWindowBuffer() local
434 utils->ComputeTransformMatrixV2(currentTransformMatrixV2_, TRANSFORM_MATRIX_ELE_COUNT, in AcquireNativeWindowBuffer()

Completed in 15 milliseconds

12