Searched refs:DnsTlsDispatcher (Results 1 – 8 of 8) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsTlsDispatcher.cpp | 40 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() 107 DnsTlsTransport::Response DnsTlsDispatcher::query(const std::list<DnsTlsServer>& tlsServers, in query() 174 DnsTlsTransport::Response DnsTlsDispatcher::query(const DnsTlsServer& server, unsigned netId, in query() 244 void DnsTlsDispatcher::forceCleanup(unsigned netId) { in forceCleanup() 249 DnsTlsTransport::Result DnsTlsDispatcher::queryInternal(Transport& xport, in queryInternal() 278 void DnsTlsDispatcher::maybeCleanup(std::chrono::time_point<std::chrono::steady_clock> now) { in maybeCleanup() [all …]
|
D | DnsTlsDispatcher.h | 40 class DnsTlsDispatcher : public PrivateDnsValidationObserver { 43 explicit DnsTlsDispatcher(std::unique_ptr<IDnsTlsSocketFactory> factory) in DnsTlsDispatcher() function 46 static DnsTlsDispatcher& getInstance(); 72 DnsTlsDispatcher();
|
D | README-DoT.md | 6 * `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`,
|
D | DnsResolver.cpp | 82 auto& dnsTlsDispatcher = DnsTlsDispatcher::getInstance(); in DnsResolver()
|
D | ResolverController.cpp | 184 DnsTlsDispatcher::getInstance().forceCleanup(netId); in destroyNetworkCache()
|
D | Android.bp | 274 "DnsTlsDispatcher.cpp",
|
D | res_send.cpp | 128 using android::net::DnsTlsDispatcher; 1421 const auto response = DnsTlsDispatcher::getInstance().query(tlsServers, statp, query, answer, in res_tls_send()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_tls_unit_test.cpp | 667 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F() 690 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F() 722 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F() 736 threads.emplace_back([key, i] (DnsTlsDispatcher* dispatcher) { in TEST_F()
|