Searched refs:general_case (Results 1 – 3 of 3) sorted by relevance
/system/bt/packet/tests/base/ |
D | iterator_test.cc | 60 Iterator general_case = packet->begin(); in TEST_F() local 62 ASSERT_EQ(0x02u, general_case.extract<uint8_t>()); in TEST_F() 63 ASSERT_EQ(0x2edcu, general_case.extract<uint16_t>()); in TEST_F() 64 ASSERT_EQ(0x00620066u, general_case.extract<uint32_t>()); in TEST_F() 65 ASSERT_EQ(0x00010000000a0013u, general_case.extract<uint64_t>()); in TEST_F() 70 Iterator general_case = packet->begin(); in TEST_F() local 72 ASSERT_EQ(0x02u, general_case.extractBE<uint8_t>()); in TEST_F() 73 ASSERT_EQ(0xdc2eu, general_case.extractBE<uint16_t>()); in TEST_F() 74 ASSERT_EQ(0x66006200u, general_case.extractBE<uint32_t>()); in TEST_F() 75 ASSERT_EQ(0x13000a0000000100u, general_case.extractBE<uint64_t>()); in TEST_F()
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | iterator_test.cc | 63 Iterator general_case = packet->get_begin(); in TEST_F() local 65 ASSERT_EQ(0x95, general_case.extract<uint8_t>()); in TEST_F() 66 ASSERT_EQ(0x471f, general_case.extract<uint16_t>()); in TEST_F() 67 ASSERT_EQ(0x951f0200u, general_case.extract<uint32_t>()); in TEST_F() 68 ASSERT_EQ(0x33000101000000cbu, general_case.extract<uint64_t>()); in TEST_F()
|
/system/bt/gd/packet/ |
D | packet_view_unittest.cc | 134 auto general_case = packet.begin(); in TEST() local 136 ASSERT_EQ(0x00, general_case.extract<uint8_t>()); in TEST() 137 ASSERT_EQ(0x0201, general_case.extract<uint16_t>()); in TEST() 138 ASSERT_EQ(0x06050403u, general_case.extract<uint32_t>()); in TEST() 139 ASSERT_EQ(0x0e0d0c0b0a090807u, general_case.extract<uint64_t>()); in TEST() 140 ASSERT_EQ(0x0f, general_case.extract<uint8_t>()); in TEST() 142 ASSERT_EQ(raw, general_case.extract<Address>()); in TEST() 143 ASSERT_EQ(0x16, general_case.extract<uint8_t>()); in TEST() 148 auto general_case = packet.begin(); in TEST() local 150 ASSERT_EQ(0x00, general_case.extract<uint8_t>()); in TEST() [all …]
|