Home
last modified time | relevance | path

Searched refs:two_bytes (Results 1 – 4 of 4) sorted by relevance

/system/bt/gd/packet/parser/test/
Dtest_packets.pdl62 two_bytes : 16,
67 packet ChildWithSixBytes : ParentWithSixBytes (two_bytes = 0x1234) {
74 two_bytes : 16,
94 _payload_ : [+2*8], // Include two_bytes in the size
95 two_bytes : 16,
98 packet ChildSizeModifier : ParentSizeModifier (two_bytes = 0x1211) {
320 two_bytes : 16,
337 two_bytes : 16,
361 two_bytes : 16,
425 two_bytes : 16,
Dbig_endian_test_packets.pdl62 two_bytes : 16,
67 packet ChildWithSixBytesBe : ParentWithSixBytesBe (two_bytes = 0x1234) {
74 two_bytes : 16,
94 _payload_ : [+2*8], // Include two_bytes in the size
95 two_bytes : 16,
98 packet ChildSizeModifierBe : ParentSizeModifierBe (two_bytes = 0x1211) {
Dgenerated_packet_test.cc293 uint16_t two_bytes = 0x1211; in TEST() local
295 …auto packet = ParentWithSumBuilder::Create(two_bytes, sum_bytes, std::make_unique<packet::RawBuild… in TEST()
311 ASSERT_EQ(two_bytes, parent_view.GetTwoBytes()); in TEST()
339 uint16_t two_bytes = 0x1211; in TEST() local
342 auto packet = ChildWithNestedSumBuilder::Create(two_bytes, sum_bytes, more_bytes); in TEST()
358 ASSERT_EQ(two_bytes, parent_view.GetTwoBytes()); in TEST()
376 uint16_t two_bytes = 0x1211; in TEST() local
377 auto packet = ParentSizeModifierBuilder::Create(std::make_unique<RawBuilder>(), two_bytes); in TEST()
393 ASSERT_EQ(two_bytes, parent_view.GetTwoBytes()); in TEST()
410 uint16_t two_bytes = 0x1211; in TEST() local
[all …]
/system/bt/gd/packet/
Dpacket_builder_unittest.cc55 EndianBuilder(uint8_t byte, uint16_t two_bytes, uint32_t four_bytes, uint64_t eight_bytes) in EndianBuilder() argument
56 : byte_(byte), two_bytes_(two_bytes), four_bytes_(four_bytes), eight_bytes_(eight_bytes) {} in EndianBuilder()