Home
last modified time | relevance | path

Searched refs:DnsTlsDispatcher (Results 1 – 8 of 8) sorted by relevance

/packages/modules/DnsResolver/
DDnsTlsDispatcher.cpp40 std::mutex DnsTlsDispatcher::sLock;
42 DnsTlsDispatcher::DnsTlsDispatcher() { in DnsTlsDispatcher() function in android::net::DnsTlsDispatcher
46 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 …]
DREADME-DoT.md6 * `DnsTlsDispatcher`
12 `DnsTlsDispatcher` is a singleton class whose `query` method is the DnsTls's
13 only public interface. `DnsTlsDispatcher` is just a table holding the
15 network. `DnsTlsDispatcher` also blocks each query thread, waiting on a
68 `DnsTlsDispatcher` accepts queries that have colliding ID numbers and still sends them on
88 to 3 times before reporting failure to `DnsTlsDispatcher`.
93 `DnsTlsDispatcher` maintains a 5-minute timeout. Any `DnsTlsTransport` that has had no
115 particularly required for unit testing of `DnsTlsDispatcher` and `DnsTlsTransport`.
120 `DnsTlsDispatcher`'s constructor takes an `IDnsTlsSocketFactory`,
DDnsTlsDispatcher.h40 class DnsTlsDispatcher : public PrivateDnsValidationObserver {
43 explicit DnsTlsDispatcher(std::unique_ptr<IDnsTlsSocketFactory> factory) in DnsTlsDispatcher() function
46 static DnsTlsDispatcher& getInstance();
71 DnsTlsDispatcher();
DDnsResolver.cpp81 auto& dnsTlsDispatcher = DnsTlsDispatcher::getInstance(); in DnsResolver()
DResolverController.cpp172 DnsTlsDispatcher::getInstance().forceCleanup(netId); in destroyNetworkCache()
Dres_send.cpp125 using android::net::DnsTlsDispatcher;
1255 const auto response = DnsTlsDispatcher::getInstance().query(privateDnsStatus.validatedServers(), in res_tls_send()
DAndroid.bp181 "DnsTlsDispatcher.cpp",
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp690 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()