Searched refs:kBytes (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/bluetooth/1.0/default/test/ |
D | bluetooth_address_test.cc | 36 constexpr uint8_t kTestAddr1_bytes[BluetoothAddress::kBytes] = { 40 constexpr uint8_t kZeros_bytes[BluetoothAddress::kBytes] = {0x00, 0x00, 0x00, 44 constexpr uint8_t kTestAddrBad1_bytes[BluetoothAddress::kBytes] = { 71 uint8_t addr[BluetoothAddress::kBytes]; in TEST_F() 92 uint8_t addrA[BluetoothAddress::kBytes]; in TEST_F() 93 uint8_t addrB[BluetoothAddress::kBytes]; in TEST_F() 97 EXPECT_TRUE(memcmp(addrA, kTestAddr1_bytes, BluetoothAddress::kBytes) == 0); in TEST_F() 101 EXPECT_TRUE(memcmp(addrB, kZeros_bytes, BluetoothAddress::kBytes) == 0); in TEST_F() 104 EXPECT_FALSE(memcmp(addrA, addrB, BluetoothAddress::kBytes) == 0); in TEST_F() 215 uint8_t address[BluetoothAddress::kBytes]; in TEST_F() [all …]
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | bluetooth_address.cc | 43 &trailing_char) == kBytes); in string_to_bytes() 67 const uint8_t zero_bdaddr[kBytes] = {0, 0, 0, 0, 0, 0}; in get_local_address() 69 (memcmp(local_addr, zero_bdaddr, kBytes) != 0)) { in get_local_address()
|
D | bluetooth_address.h | 48 static constexpr size_t kBytes = (kStringLength + 1) / 3; variable
|
D | vendor_interface.cc | 211 uint8_t local_bda[BluetoothAddress::kBytes]; in Open()
|