Searched refs:IsValidAddress (Results 1 – 13 of 13) 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()
169 TEST(AddressTest, IsValidAddress) { in TEST() argument170 EXPECT_FALSE(Address::IsValidAddress("")); in TEST()171 EXPECT_FALSE(Address::IsValidAddress("000000000000")); in TEST()172 EXPECT_FALSE(Address::IsValidAddress("00:00:00:00:0000")); in TEST()173 EXPECT_FALSE(Address::IsValidAddress("00:00:00:00:00:0")); in TEST()174 EXPECT_FALSE(Address::IsValidAddress("00:00:00:00:00:0;")); in TEST()175 EXPECT_TRUE(Address::IsValidAddress("00:00:00:00:00:00")); in TEST()176 EXPECT_TRUE(Address::IsValidAddress("AB:cd:00:00:00:00")); in TEST()177 EXPECT_FALSE(Address::IsValidAddress("aB:cD:eF:Gh:iJ:Kl")); in TEST()
69 static bool IsValidAddress(const std::string& address);
86 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in bluetooth::common::Address
167 TEST(AddressTest, IsValidAddress) { in TEST() argument168 EXPECT_FALSE(Address::IsValidAddress("")); in TEST()169 EXPECT_FALSE(Address::IsValidAddress("000000000000")); in TEST()170 EXPECT_FALSE(Address::IsValidAddress("00:00:00:00:0000")); in TEST()171 EXPECT_FALSE(Address::IsValidAddress("00:00:00:00:00:0")); in TEST()172 EXPECT_FALSE(Address::IsValidAddress("00:00:00:00:00:0;")); in TEST()173 EXPECT_TRUE(Address::IsValidAddress("00:00:00:00:00:00")); in TEST()174 EXPECT_TRUE(Address::IsValidAddress("AB:cd:00:00:00:00")); in TEST()175 EXPECT_FALSE(Address::IsValidAddress("aB:cD:eF:Gh:iJ:Kl")); in TEST()
27 CHECK(RawAddress::IsValidAddress(device_address)) << "Invalid BD_ADDR given: " in ScanResult()
51 if (!RawAddress::IsValidAddress(device_address)) return false; in SetDeviceAddress()
57 static bool IsValidAddress(const std::string& address);
70 bool RawAddress::IsValidAddress(const std::string& address) { in IsValidAddress() function in RawAddress
67 static bool IsValidAddress(const std::string& address);
68 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in Address
459 if (!RawAddress::IsValidAddress(name)) continue; in btif_in_fetch_bonded_devices()882 if (!RawAddress::IsValidAddress(name)) { in remove_devices_with_sample_ltk()1375 if (!RawAddress::IsValidAddress(name)) continue; in btif_storage_load_bonded_hid_info()1523 if (!RawAddress::IsValidAddress(name)) continue; in btif_storage_load_bonded_hearing_aids()1721 if (!RawAddress::IsValidAddress(name)) continue; in btif_storage_load_hidd()1751 if (!RawAddress::IsValidAddress(section.name)) continue; in btif_storage_set_hidd()
560 if (RawAddress::IsValidAddress(section)) { in btif_config_remove_unpaired()620 if (RawAddress::IsValidAddress(section) && in btif_config_remove_restricted()