/test/testfwk/developer_test/local_coverage/ |
H A D | coverage_tools.py | 35 all_system_info_path = os.path.join( 38 system_info_path = os.path.join( 62 coverage_path = os.path.join(developer_path, "reports/coverage") 63 code_path = os.path.join( 73 gcda_dir_path = os.path.join(developer_path, "local_coverage/code_coverage/results/coverage/data/cxx") 76 remove_out = os.path.join(gcda_dir_path, i, "obj/out") 77 remove_thrd = os.path.join(gcda_dir_path, i, "obj/third_party") 87 coverage_rc_path = os.path.join( 90 lcovrc_cov_template_path = os.path.join(coverage_rc_path, "lcovrc_cov_template") 92 tmp_cov_path = os.path.join(coverage_rc_pat [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
H A D | hdf_utils.py | 30 self.upper = '_'.join([w.upper() for w in self.words_list]) 31 self.lower = '_'.join([w.lower() for w in self.words_list]) 32 self.upper_camel = ''.join([w.capitalize() for w in self.words_list]) 206 return os.path.join(root, 'drivers', 'adapter', 'khdf', 'liteos') 210 return os.path.join(root, 'vendor') 214 return os.path.join(get_vendor_root_dir(root), vendor) 219 return os.path.join(root, relative_path) 229 create_file_save_path = os.path.join(adapter_framework, save_file_path) 239 return os.path.join(root, relative_path) 244 return os.path.join(roo [all...] |
/test/testfwk/developer_test/local_coverage/code_coverage/ |
H A D | multiprocess_code_coverage.py | 46 sys.localcoverage_path = os.path.join(current_path, "..") 54 print("execute command: {}".format(" ".join(cmd_list))) 67 coverage_log_path = os.path.join( 80 subsystem_config_filepath = os.path.join(CODEPATH, SYSTEM_JSON) 96 subsystem_rootpath.append(os.path.join(CODEPATH, path)) 140 topdir = os.path.join(cov_path, "obj") 150 if not os.path.isfile(os.path.join(find_path, fn)): 166 gcno_path = os.path.join( 167 os.path.join(CODEPATH, OUTPUT), gcda_strip_path, gcno_name 181 src_dir = os.path.join(CODEPAT [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/ |
H A D | extension.js | 25 let whiteCutImg = fs.readFileSync(path.join(imgDir, cutImgDict_['whiteCut'])); 27 let circleImg = fs.readFileSync(path.join(imgDir, cutImgDict_['circleCut'])); 29 let cicleOpenImg = fs.readFileSync(path.join(imgDir, cutImgDict_['circleOpenCut'])); 31 let rectangleFocusImg = fs.readFileSync(path.join(imgDir, cutImgDict_['rectangleFocusCut'])); 33 let nodeIconImg = fs.readFileSync(path.join(imgDir, cutImgDict_['nodeIconCut'])); 35 let attrIconImg = fs.readFileSync(path.join(imgDir, cutImgDict_['attrIconCut'])); 37 let rootIconImg = fs.readFileSync(path.join(imgDir, cutImgDict_['rootIconCut'])); 39 let rootIconFocusImg = fs.readFileSync(path.join(imgDir, cutImgDict_['rootIconFocusCut'])); 41 let backgroundImg = fs.readFileSync(path.join(imgDir, cutImgDict_['backgroundCut'])); 43 let popItemFocusImg = fs.readFileSync(path.join(imgDi [all...] |
/test/testfwk/developer_test/src/core/build/ |
H A D | pretreat_targets.py | 72 template_path = os.path.join(sys.framework_root_dir, "libs", 74 target_path = os.path.join(sys.source_code_root_path, path) 75 config_path = os.path.join(target_path, "config.json") 76 gn_path = os.path.join(target_path, "BUILD.gn") 77 gn_bak_path = os.path.join(target_path, "BuildBak") 78 test_path = os.path.join(target_path, "src", "main", "js", 101 shutil.copytree(template_path, os.path.join(target_path, "src")) 102 shutil.copy(config_path, os.path.join(target_path, "src", "main")) 107 shutil.copy(os.path.join(target_path, file), test_path) 108 with os.fdopen(os.open(os.path.join(test_pat [all...] |
/drivers/hdf_core/framework/tools/hc-gen/test/ |
H A D | hcgen_test.py | 95 source_root = os.path.abspath(os.path.join(TestConfig.WORK_DIR, source_root)) 96 hcgen = os.path.join(source_root, compiler_name) 98 hcgen = os.path.join(source_root, TestConfig.CMAKE_GEN_PATH, compiler_name) 108 if os.path.isdir(os.path.join(case_path, dir_name)): 115 result_file_name = os.path.join(TestConfig.WORK_DIR, case_name, 136 output_dir = os.path.join(TestConfig.WORK_DIR, TestConfig.TEMP_DIR, case_name) 139 output_file = os.path.join(output_dir, 'golden') 140 source_file = os.path.join(TestConfig.WORK_DIR, case_name, 'case.hcs') 141 temp_dir = os.path.join(TestConfig.WORK_DIR, TestConfig.TEMP_DIR) 176 case_hcb = os.path.join(TestConfi [all...] |
/test/xts/tools/build/ |
H A D | suite.py | 56 resource_reldir = ''.join(chr(ord(ch) - 1) for ch in XTS_RESOURCE_ROOT) 57 return os.path.join(xts_root, resource_reldir) 79 ohos_dir = os.path.join(self.args.source_dir, 'plugins', 'ohos') 80 devicetest_dir = os.path.join(self.args.source_dir, 'plugins', 'devicetest') 81 gen_dir0 = os.path.join(self.args.source_dir, 'dist') 82 gen_dir1 = os.path.join(ohos_dir, 'dist') 83 gen_dir2 = os.path.join(devicetest_dir, 'dist') 97 run_scripts = ",".join( 98 [os.path.join(self.args.source_dir, "run.bat"), 99 os.path.join(sel [all...] |
/test/testfwk/developer_test/src/core/ |
H A D | utils.py | 60 file_name = os.path.join(dirs[0], file_name)
67 log_path = os.path.join(report_path, "log")
72 device_log_file = os.path.join(log_path, device_file_name)
97 build_output_name = os.path.join(first_build_output,
100 build_output_path = os.path.join(sys.source_code_root_path,
110 product_form_dir = os.path.join(sys.source_code_root_path,
117 if os.path.isdir(os.path.join(product_form_dir,
131 ohos_config_path = os.path.join(sys.source_code_root_path, "out", "ohos_config.json")
139 device_json_file = os.path.join(sys.source_code_root_path,
157 build_prop = os.path.join(sy [all...] |
/test/xts/acts/arkui/libuv/ |
H A D | genlocal.py | 79 mustpass = os.path.join(G_MUSTPASSPATH, "{}{}".format(suiteitem, G_MUSTPASSFILE)) 100 pagefilename = os.path.join(hapdirpath, G_PATHDIRPATH, "{}.ets".format(suitename)) 101 attrtmp = os.path.join(G_TMPPATH, G_PAGEATTRTEMPPATH) 116 temppagefilename = os.path.join(G_TMPPATH, G_PAGETEMPPATH) 122 pagefilename = os.path.join(hapdirpath, G_PATHDIRPATH, "{}.ets".format(suitename)) 128 attrtmp = os.path.join(G_TMPPATH, G_PAGEATTRTEMPPATH) 138 temptestfilename = os.path.join(G_TMPPATH, G_TESTCASETEMPPATH) 139 testfilename = os.path.join(hapdirpath, G_TESTDIRPATH, "{}.test.ets".format(suitename)) 148 configjsonname = os.path.join(hapdirpath, G_CONFIGJSONPATH) 152 buildgnname = os.path.join(hapdirpat [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_add_handler.py | 43 help=' '.join(self.handlers.keys()), 67 template_path = os.path.join(templates_dir, template) 68 file_path = os.path.join(out_dir, filename) 126 os.path.join('resources', config_name)) 151 adapter_model_path = os.path.join(adapter_hdf, 'model', module) 192 template_path = os.path.join(framework_hdf, temp_path) 197 out_path = os.path.join(adapter_model_path, file_name) 198 self._render(os.path.join(template_path, i), 243 template_path = os.path.join(framework_hdf, temp_path) 248 out_path = os.path.join(adapter_model_pat [all...] |
H A D | hdf_linux_scann.py | 74 model_path = os.path.join(os.path.sep.join(
92 model_defconfig_list.append(os.path.join(roots, file_name))
106 if os.path.join(model_path[0],
109 os.path.join(model_path[0], 'Makefile'))
116 path = os.path.join(self.framework_dir, model_name)
120 os.path.join(root_path, file_name))
124 parent_path = "/".join(model_makefile_path.split("/")[:-1])
128 config_file_path.append(os.path.join(parent_path, i))
249 parent_path = "/".join(makefile_pat [all...] |
H A D | hdf_driver_config_file.py | 30 board_path = os.path.join(self.root, bpp, self.board) 35 self.config_dir = os.path.join(board_path, 'hdf_config') 36 self.drv_dir = os.path.join(self.config_dir, self.module) 37 self.drv_config_path = os.path.join( 41 manager_hcs_path = os.path.join(self.config_dir, 'device_info', 44 hdf_hcs_path = os.path.join(self.config_dir, 'hdf.hcs')
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_add_handler.py | 34 help=' '.join(self.handlers.keys()),
87 tempath_path = os.path.join(self.args.root_dir,
93 hdi_template_path = os.path.join(
142 interface_folder_path = os.path.join(
149 inter_name_version = os.path.join(interface_folder_path, version)
161 file = '.'.join(file.split('.')[0].split('_'))
163 file = '.'.join(file.split('.')[0].split('_'))
164 src_path = os.path.join(hdi_template_path, file_src)
166 dst_path = os.path.join(interface_folder_path, file)
171 dst_path = os.path.join(inter_name_versio [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/ |
H A D | hdf_add_driver.py | 59 adapter_model_path = os.path.join(adapter_hdf, 'model', self.module)
106 build_file_path = os.path.join(adapter_model_path, file_name)
122 makefile_path = os.path.join(adapter_model_path, file_name)
134 kconfig_path = os.path.join(adapter_model_path, file_name)
281 lambda template_name: os.path.join(target_path, template_name),
284 temp_path = os.path.sep.join(path_list[:-1])
295 source_file_name = os.path.join(source_file, create_source_name)
326 lambda template_name: os.path.join(target_path, template_name),
329 temp_path = os.path.sep.join(path_list[:-1])
339 head_file_name = os.path.join(head_pat [all...] |
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | init_gcov.py | 34 sys.localcoverage_path = os.path.join(current_path, "..") 42 recv_path = os.path.join(developer_path, "local_coverage/resident_service/resources") 45 recv_restores_path = os.path.join(recv_path, "restores_environment") 48 recv_restores_name = os.path.join(recv_restores_path, "init.cfg") 54 cfg_file_path = os.path.join(recv_path, "init.cfg") 93 recv_path = os.path.join(developer_path, "local_coverage/resident_service/resources") 97 cfg_file_path = os.path.join(recv_path, "faultloggerd.cfg") 143 tree.write(os.path.join(config_path, 'foundation.xml'), encoding='utf-8', xml_declaration=True) 144 return os.path.join(config_path, 'foundation.xml') 166 new_json = os.path.join(config_pat [all...] |
H A D | pull_service_gcda.py | 26 sys.localcoverage_path = os.path.join(current_path, "..") 43 origin_foundation = os.path.join(cfg_path, "foundation_origin.json") 65 local_sh_path = os.path.join(resident_service_path, "resources", "gcov_flush.sh") 81 home_path = '/'.join(roots_path.split("/")[:3]) 86 gcov_root = os.path.join(gcda_path, 'out', product_name, component_gcda_path) 96 os.path.join(developertest_path, "reports/coverage/data/cxx", 101 tar_path = os.path.join(gcda_file_path, "%s.tar.gz" % gcda_file_name) 106 local_tar = os.path.join(local_gcda_path, "%s.tar.gz" % gcda_file_name) 142 developer_test_path = os.path.join(root_path, "test/testfwk/developer_test") 143 service_path = os.path.join( [all...] |
/drivers/hdf_core/framework/tools/idl-gen/testcase/ |
H A D | test_idl_generator.py | 28 self.assertEqual("".join(generator._idl), "package h.audio.test;\n\n") 32 self.assertEqual("".join(generator._idl), "package h.audio.test;\n\n") 36 self.assertEqual("".join(generator._idl), "package h.audio.test;\n\n") 40 self.assertEqual("".join(generator._idl), "package h.audio.test;\n\n") 62 self.assertEqual("".join(generator._idl), "import include.audio.AudioRender;\n\n") 91 self.assertEqual("".join(generator._idl), "import include.audio.AudioRender;\n" 118 "".join(generator._idl), 142 self.assertEqual("".join(generator._idl), "import include.Types;\n\n") 171 self.assertEqual("".join(generator._idl), "import include.Types;\n\n") 201 "".join(generato [all...] |
/test/testfwk/developer_test/libs/fuzzlib/ |
H A D | fuzzer_helper.py | 51 SOURCE_OUT_DIR = os.path.join(SOURCE_ROOT_DIR, "out") 53 TDD_BUILD_GN_PATH = os.path.join( 79 return ' '.join(pipes.quote(part) for part in command) 94 project_yaml_path = os.path.join( 123 project_dir_path = os.path.join(args.project_path, args.project_name) 135 file_path = os.path.join(project_dir_path, 'project.xml') 141 file_path = os.path.join(project_dir_path, "%s.cpp" % args.project_name) 147 file_path = os.path.join(project_dir_path, "%s.h" % args.project_name) 152 file_path = os.path.join(project_dir_path, "BUILD.gn") 158 corpus_dir = os.path.join(project_dir_pat [all...] |
/test/testfwk/developer_test/local_coverage/push_coverage_so/ |
H A D | push_coverage.py | 24 sys.localcoverage_path = os.path.join(current_path, "..") 34 parts_info_json = os.path.join(out_path, "build_configs", "parts_info", "part_subsystem.json") 53 parts_info_json = os.path.join(out_path, "build_configs", "parts_info", "parts_path_info.json") 62 path = os.path.join(out_path, "obj", json_obj[test_part]) 74 subsystem_config_json = os.path.join(out_path, "build_configs", "subsystem_info", "subsystem_build_config.json") 90 path.append(os.path.join(out_path, "obj", s)) 119 source_path = os.path.join(out_path, json_obj["source"]) 146 full_dest = os.path.join("/", dest_path) 160 out_path = os.path.join(root_path, "out", get_product_name(root_path)) 161 developer_path = os.path.join(root_pat [all...] |
/test/xts/tools/lite/build/ |
H A D | suite.py | 79 _out_file = os.path.join(_suite_out_file, 103 _config_file = os.path.join(_suite_out_file, 106 _config_file = os.path.join(_out_file, 129 module_info_list_file = os.path.join(module_info_dir, 181 ohos_dir = os.path.join(self.args.project_dir, 'plugins', 'ohos') 183 factory_script = os.path.join(self.args.project_dir, "factory.sh") 194 dist_dir = os.path.join(self.args.project_dir, 'dist') 195 ohos_dist_dir = os.path.join(ohos_dir, 'dist') 196 run_scripts = ",".join( 197 [os.path.join(sel [all...] |
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider2/entry/src/main/ets/model/ |
H A D | Logger.ts | 20 console.log(`${TAG}.${tag}: ${args.join('')}`) 24 console.info(`${TAG}.${tag}: ${args.join('')}`) 28 console.debug(`${TAG}.${tag}: ${args.join('')}`) 32 console.warn(`${TAG}.${tag}: ${args.join('')}`) 36 console.error(`${TAG}.${tag}: ${args.join('')}`)
|
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionservice/entry/src/main/ets/model/ |
H A D | Logger.ts | 20 console.log(`${TAG}.${tag}: ${args.join('')}`) 24 console.info(`${TAG}.${tag}: ${args.join('')}`) 28 console.debug(`${TAG}.${tag}: ${args.join('')}`) 32 console.warn(`${TAG}.${tag}: ${args.join('')}`) 36 console.error(`${TAG}.${tag}: ${args.join('')}`)
|
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider/entry/src/main/ets/model/ |
H A D | Logger.ts | 20 console.log(`${TAG}.${tag}: ${args.join('')}`) 24 console.info(`${TAG}.${tag}: ${args.join('')}`) 28 console.debug(`${TAG}.${tag}: ${args.join('')}`) 32 console.warn(`${TAG}.${tag}: ${args.join('')}`) 36 console.error(`${TAG}.${tag}: ${args.join('')}`)
|
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider3/entry/src/main/ets/model/ |
H A D | Logger.ts | 20 console.log(`${TAG}.${tag}: ${args.join('')}`) 24 console.info(`${TAG}.${tag}: ${args.join('')}`) 28 console.debug(`${TAG}.${tag}: ${args.join('')}`) 32 console.warn(`${TAG}.${tag}: ${args.join('')}`) 36 console.error(`${TAG}.${tag}: ${args.join('')}`)
|
/test/testfwk/developer_test/src/core/command/ |
H A D | run.py | 61 target_out_path = os.path.join(
102 testcase_path = os.path.abspath(os.path.join(
106 testcase_path = os.path.abspath(os.path.join(
110 testcase_path = os.path.join(
119 xts_testcase_path = os.path.abspath(os.path.join(
129 external_deps_path = os.path.abspath(os.path.join(
156 current_raw_cmd = ",".join(list(map(str, options.current_raw_cmd.split(" "))))
159 push_cov_path = os.path.join(sys.framework_root_dir, "local_coverage/push_coverage_so/push_coverage.py")
177 init_gcov_path = os.path.join(sys.framework_root_dir, "local_coverage/resident_service/init_gcov.py")
264 latest_report_path = os.path.join(Variable [all...] |