Searched refs:BtAddress (Results 1 – 9 of 9) sorted by relevance
46 EXPECT_FALSE(BtAddress::IsValid("")); in TEST_F()47 EXPECT_FALSE(BtAddress::IsValid("000000000000")); in TEST_F()48 EXPECT_FALSE(BtAddress::IsValid("00:00:00:00:0000")); in TEST_F()49 EXPECT_FALSE(BtAddress::IsValid("00:00:00:00:00:0")); in TEST_F()50 EXPECT_FALSE(BtAddress::IsValid("00:00:00:00:00:0;")); in TEST_F()51 EXPECT_FALSE(BtAddress::IsValid("00:00:000:00:00:0;")); in TEST_F()52 EXPECT_TRUE(BtAddress::IsValid("00:00:00:00:00:00")); in TEST_F()53 EXPECT_FALSE(BtAddress::IsValid("aB:cD:eF:Gh:iJ:Kl")); in TEST_F()54 EXPECT_TRUE(BtAddress::IsValid(kTestAddr1)); in TEST_F()55 EXPECT_TRUE(BtAddress::IsValid(kTestAddr2)); in TEST_F()[all …]
29 class BtAddress {35 BtAddress() : address_(0){}; in BtAddress() function36 virtual ~BtAddress() = default;44 inline bool operator==(const BtAddress& right) {47 inline bool operator!=(const BtAddress& right) {50 inline bool operator<(const BtAddress& right) {53 inline bool operator>(const BtAddress& right) {56 inline bool operator<=(const BtAddress& right) {59 inline bool operator>=(const BtAddress& right) {63 inline void operator=(const BtAddress& right) { address_ = right.address_; }[all …]
91 uint8_t status, const BtAddress& bt_address);107 const BtAddress& bt_address,111 void AddInquiryResult(const BtAddress& bt_address,117 const BtAddress& bt_address,
72 bool AddPayloadBtAddress(const BtAddress& address);
90 const BtAddress& GetAddress() const { return address_; } in GetAddress()152 BtAddress address_;522 BtAddress le_random_address_;
26 bool BtAddress::IsValid(const std::string& addr) { in IsValid()39 bool BtAddress::FromString(const std::string& str) { in FromString()54 bool BtAddress::FromVector(const vector<uint8_t>& octets) { in FromVector()65 void BtAddress::ToVector(vector<uint8_t>& octets) const { in ToVector()71 std::string BtAddress::ToString() const { in ToString()
63 bool Packet::AddPayloadBtAddress(const BtAddress& address) { in AddPayloadBtAddress()64 if (BtAddress::kOctets + payload_.size() > kMaxPacketOctets) return false; in AddPayloadBtAddress()
166 uint8_t status, const BtAddress& address) { in CreateCommandCompleteReadBdAddr()193 const BtAddress& address, in CreateInquiryResultEvent()212 const BtAddress& address, in AddInquiryResult()228 const BtAddress& address, in CreateExtendedInquiryResultEvent()
472 BtAddress other_addr; in HciInquiry()