/test/testfwk/xdevice/src/xdevice/ |
H A D | __init__.py | 99 from _core.utils import get_file_absolute_path 100 from _core.utils import check_result_report 101 from _core.utils import get_device_log_file 102 from _core.utils import get_kit_instances 103 from _core.utils import get_config_value 104 from _core.utils import exec_cmd 105 from _core.utils import check_device_name 106 from _core.utils import do_module_kit_setup 107 from _core.utils import do_module_kit_teardown 108 from _core.utils impor [all...] |
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | surface_utils_test.cpp | 40 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 D | screen_manager_test.cpp | 336 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 D | insight_intent_utils_test.cpp | 129 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 D | surfaceutils_fuzzer.cpp | 50 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 D | b_sa_utils_mock.cpp | 22 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()
|
/test/xts/tools/lite/build/ |
H A D | suite.py | 27 import utils namespace 82 utils.copy_file(output=_out_file, 86 utils.copy_file(output=_out_file, 90 utils.build_js_hap(self.args.project_path, self.args. 93 utils.copy_file(output=_out_file, 108 utils.record_testmodule_info(self.args.build_target_name, 114 utils.copy_file(output=_config_file, sources=_test_xml, 153 tmpl_content = utils.read_file(tmpl_file) 156 utils.write_file(config_file, xml_content, False) 182 command = [utils [all...] |
/test/xts/tools/lite/ |
H A D | buildFun.sh | 67 suite_module_name=$(python test/xts/tools/lite/build/utils.py --method_name get_modulename_by_buildtarget --arguments module_list_file=${module_list_file}#build_target=${suite_build_target}) 68 subsystem_name=$(python test/xts/tools/lite/build/utils.py --method_name get_subsystem_name --arguments path=${element}) 70 python test/xts/tools/lite/build/utils.py --method_name record_testmodule_info --arguments build_target_name=${suite_module_name}#module_name=${suite_module_name}#subsystem_name=${subsystem_name}#suite_out_dir=${DIST_DIR}/json#same_file=True 100 python test/xts/tools/lite/build/utils.py --method_name generate_allinone_testjson_by_template --arguments tmpl_file=${BASE_HOME}/test/xts/acts/build_lite/Test.tmpl#module_name=OHOS_Image.fls#product_name=${PRODUCT}#config_file=${xts_root_dir_common}/testcases/${PRODUCT}/OHOS_Image.json 109 python test/xts/tools/lite/build/utils.py --method_name generate_allinone_testjson_by_template --arguments tmpl_file=${BASE_HOME}/test/xts/acts/build_lite/Test.tmpl#module_name=OHOS_Image.bin#product_name=${PRODUCT}#config_file=${xts_root_dir_common}/testcases/${PRODUCT}/OHOS_Image.json 113 python test/xts/tools/lite/build/utils.py --method_name record_testmodule_info --arguments build_target_name=OHOS_Image#module_name=OHOS_Image#subsystem_name=${PRODUCT}#suite_out_dir=${xts_root_dir_common}/testcases#same_file=True
|
/test/xts/tools/build/ |
H A D | suite.py | 27 import utils namespace 102 utils.copy_file(output=dist_tools_dir, source_dirs=gen_dir0, 104 utils.copy_file(output=dist_tools_dir, source_dirs=gen_dir1, 106 utils.copy_file(output=dist_tools_dir, source_dirs=gen_dir2, 108 utils.copy_file(output=self.args.suite_out_dir, sources=run_scripts, 114 utils.copy_file(output=acts_validator_tools_dir, source_dirs=gen_dir0, 116 utils.copy_file(output=acts_validator_tools_dir, source_dirs=gen_dir1, 118 utils.copy_file(output=acts_validator_dir, sources=run_scripts, 124 utils.copy_file(output=dist_configs_dir, 128 utils [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/src/ |
H A D | app_utils.cpp | 30 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 D | app_utils.cpp | 30 static AppUtils utils; in GetInstance() local 31 return utils; in GetInstance()
|
/test/testfwk/developer_test/src/core/command/ |
H A D | display.py | 27 from core.utils import get_file_list 28 from core.utils import get_file_list_by_postfix 29 from core.utils import get_build_output_path 30 from core.utils import scan_support_product
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/ |
H A D | rs_interfaces_virtual_screen_test.cpp | 92 RSInterfacesTestUtils utils; in HWTEST_F() local 93 ASSERT_TRUE(utils.CreateSurface()); in HWTEST_F() 94 defaultOption_.surface_ = utils.pSurface_; in HWTEST_F()
|
H A D | rs_interfaces_system_test.cpp | 93 RSInterfacesTestUtils utils;
in HWTEST_F() local 94 ASSERT_TRUE(utils.CreateSurface());
in HWTEST_F() 95 defaultOption_.surface_ = utils.pSurface_;
in HWTEST_F()
|
/test/testfwk/developer_test/src/core/build/ |
H A D | build_lite_testcases.sh | 31 #BUILD_TARGETS="${BUILD_TARGETS},//utils/native/lite/test/kv_store_hal:KvStoreTest" 41 echo " target : TARGET the target for build, such as //utils/native/lite/test:liteos_m_unittest." 124 suite_module_name=$(python test/xts/tools/lite/build/utils.py --method_name get_modulename_by_buildtarget --arguments module_list_file=${module_list_file}#build_target=${suite_build_target}) 126 subsystem_name=$(python test/xts/tools/lite/build/utils.py --method_name get_subsystem_name --arguments path=${element}) 128 python test/xts/tools/lite/build/utils.py --method_name record_testmodule_info --arguments build_target_name=${suite_module_name}#module_name=${suite_module_name}#subsystem_name=${subsystem_name}#suite_out_dir=${DIST_DIR}/json#same_file=True
|
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | handler.py | 69 from _core.utils import check_result_report 70 from _core.utils import get_repeat_round 71 from _core.utils import get_sub_path
|
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/ |
H A D | touch_point.py | 21 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 D | procedure_step.py | 21 from src.utils.log_wrapper import log_info 22 from src.utils.value_parser import get_value_as_str
|
H A D | event_scope.py | 26 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 D | dump_result.py | 22 from src.utils.log_wrapper import log_info 23 from src.utils.value_parser import pack_string_until_next_keyword
|
H A D | event_procedures.py | 24 from src.utils.log_wrapper import log_info 25 from src.utils.value_parser import pack_string_until_next_keyword
|
H A D | event_tree.py | 23 from src.utils.log_wrapper import log_info, log_error 24 from src.utils.value_parser import pack_string_until_next_keyword
|
H A D | frame_node.py | 21 from src.utils.log_wrapper import log_info 22 from src.utils.value_parser import get_value_as_int, get_value_as_str
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | screen_manager_test.cpp | 115 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/multimedia/image_framework/frameworks/innerkitsimpl/receiver/src/ |
H A D | image_receiver.cpp | 39 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()
|