Home
last modified time | relevance | path

Searched refs:IsRpa (Results 1 – 2 of 2) sorted by relevance

/system/bt/gd/hci/
Daddress_with_type_test.cc67 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()
Daddress_with_type.h48 inline bool IsRpa() const { in IsRpa() function
54 if (!IsRpa()) return false; in IsRpaThatMatchesIrk()