Searched refs:two_bytes (Results 1 – 4 of 4) sorted by relevance
| /packages/modules/Bluetooth/system/gd/packet/parser/test/ |
| D | big_endian_test_packets.pdl | 62 two_bytes : 16, 67 packet ChildWithSixBytesBe : ParentWithSixBytesBe (two_bytes = 0x1234) { 74 two_bytes : 16, 94 _payload_ : [+2], // Include two_bytes in the size 95 two_bytes : 16, 98 packet ChildSizeModifierBe : ParentSizeModifierBe (two_bytes = 0x1211) {
|
| D | test_packets.pdl | 62 two_bytes : 16, 67 packet ChildWithSixBytes : ParentWithSixBytes (two_bytes = 0x1234) { 74 two_bytes : 16, 93 two_bytes : 16, 106 _payload_ : [+2], // Include two_bytes in the size 107 two_bytes : 16, 110 packet ChildSizeModifier : ParentSizeModifier (two_bytes = 0x1211) { 352 two_bytes : 16, 393 two_bytes : 16, 457 two_bytes : 16,
|
| D | generated_packet_test.cc | 307 uint16_t two_bytes = 0x1211; in TEST() local 309 auto packet = ParentWithSumBuilder::Create(two_bytes, sum_bytes, in TEST() 326 ASSERT_EQ(two_bytes, parent_view.GetTwoBytes()); in TEST() 354 uint16_t two_bytes = 0x1211; in TEST() local 357 auto packet = ChildWithNestedSumBuilder::Create(two_bytes, sum_bytes, more_bytes); in TEST() 373 ASSERT_EQ(two_bytes, parent_view.GetTwoBytes()); in TEST() 401 uint16_t two_bytes = 0x1211; in TEST() local 402 auto packet = ParentSizeModifierBuilder::Create(std::make_unique<RawBuilder>(), two_bytes); in TEST() 418 ASSERT_EQ(two_bytes, parent_view.GetTwoBytes()); in TEST() 435 uint16_t two_bytes = 0x1211; in TEST() local [all …]
|
| /packages/modules/Bluetooth/system/gd/packet/ |
| D | packet_builder_unittest.cc | 58 EndianBuilder(uint8_t byte, uint16_t two_bytes, uint32_t four_bytes, uint64_t eight_bytes) in EndianBuilder() argument 59 : byte_(byte), two_bytes_(two_bytes), four_bytes_(four_bytes), eight_bytes_(eight_bytes) {} in EndianBuilder()
|