Home
last modified time | relevance | path

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

/base/update/packaging_tools/
Dupdate_package.py121 head_list = get_head_list(len(component_dict), head_value_list)
138 package = CreatePackage(head_list, component_list, save_patch,
219 head_list = PkgHeader()
222 head_list.digest_method = 3
225 head_list.digest_method = 2
227 head_list.sign_method = 0
231 head_list.sign_method = SignMethod.ECC.value
234 head_list.sign_method = SignMethod.RSA.value
235 head_list.pkg_type = 1
237 head_list.pkg_flags = 1
[all …]
Dcreate_update_package.py75 def __init__(self, head_list, component_list, save_path, key_path): argument
76 self.head_list = head_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:
112 self.upgrade_compinfo_size * self.head_list.entry_count
114 UPGRADE_PKG_HEADER_FMT, pkg_info_length, self.head_list.update_file_version,
115 self.head_list.product_update_id, self.head_list.software_version)
120 UPGRADE_PKG_TIME_FMT, self.head_list.date, self.head_list.time)
124 TLV_FMT, 0x05, self.upgrade_compinfo_size * self.head_list.entry_count)
316 hash_check_data = CreateHash(HashType.SHA256, self.head_list.entry_count)
[all …]
Dutils.py298 head_list = list(head_dict.values())
299 head_list.pop()
337 ret_params = [head_list, component_dict,