Searched refs:DnsTlsSocket (Results 1 – 6 of 6) sorted by relevance
/system/netd/resolv/ |
D | DnsTlsSocket.cpp | 66 Status DnsTlsSocket::tcpConnect() { in tcpConnect() 131 bool DnsTlsSocket::initialize() { in initialize() 172 mLoopThread.reset(new std::thread(&DnsTlsSocket::loop, this)); in initialize() 177 bssl::UniquePtr<SSL> DnsTlsSocket::sslConnect(int fd) { in sslConnect() 300 void DnsTlsSocket::sslDisconnect() { in sslDisconnect() 308 bool DnsTlsSocket::sslWrite(const Slice buffer) { in sslWrite() 335 void DnsTlsSocket::loop() { in loop() 339 const int timeout_msecs = DnsTlsSocket::kIdleTimeout.count() * 1000; in loop() 412 DnsTlsSocket::~DnsTlsSocket() { in ~DnsTlsSocket() 432 bool DnsTlsSocket::query(uint16_t id, const Slice query) { in query() [all …]
|
D | DnsTlsSocket.h | 47 class DnsTlsSocket : public IDnsTlsSocket { 49 DnsTlsSocket(const DnsTlsServer& server, unsigned mark, in DnsTlsSocket() function 52 ~DnsTlsSocket();
|
D | README.md | 10 * `DnsTlsSocket` 18 `DnsTlsTransport` sends each query over a `DnsTlsSocket`, opening a 20 `DnsTlsSocket`, which happen on a different thread. 21 `IDnsTlsSocketObserver` is an interface defining how `DnsTlsSocket` returns 28 `DnsTlsSocket` interleaves all queries onto a single socket, and reports all 48 ### Threading in `DnsTlsSocket` 50 `DnsTlsSocket` can receive queries on any thread, and send them over a 82 `DnsTlsSocket` imposes a 20-second inactivity timeout. A socket that has been idle for 108 `DnsTlsSocket` (which requires `CAP_NET_ADMIN` because it uses `setsockopt(SO_MARK)`) and 114 For unit testing, we would like to be able to mock out `DnsTlsSocket`. This is [all …]
|
D | DnsTlsSocketFactory.h | 38 auto socket = std::make_unique<DnsTlsSocket>(server, mark, observer, cache); in createDnsTlsSocket()
|
D | Android.bp | 71 "DnsTlsSocket.cpp",
|
D | dns_tls_test.cpp | 947 auto socket = std::make_unique<DnsTlsSocket>(server, MARK, &observer, &cache); in TEST()
|