Home
last modified time | relevance | path

Searched refs:model_name (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/
H A DUser_device_info_hcs.template1 ${model_name} :: host {
2 …hostName = "${model_name}_user_host"; // Host name. The host node is used to store a certai…
5 device_${model_name} :: device { // Device node of sample
9 …moduleName = "libhdf_${model_name}_hotplug.z.so"; // Driver name. The value of this field mu…
10 …serviceName = "${model_name}_service"; // Name of the service released by the dri…
H A Ddevice_info_hcs.template1 ${model_name} :: host{
2 …hostName = "${model_name}_host"; // Host name. The host node is used to store a certain typ…
4 device_${model_name} :: device { // Device node of sample
H A DUser_build_gn.template4 ohos_shared_library("libhdf_${model_name}_hotplug") {
H A Dexists_model_hcs_info.template1 device_${model_name}_${driver_name} :: device { // Device node of sample
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_linux_scann.py73 model_name = enable_name_result.group()
78 if model_enable_dict.get(model_name, None):
79 model_enable_dict[model_name] = \
114 for model_name in self.scan_makefile():
115 model_file_dict[model_name] = []
119 model_file_dict.get(model_name).append(
129 model_name = re.search(
131 return model_name
238 if result_dict.get(model_name, None):
239 result_dict.get(model_name).update(result)
[all …]
H A Dhdf_liteos_scann.py79 model_name = re.compile(self.re_temp_model).match(i.strip())
80 if model_name:
90 model_name = model_path[1:-2].split("/")[0]
91 if model_path_dict.get(model_name, None):
92 model_path_dict.get(model_name).append(model_file_path)
94 model_path_dict[model_name] = [model_file_path]
98 for model_name, value in model_path_dict.items():
105 model_build_lines, model_path_dict, model_name, path)
109 model_name, path): argument
116 model_path_dict[model_name].remove(path)
[all …]
H A Dhdf_model_enable_operation.py52 model_name = result.group().split('/')[-1]
53 if model_name not in model_list:
54 model_list.append(model_name)
74 model_name = re.compile(self.re_temp2).match(i.strip())
75 if model_name:
76 model_list.append(model_name.group().split('/')[-1])
H A Dhdf_get_handler.py315 def format_delete_driver_file(self, model_name, board_name, driver_name): argument
317 del driver_json[board_name][model_name]["driver_file_list"][driver_name]
318 if not driver_json[board_name][model_name]["driver_file_list"]:
319 del driver_json[board_name][model_name]
H A Dhdf_add_handler.py316 root_path=root, linux_file_path=linux_file_path, model_name=module)
460 def revise_passwd_group_file(self, root_path, linux_file_path, model_name): argument
463 peripheral_name = "_".join([model_name, "user"])
H A Dhdf_delete_handler.py345 model_name=module, board_name=temp_board_info,
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/
H A Dmk_file_add_config.py18 def find_makefile_file_end_index(date_lines, model_name): argument
21 if model_name == "sensor":
22 model_dir_name = ("FRAMEWORKS_%s_ROOT" % model_name.upper())
24 model_dir_name = ("%s_ROOT_DIR" % model_name.upper())
47 result_tuple = find_makefile_file_end_index(date_lines, model_name=module)
98 result_tuple = find_makefile_file_end_index(date_lines, model_name=module)
H A Dgn_file_add_config.py18 def find_build_file_end_index(date_lines, model_name, pre_str='FRAMEWORKS'): argument
21 frameworks_model_name = "%s_%s_ROOT" % (pre_str, model_name.upper())
44 result_tuple = find_build_file_end_index(date_lines, model_name=module)
168 result_tuple = find_build_file_end_index(date_lines, model_name=module)
174 date_lines, model_name=module, pre_str="PERIPHERAL")
226 result_tuple = find_build_file_end_index(date_lines, model_name=module)
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/
H A Dmk_file_add_config.py19 def find_makefile_file_end_index(date_lines, model_name): argument
22 model_dir_name = ("%s_ROOT_DIR" % model_name.upper())
163 result_tuple = find_makefile_file_end_index(date_lines, model_name=module)