Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/1.0/default/test/
Dbluetooth_address_test.cc36 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/
Dbluetooth_address.cc43 &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()
Dbluetooth_address.h48 static constexpr size_t kBytes = (kStringLength + 1) / 3; variable
Dvendor_interface.cc211 uint8_t local_bda[BluetoothAddress::kBytes]; in Open()