Home
last modified time | relevance | path

Searched refs:package_file (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/update/packaging_tools/
H A Dcreate_update_package.py105 def write_pkginfo(self, package_file): argument
132 package_file.write(pkginfo)
156 package_file.write(component_info)
166 package_file.write(component_size)
170 package_file.write(component.digest)
192 def calculate_hash(self, package_file): argument
196 package_file.seek(0)
208 package_file.seek(0)
272 package_file.seek(self.sign_offset)
273 package_file.write(signature)
[all …]
H A Dunpack_updater_package.py91 def parse_package_file(self, package_file): argument
93 package_file.seek(COMPINFO_LEN_OFFSET)
103 package_file.seek(self.component_offset)
116 package_file.seek(self.component_offset)
128 def parse_component(self, package_file): argument
130 package_file.seek(self.addr_offset)
134 package_file.seek(self.type_offset)
138 package_file.seek(self.size_offset)
148 def create_image_file(self, package_file): argument
150 self.parse_component(package_file)
[all …]
H A Dbuild_pkcs7.py64 with open(package_path, 'rb') as package_file:
66 hash_sha256.update(package_file.read(BLOCK_SIZE))
69 hash_sha256.update(package_file.read(remain_len))
H A Dbuild_module_package.py230 with open(package_path, 'rb') as package_file:
232 hash_sha256.update(package_file.read(BLCOK_SIZE))
235 hash_sha256.update(package_file.read(remain_len))
H A Dbuild_update.py502 with open(update_package, 'rb') as package_file:
504 buf = package_file.read(maxbuf)
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/
H A Ddistributeddb.gni141 "${distributeddb_path}/storage/src/package_file.cpp",