Home
last modified time | relevance | path

Searched refs:component_list (Results 1 – 3 of 3) sorted by relevance

/base/update/packaging_tools/
Dupdate_package.py123 component_list = get_component_list(
138 package = CreatePackage(head_list, component_list, save_patch,
160 component_list = pkg_components()
188 component_list[idx].digest = (ctypes.c_ubyte * 32).from_buffer_copy(
190 component_list[idx].file_path = file_path.encode("utf-8")
192 component_list[idx].component_addr = \
195 component_list[idx].component_addr = \
197 component_list[idx].version = component[4].encode("utf-8")
198 component_list[idx].size = os.path.getsize(file_path)
199 component_list[idx].id = int(component[1])
[all …]
Dcreate_update_package.py75 def __init__(self, head_list, component_list, save_path, key_path): argument
77 self.component_list = component_list
93 if self.head_list is None or self.component_list is None or \
100 if self.head_list.__sizeof__() <= 0 or self.component_list.__sizeof__() <= 0:
332 % self.component_list[i].component_addr)
333 if not self.write_component_info(self.component_list[i], package_file):
335 % self.component_list[i].component_addr, UPDATE_LOGGER.ERROR_LOG)
337 …PTIONS_MANAGER.sd_card and (not hash_check_data.write_component_hash_data(self.component_list[i])):
339 % self.component_list[i].component_addr, UPDATE_LOGGER.ERROR_LOG)
368 if not self.write_component(self.component_list[i], package_file):
[all …]
Dutils.py313 component_list = list(component.values())
314 component_list.pop()
330 component_dict[component['@compAddr']] = component_list