Searched refs:IsRpa (Results 1 – 2 of 2) sorted by relevance
/system/bt/gd/hci/ |
D | address_with_type_test.cc | 67 TEST(AddressWithTypeTest, IsRpa) { in TEST() argument 70 …Type(Address{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::PUBLIC_IDENTITY_ADDRESS).IsRpa()); in TEST() 74 …thType(Address{{0x30, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS).IsRpa()); in TEST() 76 …thType(Address{{0x40, 0x02, 0x03, 0x04, 0x05, 0x03}}, AddressType::RANDOM_DEVICE_ADDRESS).IsRpa()); in TEST() 78 …thType(Address{{0x50, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS).IsRpa()); in TEST() 80 …thType(Address{{0x60, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS).IsRpa()); in TEST() 82 …thType(Address{{0x70, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS).IsRpa()); in TEST() 84 …thType(Address{{0x80, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS).IsRpa()); in TEST()
|
D | address_with_type.h | 48 inline bool IsRpa() const { in IsRpa() function 54 if (!IsRpa()) return false; in IsRpaThatMatchesIrk()
|