Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/packet/parser/test/
Dbig_endian_test_packets.pdl62 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) {
Dtest_packets.pdl62 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,
Dgenerated_packet_test.cc307 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/
Dpacket_builder_unittest.cc58 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()