Searched refs:IsValidAddress (Results 1 – 12 of 12) sorted by relevance
167 TEST(RawAddressTest, IsValidAddress) { in TEST() argument168 EXPECT_FALSE(RawAddress::IsValidAddress("")); in TEST()169 EXPECT_FALSE(RawAddress::IsValidAddress("000000000000")); in TEST()170 EXPECT_FALSE(RawAddress::IsValidAddress("00:00:00:00:0000")); in TEST()171 EXPECT_FALSE(RawAddress::IsValidAddress("00:00:00:00:00:0")); in TEST()172 EXPECT_FALSE(RawAddress::IsValidAddress("00:00:00:00:00:0;")); in TEST()173 EXPECT_TRUE(RawAddress::IsValidAddress("00:00:00:00:00:00")); in TEST()174 EXPECT_TRUE(RawAddress::IsValidAddress("AB:cd:00:00:00:00")); in TEST()175 EXPECT_FALSE(RawAddress::IsValidAddress("aB:cD:eF:Gh:iJ:Kl")); in TEST()
172 TEST(AddressTest, IsValidAddress) { in TEST() argument173 ASSERT_FALSE(Address::IsValidAddress("")); in TEST()174 ASSERT_FALSE(Address::IsValidAddress("000000000000")); in TEST()175 ASSERT_FALSE(Address::IsValidAddress("00:00:00:00:0000")); in TEST()176 ASSERT_FALSE(Address::IsValidAddress("00:00:00:00:00:0")); in TEST()177 ASSERT_FALSE(Address::IsValidAddress("00:00:00:00:00:0;")); in TEST()178 ASSERT_TRUE(Address::IsValidAddress("00:00:00:00:00:00")); in TEST()179 ASSERT_TRUE(Address::IsValidAddress("AB:cd:00:00:00:00")); in TEST()180 ASSERT_FALSE(Address::IsValidAddress("aB:cD:eF:Gh:iJ:Kl")); in TEST()
118 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in bluetooth::hci::Address
89 static bool IsValidAddress(const std::string& address);
27 CHECK(RawAddress::IsValidAddress(device_address)) << "Invalid BD_ADDR given: " in ScanResult()
51 if (!RawAddress::IsValidAddress(device_address)) return false; in SetDeviceAddress()
70 bool RawAddress::IsValidAddress(const std::string& address) { in IsValidAddress() function in RawAddress
59 static bool IsValidAddress(const std::string& address);
81 if (RawAddress::IsValidAddress(entry)) { in ProcessOption()
228 if (Address::IsValidAddress(mac_address)) { in get_next_advertisement()
259 return hci::Address::IsValidAddress(section); in IsDeviceSection()365 if (!hci::Address::IsValidAddress(section_name)) { in FixDeviceTypeInconsistencyInSection()
193 (is_link_key(key) && RawAddress::IsValidAddress(section_name))) { in SetString()