| /base/web/webview/ |
| H A D | copy_files.py | 24 sys.path.append(os.path.join(PROJECT_DIR, 'build')) 25 sys.path.append(os.path.join(PROJECT_DIR, 'build/hb')) 30 INTERFACE_DIR = os.path.join(WORK_SPACE, 'ohos_interface') 31 INTERFACE_INCLUDE_DIR = os.path.join(INTERFACE_DIR, 'include') 32 INTERFACE_OHOS_GLUE_DIR = os.path.join(INTERFACE_DIR, 'ohos_glue') 45 source_files.append(os.path.join(root, name)) 52 src_file = os.path.join(src_dir, item) 53 dst_file = os.path.join(dst_dir, item) 61 nweb_include = os.path.join('ohos_nweb', 'include') 62 include_source_files = copy_files(os.path.join(INTERFACE_INCLUDE_DI [all...] |
| /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...] |
| /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...] |
| /base/security/selinux_adapter/scripts/ |
| H A D | build_policy_api.py | 75 folder_list.append(os.path.join(root, dir_i)) 85 path = os.path.join(root, each_file) 122 print("".join([policy_file, " : need an empty line at end\n"])) 128 cmdstr = " ".join(in_cmd) 149 check_policy_cmd = [os.path.join(args.tool_path, "checkpolicy"), 157 return "".join([string, "_", version]) 174 cil_write.write(" ".join(elem_list)) 186 cil_write.write(" ".join(elem_list)) 198 cil_write.write(" ".join(elem_list)) 210 cil_write.write(" ".join(elem_lis [all...] |
| H A D | build_contexts.py | 48 cmdstr = " ".join(in_cmd) 68 file_list_path = os.path.join(root, each_file) 75 return " ".join(str(x) for x in policy_file_list) 92 print("".join((contexts_file, " : need an empty line at end \n"))) 96 print("".join((contexts_file, " : must be unix format\n"))) 145 err_msg = "".join(str_seq) 148 err_msg = "".join(str_seq) 150 err_msg = "".join(str_seq) 165 check_cmd = [os.path.join(args.tool_path, "sefcontext_compile"), 230 check_cmd = [os.path.join(arg [all...] |
| H A D | build_ignore_cfg.py | 47 path = os.path.join(root_dir, i) 68 err = "".join((ignore_file, " : need an empty line at end ")) 74 err = "".join((ignore_file, " : must be unix format")) 77 err = "".join((ignore_file, " : line must not be only / or /*")) 80 err = "".join((ignore_file, " : line must end with / or /*")) 99 file_list_path = os.path.join(root, each_file) 103 err_str = "\n{}".format("\n".join(err_msg)) 138 line = "".join([line, "\n"]) 152 folder_list.append(os.path.join(root, dir_i)) 157 combined_ignore_cfg = os.path.join(output_pat [all...] |
| /base/security/selinux_adapter/scripts/selinux_check/ |
| H A D | check_baseline.py | 152 baseline_file_list = [os.path.join(script_path, "config/glb_def.txt")] 160 output_baseline = os.path.join(output_path, domain + BASELINE_SUFFIX) 173 expect_perm = ''.join(['(', ' '.join(set(baseline_map.get(diff, ''))), ')))']) 174 expect = ' '.join(['expect rule: (allow', domain, ' ('.join(diff), expect_perm]) 175 actual_perm = ''.join(['(', ' '.join(set(domain_policy.get(diff, ''))), ')))']) 176 actual = ' '.join(['actual rule: (allow', domain, ' ('.join(dif [all...] |
| H A D | selinux_check_main.py | 31 request_args.append(os.path.join(args.output_path, "file_contexts")) 34 request_args.append(os.path.join(args.output_path, "all.cil")) 36 request_args.append(os.path.join(args.output_path, "developer/all.cil")) 41 check_policy_cmd = [os.path.join(args.tool_path, "checkpolicy"), 44 "-o", os.path.join(args.output_path, "all.cil")] 46 check_policy_cmd = [os.path.join(args.tool_path, "checkpolicy"), 49 "-o", os.path.join(args.output_path, "developer/all.cil")] 61 path = os.path.join(args.source_root_dir, i) 87 check_config = read_json_file(os.path.join(input_args.source_root_dir, input_args.selinux_check_config)) 90 script = os.path.join(input_arg [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...] |
| /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...] |
| /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...] |
| /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/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/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/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...] |
| /base/update/packaging_tools/test/ |
| H A D | create_package_data.py | 95 create_file(os.path.join(package_name_path, "system.img"), get_target_vendor_data())
106 create_file(os.path.join(package_name_path, "vendor.img"), vendor_content)
108 create_file(os.path.join(package_name_path, "updater_binary"), UPDATER_BINARY_DATA)
111 create_file(os.path.join(package_name_path, "uImage"), get_target_vendor_data())
112 create_file(os.path.join(package_name_path, "updater.img"), get_target_vendor_data())
113 create_file(os.path.join(package_name_path, "updater_b.img"), get_target_vendor_data())
114 create_file(os.path.join(package_name_path, "updater_uImage"), get_target_vendor_data())
119 create_file(os.path.join(updater_config_path, "BOARD.list"), BOARD_LIST_DATA)
121 create_file(os.path.join(updater_config_path, "VERSION.mbn"), VERSION_MBN_DATA)
133 create_file(os.path.join(updater_config_pat [all...] |
| /test/testfwk/developer_test/aw/python/distributed/distribute/ |
| H A D | distribute.py | 37 sys.xdevice_dir = os.path.abspath(os.path.join( 41 sys.xdevice_dir = os.path.abspath(os.path.join( 47 sys.adapter_dir = os.path.abspath(os.path.join( 92 if not os.path.exists(os.path.join(result_save_path, file_name)): 208 final_file = os.path.join(file_dir, file_name.split('.')[0] + ".desc") 226 device.push_file(os.path.join(self.suite_dir, "agent.desc"), 228 device.push_file(os.path.join(resource_dir, target_name), 231 suite_path = os.path.join(self.suite_dir, target_name) 243 device.push_file(os.path.join(self.suite_dir, "major.desc"), 245 device.push_file(os.path.join(resource_di [all...] |
| /test/testfwk/developer_test/src/core/driver/ |
| H A D | drivers.py | 105 content = "".join((self.unfinished_line, content)) 125 log_path = os.path.join(report_path, Variables.report_vars.log_dir) 130 device_log_file = os.path.join(log_path, device_file_name) 155 result_path = os.path.join(result_rootpath, "result", subpath) 157 result_path = os.path.join(result_rootpath, "result") 159 result_path = os.path.join(result_rootpath, "result") 170 test_log_path = os.path.join(result_rootpath, "log", "test_log", suit_path) 190 crash_path = os.path.join(log_path, "log", test_suit) 194 matching_dirs = [os.path.join(crash_path, item) for item in all_items if 195 os.path.isdir(os.path.join(crash_pat [all...] |