Searched refs:IsAddressValid (Results 1 – 7 of 7) sorted by relevance
23 TEST(UtilTest, IsAddressValid) { in TEST() argument24 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()
30 bool IsAddressValid(const std::string& address);
26 bool IsAddressValid(const std::string& address) { in IsAddressValid() function
32 CHECK(util::IsAddressValid(device_address)) << "Invalid BD_ADDR given: " in ScanResult()
52 if (!util::IsAddressValid(device_address)) in SetDeviceAddress()
35 (!device_address.empty() && !util::IsAddressValid(device_address))) in CreateServiceId()
278 if (util::IsAddressValid(scan_result.device_address())) { in WriteScanResultToParcel()