OSDN Git Service

packet: Support fixed-width custom types
authorMyles Watson <mylesgw@google.com>
Fri, 12 Apr 2019 17:39:59 +0000 (10:39 -0700)
committerMyles Watson <mylesgw@google.com>
Thu, 18 Apr 2019 00:10:49 +0000 (17:10 -0700)
commitaf1b2d152f0f981483d92110bcfdedc993fa12bd
tree6b7d98a0c5db12cffb32a33746e8d6919b4d0b12
parent4c0701f21b724225776617c8788ed5eb87b90044
packet: Support fixed-width custom types

Test: bluetooth_packet_parser_test --gtest_filter=*testChildWithAddress*
Change-Id: I73ff7962d99f668b4cbf1b4068bf74d069b9f599
19 files changed:
gd/Android.bp
gd/packet/iterator.h
gd/packet/packet_builder.h
gd/packet/parser/Android.bp
gd/packet/parser/custom_field_def.cc [new file with mode: 0644]
gd/packet/parser/custom_field_def.h [new file with mode: 0644]
gd/packet/parser/declarations.h
gd/packet/parser/fields/all_fields.h
gd/packet/parser/fields/custom_field.cc [new file with mode: 0644]
gd/packet/parser/fields/custom_field.h [new file with mode: 0644]
gd/packet/parser/fields/packet_field.cc
gd/packet/parser/fields/packet_field.h
gd/packet/parser/fields/scalar_field.cc
gd/packet/parser/language_l.ll
gd/packet/parser/language_y.yy
gd/packet/parser/main.cc
gd/packet/parser/packet_def.cc
gd/packet/parser/test/generated_packet_test.cc
gd/packet/parser/test/test_packets.pdl