Home
last modified time | relevance | path

Searched refs:IsAddressValid (Results 1 – 7 of 7) sorted by relevance

/system/bt/service/test/
Dutil_unittest.cpp23 TEST(UtilTest, IsAddressValid) { in TEST() argument
24 EXPECT_FALSE(IsAddressValid("")); in TEST()
25 EXPECT_FALSE(IsAddressValid("000000000000")); in TEST()
26 EXPECT_FALSE(IsAddressValid("00:00:00:00:0000")); in TEST()
27 EXPECT_FALSE(IsAddressValid("00:00:00:00:00:0")); in TEST()
28 EXPECT_FALSE(IsAddressValid("00:00:00:00:00:0;")); in TEST()
29 EXPECT_TRUE(IsAddressValid("00:00:00:00:00:00")); in TEST()
30 EXPECT_FALSE(IsAddressValid("aB:cD:eF:Gh:iJ:Kl")); in TEST()
/system/bt/service/common/bluetooth/util/
Daddress_helper.h30 bool IsAddressValid(const std::string& address);
Daddress_helper.cpp26 bool IsAddressValid(const std::string& address) { in IsAddressValid() function
/system/bt/service/common/bluetooth/
Dscan_result.cpp32 CHECK(util::IsAddressValid(device_address)) << "Invalid BD_ADDR given: " in ScanResult()
Dscan_filter.cpp52 if (!util::IsAddressValid(device_address)) in SetDeviceAddress()
Dgatt_identifier.cpp35 (!device_address.empty() && !util::IsAddressValid(device_address))) in CreateServiceId()
/system/bt/service/common/bluetooth/binder/
Dparcel_helpers.cpp278 if (util::IsAddressValid(scan_result.device_address())) { in WriteScanResultToParcel()