/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...] |
/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...] |
/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...] |
H A D | hdf_tool_settings.py | 30 return os.path.join(cur_dir, 'resources') 36 self.file_path = os.path.join(get_hdf_tool_resources_path(), 'settings.json') 69 return ','.join(self.settings.get(key).keys()) 113 return [os.path.join(dot_config_path, config) for config in configs] 140 return os.path.join(cur_dir, 'resources') 168 self.hdi_file_path = os.path.join(cur_dir, hdi_config_path)
|
/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...] |
H A D | update_case.py | 62 source_root = os.path.abspath(os.path.join(TestConfig.WORK_DIR, source_root)) 63 hcgen_path = os.path.join(source_root, compiler_name) 65 hcgen_path = os.path.join(source_root, TestConfig.CMAKE_GEN_PATH, compiler_name) 76 if os.path.isdir(os.path.join(case_path, directory)): 83 result_file_name = os.path.join(TestConfig.WORK_DIR, case_name, 96 source_file = os.path.join(TestConfig.WORK_DIR, case_name, 'golden.hcb') 97 target_file = os.path.join(TestConfig.WORK_DIR, case_name, 'golden') 119 source_file = os.path.join(TestConfig.WORK_DIR, case_name, 'case.hcs') 120 target_file = os.path.join(TestConfig.WORK_DIR, case_name, 'golden') 148 source_file = os.path.join(TestConfi [all...] |
/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...] |
H A D | hdi_get_handler.py | 29 help=' '.join(self.handlers.keys()),
45 hdi_file = os.path.join(
74 lambda val: os.path.join(self.root, val),
78 lambda val: os.path.join(self.root, val),
|
H A D | hdi_delete_handler.py | 32 help=' '.join(self.handlers.keys()),
94 hdi_config_path = os.path.join(
115 dir_path = os.path.join(pre_handler, pre_handler_file_list[0])
119 dir_path = os.path.join(dir_path, temp_list[0])
168 new_line = (" " * space_num).join(temp_line)
215 result_test_str = "/".join([temp_str, "test:{peripheral_name}_unittest".
|
/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_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')
|
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_delete_handler.py | 44 help=' '.join(self.handlers.keys()), 66 hdf_utils.write_file(file_path, "".join(temp_info.split(res))) 77 hdf_utils.write_file(file_path, "".join(temp_info.split(res))) 117 path=os.path.join(root, dot_path)) 131 os.path.join( 135 config_path = os.path.join( 165 mod_dir = os.path.join(vendor_hdf_dir, module) 176 driver_file = os.path.join( 244 file_path = os.path.join(root, module_value) 254 file_path = os.path.join(roo [all...] |
H A D | hdf_vendor_kconfig_file.py | 51 hdf_utils.write_file(self.kconfig_path, ''.join(self.lines)) 59 k_path = os.path.join(self.root, k_path_raw) 70 module_k_part = '/'.join(module_to_k_path_parts)
|
H A D | operate_group_passwd.py | 25 self.passwd_file = os.path.join(root_path, etc_path.get("passwd").get("path"))
26 self.group_file = os.path.join(root_path, etc_path.get("group").get("path"))
63 base_group_passwd_str = ":".join(self.group_newline.strip().strip(":").split(":")[:-1])
|
H A D | hdf_get_handler.py | 51 help=' '.join(self.handlers.keys()), 72 return ','.join(vendors) 135 return os.path.realpath(os.path.join(root_path, file_name)) 190 model_device_file_path = os.path.join(resources_path, file_name) 214 temp_device_path = os.path.join(self.args.root_dir, device_path, device_name) 241 model_driver_file_path = os.path.join(resources_path, temp_file_name) 301 os.path.join(self.args.root_dir, elem)), value)) 303 list(map(lambda element: os.path.join(self.args.root_dir, element), 306 temp_path = os.path.join(self.args.root_dir, value)
|
H A D | hdf_device_info_hcs.py | 34 self.hcspath = os.path.join(self.root, board_hcs_path, "device_info.hcs")
40 "module_name": "_".join([self.module, self.driver]).upper()
88 template_file_path = os.path.join(
93 template_file_path = os.path.join(
116 template_path = os.path.join(
|
/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...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/ |
H A D | mk_file_add_config.py | 56 sources_line.append("".join([temp_handle.substitute(
59 sources_line.append("".join([temp_handle.substitute(
61 build_resource = obj_first_line + "".join(sources_line)
95 build_resource = "{}{}".format(obj_first_line, "".join(sources_lines))
104 temp_str = "".join([temp_handle.substitute(
107 temp_str = "".join([temp_handle.substitute(
110 build_head = ccflags_first_line + "".join(head_line)
133 temp_makefile = "/".join(parent_str.split("/")[1:])
134 makefile_path = os.path.join(root, temp_makefile, "Makefile")
193 'head_file_path': '/'.join(head_pat [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/ |
H A D | gn_file_add_config.py | 64 sources_str = ''.join(sources_line)
65 build_resource = ''.join([multi_resource, sources_str, multi_end])
74 build_add_template = ''.join([first_line, build_resource, third_line, four_line])
119 parent_path = '/'.join(parent_path_temp.split('/')[:3])
123 parent_path = '/'.join(parent_path_temp.split('/')[:3])
155 date_replace['head_path'] = '/'.join(file_head_path_full.split(
186 'head_file_path': '/'.join(list(
231 if re.search(re_str_include, "".join(date_lines[:end_index])) is None:
250 'head_file_path': '/'.join(
|
H A D | mk_file_add_config.py | 68 build_resource = "{}{}".format(multi_resource, "".join(sources_line_items))
110 'source_file_path': '/'.join(
113 'head_file_path': '/'.join(
119 'head_file_path': '/'.join(list(filter(
125 'head_file_path': '/'.join(
|
/drivers/hdf_core/framework/tools/hdi-gen/test/unittest/ |
H A D | unit_test.py | 82 item_path = os.path.join(path, item)
104 self.idl_dir = os.path.join(self.working_dir, "foo")
105 self.output_dir = os.path.join(working_dir, "out")
106 self.target_dir = os.path.join(working_dir, "target")
125 with open(os.path.join(self.target_dir, "fail_output.txt"), 'r') as target_output:
139 self.command = "".join((self.command, " -c {}".format(idl)))
|
/drivers/hdf_core/framework/tools/hc-gen/ |
H A D | hcs_build_info.py | 131 key_str = "".join(token_value) 149 self.cur_token.value = "".join(token_value) 163 self.cur_token.value = "".join(token_value) 173 self.cur_token.value = "".join(token_value) 184 value = "".join(token_value) 228 hcs_file_path = os.path.join(hcs_file_dir, token.value)
|
/drivers/hdf_core/framework/tools/idl-gen/ |
H A D | idl_generator.py | 62 path = os.path.join(root_path, file) 144 tt = re.search("import\\s+\\S+.Types", "".join(self._idl)) 155 if original_idl != "".join(self._idl): 202 if "".join(self._idl).endswith(','): 203 self._idl = ["".join(self._idl)[:-1], ");\n"] 296 file = os.path.join(self._make_output_dir(file_path), file_name).replace('\\', '/') 300 fp.write("".join(self._idl)) 333 return ".".join(out_path_temp)
|
/drivers/peripheral/camera/test/ut/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 116 enqueueThread.join(); in HWTEST_F() 121 consumerThread.join(); in HWTEST_F() 138 user1.join(); in HWTEST_F() 139 user2.join(); in HWTEST_F() 259 task.join(); in HWTEST_F() 336 dispatchBufferTask.join(); in HWTEST_F() 337 acquireBufferTask.join(); in HWTEST_F() 338 returnBufferTask.join(); in HWTEST_F() 373 enqueueThread.join(); in HWTEST_F() 764 collectThread_->join(); in StopStream() [all...] |