Home
last modified time | relevance | path

Searched refs:toIpString (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/
DDnsTlsServer.cpp130 std::string DnsTlsServer::toIpString() const { in toIpString() function in android::net::DnsTlsServer
135 return fmt::format("{{{}/{}}}", toIpString(), name); in toString()
DDnsTlsServer.h65 std::string toIpString() const;
DDnsTlsTransport.cpp326 LOG(INFO) << fmt::format("UDP probe for {} {}, took {:.3f}ms", server.toIpString(), in validate()
354 LOG(INFO) << fmt::format("DoT probe for {} {}, took {:.3f}ms", server.toIpString(), in validate()
DResolverController.cpp256 tlsServers->push_back(server.toIpString()); in getResolverInfo()
358 dw.println("%s name{%s} status{%s}", server.toIpString().c_str(), in dump()
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp826 EXPECT_EQ(s1.toIpString(), "192.0.2.1"); in TEST_F()
827 EXPECT_EQ(s2.toIpString(), "192.0.2.1"); in TEST_F()
833 EXPECT_EQ(s3.toIpString(), "2001:db8::1"); in TEST_F()
834 EXPECT_EQ(s4.toIpString(), "2001:db8::1"); in TEST_F()