Searched refs:DnsTlsDispatcher (Results 1 – 8 of 8) sorted by relevance
40 std::mutex DnsTlsDispatcher::sLock;42 DnsTlsDispatcher::DnsTlsDispatcher() { in DnsTlsDispatcher() function in android::net::DnsTlsDispatcher46 DnsTlsDispatcher& DnsTlsDispatcher::getInstance() { in getInstance()47 static DnsTlsDispatcher instance; in getInstance()51 std::list<DnsTlsServer> DnsTlsDispatcher::getOrderedAndUsableServerList( in getOrderedAndUsableServerList()108 DnsTlsTransport::Response DnsTlsDispatcher::query(const std::list<DnsTlsServer>& tlsServers, in query()164 DnsTlsTransport::Response DnsTlsDispatcher::query(const DnsTlsServer& server, unsigned netId, in query()229 void DnsTlsDispatcher::forceCleanup(unsigned netId) { in forceCleanup()234 DnsTlsTransport::Result DnsTlsDispatcher::queryInternal(Transport& xport, in queryInternal()263 void DnsTlsDispatcher::cleanup(std::chrono::time_point<std::chrono::steady_clock> now) { in cleanup()[all …]
6 * `DnsTlsDispatcher`12 `DnsTlsDispatcher` is a singleton class whose `query` method is the DnsTls's13 only public interface. `DnsTlsDispatcher` is just a table holding the15 network. `DnsTlsDispatcher` also blocks each query thread, waiting on a68 `DnsTlsDispatcher` accepts queries that have colliding ID numbers and still sends them on88 to 3 times before reporting failure to `DnsTlsDispatcher`.93 `DnsTlsDispatcher` maintains a 5-minute timeout. Any `DnsTlsTransport` that has had no115 particularly required for unit testing of `DnsTlsDispatcher` and `DnsTlsTransport`.120 `DnsTlsDispatcher`'s constructor takes an `IDnsTlsSocketFactory`,
40 class DnsTlsDispatcher : public PrivateDnsValidationObserver {43 explicit DnsTlsDispatcher(std::unique_ptr<IDnsTlsSocketFactory> factory) in DnsTlsDispatcher() function46 static DnsTlsDispatcher& getInstance();71 DnsTlsDispatcher();
81 auto& dnsTlsDispatcher = DnsTlsDispatcher::getInstance(); in DnsResolver()
172 DnsTlsDispatcher::getInstance().forceCleanup(netId); in destroyNetworkCache()
125 using android::net::DnsTlsDispatcher;1255 const auto response = DnsTlsDispatcher::getInstance().query(privateDnsStatus.validatedServers(), in res_tls_send()
181 "DnsTlsDispatcher.cpp",
690 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()713 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()745 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()759 threads.emplace_back([key, i] (DnsTlsDispatcher* dispatcher) { in TEST_F()