Home
last modified time | relevance | path

Searched refs:DnsTlsServer (Results 1 – 15 of 15) sorted by relevance

/system/netd/resolv/
DDnsTlsServer.h33 struct DnsTlsServer { struct
35 DnsTlsServer() {} in DnsTlsServer() function
38 DnsTlsServer(const sockaddr_storage& ss) : ss(ss) {} in DnsTlsServer() argument
64 bool operator<(const DnsTlsServer& other) const;
65 bool operator==(const DnsTlsServer& other) const;
72 bool operator()(const DnsTlsServer& x, const DnsTlsServer& y) const;
DDnsTlsDispatcher.h51 DnsTlsTransport::Response query(const std::list<DnsTlsServer>& tlsServers, unsigned mark,
58 DnsTlsTransport::Response query(const DnsTlsServer& server, unsigned mark,
69 typedef std::pair<unsigned, const DnsTlsServer> Key;
74 Transport(const DnsTlsServer& server, unsigned mark, IDnsTlsSocketFactory* _Nonnull factory) in Transport()
99 std::list<DnsTlsServer> getOrderedServerList(const std::list<DnsTlsServer>& tlsServers,
DDnsTlsTransport.h44 DnsTlsTransport(const DnsTlsServer& server, unsigned mark, in DnsTlsTransport()
49 typedef DnsTlsServer::Response Response;
50 typedef DnsTlsServer::Result Result;
58 static bool validate(const DnsTlsServer& server, unsigned netid, uint32_t mark);
71 const DnsTlsServer mServer;
DDnsTlsServer.cpp92 bool AddressComparator::operator() (const DnsTlsServer& x, const DnsTlsServer& y) const { in operator ()()
111 auto make_tie(const DnsTlsServer& s) { in make_tie()
120 bool DnsTlsServer::operator <(const DnsTlsServer& other) const { in operator <()
124 bool DnsTlsServer::operator ==(const DnsTlsServer& other) const { in operator ==()
128 bool DnsTlsServer::wasExplicitlyConfigured() const { in wasExplicitlyConfigured()
DDnsTlsDispatcher.cpp37 std::list<DnsTlsServer> DnsTlsDispatcher::getOrderedServerList( in getOrderedServerList()
38 const std::list<DnsTlsServer> &tlsServers, unsigned mark) const { in getOrderedServerList()
44 std::list<DnsTlsServer> existing6; in getOrderedServerList()
45 std::list<DnsTlsServer> existing4; in getOrderedServerList()
46 std::list<DnsTlsServer> new6; in getOrderedServerList()
47 std::list<DnsTlsServer> new4; in getOrderedServerList()
86 const std::list<DnsTlsServer> &tlsServers, unsigned mark, in query()
88 const std::list<DnsTlsServer> orderedServers(getOrderedServerList(tlsServers, mark)); in query()
115 DnsTlsTransport::Response DnsTlsDispatcher::query(const DnsTlsServer& server, unsigned mark, in query()
DPrivateDnsConfiguration.h40 std::list<DnsTlsServer> validatedServers;
67 typedef std::map<DnsTlsServer, Validation, AddressComparator> PrivateDnsTracker;
69 void validatePrivateDnsProvider(const DnsTlsServer& server, PrivateDnsTracker& tracker,
72 bool recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, bool success);
78 bool needsValidation(const PrivateDnsTracker& tracker, const DnsTlsServer& server);
DIDnsTlsSocketFactory.h27 struct DnsTlsServer;
35 const DnsTlsServer& server, unsigned mark, IDnsTlsSocketObserver* _Nonnull observer,
DDnsTlsSocketFactory.h30 struct DnsTlsServer;
35 std::unique_ptr<IDnsTlsSocket> createDnsTlsSocket(const DnsTlsServer& server, unsigned mark, in createDnsTlsSocket()
Ddns_tls_test.cpp82 SERVER1 = DnsTlsServer(V4ADDR1); in BaseTest()
92 DnsTlsServer SERVER1;
117 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket()
188 std::future<DnsTlsServer::Result> f = transport.query(makeSlice(QUERY)); in TEST_F()
190 DnsTlsServer::Result r = f.get(); in TEST_F()
414 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket()
650 const DnsTlsServer& server, in createDnsTlsSocket()
658 std::multiset<std::pair<unsigned, DnsTlsServer>> keys;
673 std::vector<std::pair<unsigned, DnsTlsServer>> keys; in TEST_F()
688 const DnsTlsServer& server = key.second; in TEST_F()
[all …]
DDnsTlsQueryMap.h44 typedef DnsTlsServer::Response Response;
45 typedef DnsTlsServer::Result Result;
DDnsTlsSocket.h49 DnsTlsSocket(const DnsTlsServer& server, unsigned mark, in DnsTlsSocket()
128 const DnsTlsServer mServer;
DPrivateDnsConfiguration.cpp67 std::set<DnsTlsServer> tlsServers; in set()
73 DnsTlsServer server(parsed); in set()
172 void PrivateDnsConfiguration::validatePrivateDnsProvider(const DnsTlsServer& server, in validatePrivateDnsProvider()
228 bool PrivateDnsConfiguration::recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, in recordPrivateDnsValidation()
307 const DnsTlsServer& server) { in needsValidation()
DDnsTlsTransport.cpp146 bool DnsTlsTransport::validate(const DnsTlsServer& server, unsigned netid, uint32_t mark) { in validate()
DAndroid.bp69 "DnsTlsServer.cpp",
DREADME.md14 `DnsTlsTransport` for each server (represented by a `DnsTlsServer` struct) and