Home
last modified time | relevance | path

Searched refs:IsValidAddress (Results 1 – 13 of 13) sorted by relevance

/system/bt/types/test/
Draw_address_unittest.cc167 TEST(RawAddressTest, IsValidAddress) { in TEST() argument
168 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()
/system/bt/gd/common/
Daddress_unittest.cc169 TEST(AddressTest, IsValidAddress) { in TEST() argument
170 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()
Daddress.h69 static bool IsValidAddress(const std::string& address);
Daddress.cc86 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in bluetooth::common::Address
/system/bt/vendor_libs/test_vendor_lib/types/test/
Daddress_unittest.cc167 TEST(AddressTest, IsValidAddress) { in TEST() argument
168 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()
/system/bt/service/common/bluetooth/
Dscan_result.cc27 CHECK(RawAddress::IsValidAddress(device_address)) << "Invalid BD_ADDR given: " in ScanResult()
Dscan_filter.cc51 if (!RawAddress::IsValidAddress(device_address)) return false; in SetDeviceAddress()
/system/bt/types/
Draw_address.h57 static bool IsValidAddress(const std::string& address);
Draw_address.cc70 bool RawAddress::IsValidAddress(const std::string& address) { in IsValidAddress() function in RawAddress
/system/bt/vendor_libs/test_vendor_lib/types/
Daddress.h67 static bool IsValidAddress(const std::string& address);
Daddress.cc68 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in Address
/system/bt/btif/src/
Dbtif_storage.cc459 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()
Dbtif_config.cc560 if (RawAddress::IsValidAddress(section)) { in btif_config_remove_unpaired()
620 if (RawAddress::IsValidAddress(section) && in btif_config_remove_restricted()