Home
last modified time | relevance | path

Searched refs:struct (Results 1 – 25 of 89) sorted by relevance

1234

/system/bt/tools/scripts/
Dbtsnooz.py26 import struct
75 version, last_timestamp_ms = struct.unpack_from('=bQ', snooz)
101 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
108 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
111 sys.stdout.write(struct.pack('>II', length, length))
112 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
113 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
128 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse…
135 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse…
138 sys.stdout.write(struct.pack('>II', packet_length, length))
[all …]
Dbtsnoop_live.py56 import struct
248 olen, ilen, flags = struct.unpack(">LLL", snoop_hdr[0:12])
249 except struct.error:
263 packet_type = struct.unpack(">B", snoop_data[0:1])[0]
Ddump_hearingaid_audio.py38 import struct
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))
/system/logging/liblog/
DREADME.protocol.md5 struct {
8 struct {
13 struct {
22 struct android_log_header_t {
28 struct log_time {
33 struct android_event_header_t {
37 struct android_event_list_t {
42 struct android_event_float_t {
47 struct android_event_int_t {
52 struct android_event_long_t {
[all …]
DREADME.md63 log_id_t android_logger_get_id(struct logger *logger)
64 int android_logger_clear(struct logger *logger)
65 int android_logger_get_log_size(struct logger *logger)
66 int android_logger_get_log_readable_size(struct logger *logger)
67 int android_logger_get_log_version(struct logger *logger)
69 struct logger_list *android_logger_list_alloc(int mode, unsigned int tail, pid_t pid)
70 struct logger *android_logger_open(struct logger_list *logger_list, log_id_t id)
71struct logger_list *android_logger_list_open(log_id_t id, int mode, unsigned int tail, pid_t pid)
72 int android_logger_list_read(struct logger_list *logger_list, struct log_msg *log_msg)
73 void android_logger_list_free(struct logger_list *logger_list)
/system/bt/gd/packet/parser/test/
Dtest_packets.pdl169 struct TwoRelatedNumbers {
193 struct StructWithFixedTypes {
220 struct ArrayOfStructAndAnotherStruct {
226 struct SizedArrayOfStructAndAnotherStruct {
259 struct BitField {
283 struct VersionlessStruct {
314 struct UnusedParentStruct {
319 struct TwoByteStruct : UnusedParentStruct (struct_type = TWO_BYTE) {
323 struct FourByteStruct : UnusedParentStruct (struct_type = FOUR_BYTE) {
327 struct AtLeastFourByteStruct : UnusedParentStruct (struct_type = AT_LEAST_FOUR_BYTE) {
[all …]
Dbig_endian_test_packets.pdl162 struct TwoRelatedNumbersBe {
181 struct StructWithFixedTypesBe {
221 struct BitFieldBe {
245 struct VersionlessStructBe {
/system/tools/hidl/hidl2aidl/test/1.0/
Dtypes.hal19 struct Outer {
20 struct Inner {
25 struct OverrideMe {
30 struct NameCollision {
36 struct OnlyIn10 {
/system/tools/hidl/test/java_partial_test/1.0/
Dtypes.hal19 struct ExistsInJava {
30 struct DoesNotExistInJava {
34 struct DoesNotExistInJavaTransitive {
38 struct DoesNotExistInJavaVec {
/system/tools/hidl/hidl2aidl/test/1.1/
Dtypes.hal23 struct OverrideMe {
27 struct NameCollision {
32 struct OnlyIn11 {
36 struct Outer {
/system/core/libsparse/
Dsimg_dump.py23 import struct
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/tools/hidl/hidl2aidl/test/1.2/
Dtypes.hal24 struct NameCollision {
48 struct InnerStructBar {
61 struct ArrayFoo {
68 struct VectorFoo {
/system/tools/hidl/test/error_test/cpp_forward_decl_restriction/1.0/
Dtypes.hal18 struct A {
23 struct B {
24 struct C {};
/system/tools/hidl/test/format_test/1.0/
DIFoo.hal23 struct BigStruct {
29 struct Bar {
36 struct Foo {};
41 struct Everything {
/system/tools/hidl/test/vendor/1.0/
Dtypes.hal45 struct A {
46 struct B {
50 // empty struct to test nested-type compilation
53 struct C {
/system/bt/gd/dumpsys/internal/test_data/
Dmkfiles7 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp struct.fbs
8 xxd -i struct.bfbs > struct_bfbs.h
/system/tools/hidl/test/error_test/no_cyclic_declaration_2/1.0/
DIFoo.hal19 struct A {
22 struct B {
/system/tools/hidl/test/error_test/scope_unique_type_names/1.0/
DIFoo.hal19 struct S {};
20 enum S : int32_t {}; // duplicates first struct name
/system/extras/ioshark/
DREADME72 struct lseek_args {
78 struct prw_args {
85 struct rw_args {
91 struct mmap_args {
98 struct open_args {
/system/tools/hidl/test/vendor/1.1/
Dtypes.hal22 struct C {
26 struct D {
/system/tools/hidl/test/error_test/len_tag_wrong_type/1.0/
Drequired_error1 len refers to struct A but should refer to an enum
/system/tools/hidl/hidl2aidl/test/extension/1.2/
Dtypes.hal10 struct ArrayFoo {
/system/bt/gd/l2cap/
Dl2cap_packets.pdl314 struct ConfigurationOption {
321 struct MtuConfigurationOption : ConfigurationOption (type = MTU) {
325 struct FlushTimeoutConfigurationOption : ConfigurationOption (type = FLUSH_TIMEOUT) {
335 struct QualityOfServiceConfigurationOption : ConfigurationOption (type = QUALITY_OF_SERVICE) {
354 struct RetransmissionAndFlowControlConfigurationOption : ConfigurationOption (type = RETRANSMISSION…
368 struct FrameCheckSequenceOption : ConfigurationOption (type = FRAME_CHECK_SEQUENCE) {
373 struct ExtendedFlowSpecificationOption : ConfigurationOption (type = EXTENDED_FLOW_SPECIFICATION) {
382 struct ExtendedWindowSizeOption : ConfigurationOption (type = EXTENDED_WINDOW_SIZE) {
/system/extras/verity/
Dbuild_verity_metadata.py20 import struct
44 block = struct.pack("II256sI", magic, VERSION, signature, table_len)
/system/tools/hidl/test/error_test/references_broken_package/bad_package/1.0/
Dtypes.hal18 struct IFoo {};

1234