Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/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()
/packages/modules/Bluetooth/system/gd/hci/
Daddress_unittest.cc174 TEST(AddressTest, IsValidAddress) { in TEST() argument
175 ASSERT_FALSE(Address::IsValidAddress("")); in TEST()
176 ASSERT_FALSE(Address::IsValidAddress("000000000000")); in TEST()
177 ASSERT_FALSE(Address::IsValidAddress("00:00:00:00:0000")); in TEST()
178 ASSERT_FALSE(Address::IsValidAddress("00:00:00:00:00:0")); in TEST()
179 ASSERT_FALSE(Address::IsValidAddress("00:00:00:00:00:0;")); in TEST()
180 ASSERT_TRUE(Address::IsValidAddress("00:00:00:00:00:00")); in TEST()
181 ASSERT_TRUE(Address::IsValidAddress("AB:cd:00:00:00:00")); in TEST()
182 ASSERT_FALSE(Address::IsValidAddress("aB:cD:eF:Gh:iJ:Kl")); in TEST()
Daddress.cc139 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in bluetooth::hci::Address
Daddress.h102 static bool IsValidAddress(const std::string& address);
/packages/modules/Bluetooth/system/device/src/
Ddevice_iot_config_int.cc246 if (RawAddress::IsValidAddress(entry.name)) { in device_iot_config_get_device_num()
269 if (!RawAddress::IsValidAddress(i->name)) { in device_iot_config_restrict_device_num()
/packages/modules/Bluetooth/system/types/
Draw_address.cc121 bool RawAddress::IsValidAddress(const std::string& address) { in IsValidAddress() function in RawAddress
Draw_address.h77 static bool IsValidAddress(const std::string& address);
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/
Daddress.cc133 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in bluetooth::hci::Address
/packages/modules/Bluetooth/system/pdl/hci/
Daddress.cc134 bool Address::IsValidAddress(const std::string& address) { in IsValidAddress() function in bluetooth::hci::Address
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Daddress.h82 static bool IsValidAddress(const std::string& address);
/packages/modules/Bluetooth/system/pdl/hci/include/hci/
Daddress.h84 static bool IsValidAddress(const std::string& address);
/packages/modules/Bluetooth/system/test/headless/
Dget_options.cc109 if (RawAddress::IsValidAddress(entry)) { in ProcessOption()
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dscripted_beacon.cc221 if (Address::IsValidAddress(mac_address)) { in get_next_advertisement()
/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache.cc319 return hci::Address::IsValidAddress(section); in IsDeviceSection()
451 if (!hci::Address::IsValidAddress(section_name)) { in FixDeviceTypeInconsistencyInSection()