Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 13 of 13) sorted by relevance

/system/tools/mkbootimg/
Dmkbootimg.py22 from struct import pack
40 sha.update(pack('I', filesize(f)))
42 sha.update(pack('I', 0))
47 f.write(pack(str(pad) + 'x'))
70 args.output.write(pack('8s', BOOT_MAGIC))
71 args.output.write(pack(
78 args.output.write(pack('4I', 0, 0, 0, 0)) # reserved
80 args.output.write(pack('I', args.header_version)) # version of bootimage header
81 args.output.write(pack('1536s', args.cmdline.encode()))
88 args.vendor_boot.write(pack('8s', BOOT_MAGIC))
[all …]
/system/bt/tools/scripts/
Dbtsnooz.py106 sys.stdout.write(struct.pack('>II', length, length))
107 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
108 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
133 sys.stdout.write(struct.pack('>II', packet_length, length))
134 sys.stdout.write(struct.pack('>II', type_to_direction(snooz_type), 0))
135 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
/system/extras/simpleperf/scripts/
Dreport.py197 frame.pack(fill=BOTH, expand=1)
204 label.pack(anchor=W, padx=PAD_X, pady=PAD_Y)
208 label.pack(anchor=W, padx=PAD_X, pady=PAD_Y)
212 label.pack(anchor=W, padx=PAD_X, pady=PAD_Y)
216 report_frame.pack(fill=BOTH, expand=1)
219 yscrollbar.pack(side=RIGHT, fill=Y)
221 xscrollbar.pack(side=BOTTOM, fill=X)
224 tree.pack(side=LEFT, fill=BOTH, expand=1)
/system/extras/ioshark/
Dioshark.h24 #pragma pack(push, 1)
129 #pragma pack(pop)
/system/memory/lmkd/include/
Dlmkd.h56 static inline enum lmk_cmd lmkd_pack_get_cmd(LMKD_CTRL_PACKET pack) { in lmkd_pack_get_cmd() argument
57 return (enum lmk_cmd)ntohl(pack[0]); in lmkd_pack_get_cmd()
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/
DMain.java45 theFrame.pack(); in createAndShowUI()
/system/extras/verity/
Dbuild_verity_metadata.py44 block = struct.pack("II256sI", magic, VERSION, signature, table_len)
/system/extras/memory_replay/traces/
DTRACES78 for a male character, Spec Requirement set to High, resource pack
/system/core/adb/
Dtest_adb.py61 buf = struct.pack("IIIIII", bin_command, arg0, arg1, len(data), 0,
324 struct.pack(linger_format, l_onoff, l_linger))
512 packet = struct.pack("IIIIII", 0, 0, 0, 0, 0, 0)
/system/update_engine/scripts/update_payload/
Dtest_utils.py73 file_obj.write(struct.pack(common.IntPackingFmtStr(size, is_unsigned), val))
/system/libufdt/utils/
DREADME.md11 You can use `mkdtimg` to pack one or more DTB/DTBO files into an image.
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1878 __pragma(pack(1)); \
1881 __pragma(pack()); \
/system/chre/build/sys_support/qcom/
Dchre.scons372 # Clean / pack rules