Searched refs:unpack (Results 1 – 25 of 27) sorted by relevance
12
/system/tools/mkbootimg/ |
D | unpack_bootimg.py | 23 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 …]
|
D | repack_bootimg.py | 86 def __init__(self, ramdisk_img, unpack=True): argument 92 if unpack: 215 self._ramdisk = RamdiskImage(ramdisk_img=None, unpack=False)
|
/system/core/libsparse/ |
D | simg_dump.py | 77 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/ |
D | dump_hearingaid_audio.py | 189 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))
|
D | btsnoop_live.py | 248 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/ |
D | profman.te | 11 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | profman.te | 11 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | profman.te | 13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | profman.te | 13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | profman.te | 13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/private/ |
D | viewcompiler.te | 6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
D | dexoptanalyzer.te | 10 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | dexoptanalyzer.te | 5 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | profman.te | 13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | viewcompiler.te | 6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
D | dexoptanalyzer.te | 10 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/public/ |
D | profman.te | 13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | viewcompiler.te | 6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
D | dexoptanalyzer.te | 10 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | viewcompiler.te | 6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
D | dexoptanalyzer.te | 6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | dexoptanalyzer.te | 5 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | dexoptanalyzer.te | 5 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 108 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/ |
D | payload.py | 57 return struct.unpack(common.IntPackingFmtStr(size, is_unsigned),
|
12