Home
last modified time | relevance | path

Searched refs:unpack (Results 1 – 25 of 27) sorted by relevance

12

/system/tools/mkbootimg/
Dunpack_bootimg.py23 from struct import unpack
181 info.boot_magic = unpack('8s', args.boot_img.read(8))[0].decode()
183 kernel_ramdisk_second_info = unpack('9I', args.boot_img.read(9 * 4))
196 os_version_patch_level = unpack('I', args.boot_img.read(1 * 4))[0]
208 info.product_name = cstr(unpack('16s',
210 info.cmdline = cstr(unpack('512s', args.boot_img.read(512))[0].decode())
212 info.extra_cmdline = cstr(unpack('1024s',
215 info.cmdline = cstr(unpack('1536s',
219 info.recovery_dtbo_size = unpack('I', args.boot_img.read(1 * 4))[0]
220 info.recovery_dtbo_offset = unpack('Q', args.boot_img.read(8))[0]
[all …]
Drepack_bootimg.py86 def __init__(self, ramdisk_img, unpack=True): argument
92 if unpack:
215 self._ramdisk = RamdiskImage(ramdisk_img=None, unpack=False)
/system/core/libsparse/
Dsimg_dump.py77 header = struct.unpack("<I4H4I", header_bin)
126 header = struct.unpack("<2H2I", header_bin)
158 fill = struct.unpack("<I", fill_bin)
179 crc = struct.unpack("<I", crc_bin)
189 header = struct.unpack("<12B", header_bin)
/system/bt/tools/scripts/
Ddump_hearingaid_audio.py189 long_uuid_list.append("{0:02x}".format(struct.unpack(">B", data[p])[0]))
260 peer_address_list.append("{0:02x}".format(struct.unpack(">B", data[p])[0]))
324 struct.unpack(">IIIIq", packet_header)
483 value = struct.unpack(">B", data[0])[0]
485 value = struct.unpack(">H", data[1] + data[0])[0]
616 ver, data_link = struct.unpack(">II", btsnoop_file.read(4 + 4))
Dbtsnoop_live.py248 olen, ilen, flags = struct.unpack(">LLL", snoop_hdr[0:12])
263 packet_type = struct.unpack(">B", snoop_data[0:1])[0]
/system/sepolicy/prebuilts/api/27.0/public/
Dprofman.te11 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/26.0/public/
Dprofman.te11 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/28.0/public/
Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/30.0/public/
Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/29.0/public/
Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/private/
Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
Ddexoptanalyzer.te10 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/26.0/private/
Ddexoptanalyzer.te5 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/31.0/public/
Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/31.0/private/
Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
Ddexoptanalyzer.te10 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/public/
Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/30.0/private/
Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
Ddexoptanalyzer.te10 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/29.0/private/
Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
Ddexoptanalyzer.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/27.0/private/
Ddexoptanalyzer.te5 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/sepolicy/prebuilts/api/28.0/private/
Ddexoptanalyzer.te5 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/system/extras/simpleperf/scripts/
Dsimpleperf_report_lib.py108 offset, max_len = struct.unpack('<HH', data[self.offset:self.offset + 4])
125 value = struct.unpack('%d%s' % (self.elem_count, unpack_key),
/system/update_engine/scripts/update_payload/
Dpayload.py57 return struct.unpack(common.IntPackingFmtStr(size, is_unsigned),

12