Searched refs:test_bytes (Results 1 – 3 of 3) sorted by relevance
/system/bt/types/test/ |
D | class_of_device_unittest.cc | 24 static const uint8_t test_bytes[]{0xab, 0xcd, 0xef}; variable 27 ClassOfDevice cod(test_bytes); in TEST() 29 ASSERT_EQ(test_bytes[0], cod.cod[0]); in TEST() 30 ASSERT_EQ(test_bytes[1], cod.cod[1]); in TEST() 31 ASSERT_EQ(test_bytes[2], cod.cod[2]); in TEST() 42 ASSERT_EQ(test_bytes[0], cod.cod[0]); in TEST() 43 ASSERT_EQ(test_bytes[1], cod.cod[1]); in TEST() 44 ASSERT_EQ(test_bytes[2], cod.cod[2]); in TEST() 54 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST() 56 ASSERT_EQ(test_bytes[0], cod.cod[0]); in TEST() [all …]
|
/system/bt/gd/hci/ |
D | class_of_device_unittest.cc | 27 static const uint8_t test_bytes[]{0xab, 0xcd, 0xef}; variable 30 ClassOfDevice cod(test_bytes); in TEST() 32 ASSERT_EQ(test_bytes[0], cod.cod[0]); in TEST() 33 ASSERT_EQ(test_bytes[1], cod.cod[1]); in TEST() 34 ASSERT_EQ(test_bytes[2], cod.cod[2]); in TEST() 45 ASSERT_EQ(test_bytes[0], cod.cod[0]); in TEST() 46 ASSERT_EQ(test_bytes[1], cod.cod[1]); in TEST() 47 ASSERT_EQ(test_bytes[2], cod.cod[2]); in TEST() 57 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST() 59 ASSERT_EQ(test_bytes[0], cod.cod[0]); in TEST() [all …]
|
/system/bt/gd/common/ |
D | byte_array_test.cc | 25 static const char* test_bytes = "4c68384139f574d836bcf34e9dfb01bf\0"; variable 40 auto byte_array = ByteArray<16>::FromString(test_bytes); in TEST() 52 ASSERT_STREQ(str.c_str(), test_bytes); in TEST()
|