/packages/modules/DnsResolver/ |
D | DnsTlsServer.cpp | 94 bool AddressComparator::operator() (const DnsTlsServer& x, const DnsTlsServer& y) const { in operator ()() 113 auto make_tie(const DnsTlsServer& s) { in make_tie() 117 bool DnsTlsServer::operator <(const DnsTlsServer& other) const { in operator <() 121 bool DnsTlsServer::operator ==(const DnsTlsServer& other) const { in operator ==() 125 bool DnsTlsServer::wasExplicitlyConfigured() const { in wasExplicitlyConfigured() 129 std::string DnsTlsServer::toIpString() const { in toIpString()
|
D | DnsTlsServer.h | 34 struct DnsTlsServer : public IPrivateDnsServer { struct 36 DnsTlsServer() {} in DnsTlsServer() function 39 DnsTlsServer(const sockaddr_storage& ss) : ss(ss) {} in DnsTlsServer() function 60 bool operator<(const DnsTlsServer& other) const; 61 bool operator==(const DnsTlsServer& other) const; 97 bool operator()(const DnsTlsServer& x, const DnsTlsServer& y) const; argument
|
D | DnsTlsDispatcher.h | 53 DnsTlsTransport::Response query(const std::list<DnsTlsServer>& tlsServers, 61 DnsTlsTransport::Response query(const DnsTlsServer& server, unsigned netId, unsigned mark, 79 typedef std::pair<unsigned, const DnsTlsServer> Key; 84 Transport(const DnsTlsServer& server, unsigned mark, unsigned netId, in Transport() 146 Transport* _Nullable addTransport(const DnsTlsServer& server, unsigned mark, unsigned netId) 169 std::list<DnsTlsServer> getOrderedAndUsableServerList(const std::list<DnsTlsServer>& tlsServers,
|
D | DnsTlsDispatcher.cpp | 51 std::list<DnsTlsServer> DnsTlsDispatcher::getOrderedAndUsableServerList( in getOrderedAndUsableServerList() 52 const std::list<DnsTlsServer>& tlsServers, unsigned netId, unsigned mark) { in getOrderedAndUsableServerList() 58 std::list<DnsTlsServer> existing6; in getOrderedAndUsableServerList() 59 std::list<DnsTlsServer> existing4; in getOrderedAndUsableServerList() 60 std::list<DnsTlsServer> new6; in getOrderedAndUsableServerList() 61 std::list<DnsTlsServer> new4; in getOrderedAndUsableServerList() 108 DnsTlsTransport::Response DnsTlsDispatcher::query(const std::list<DnsTlsServer>& tlsServers, in query() 111 const std::list<DnsTlsServer> servers( in query() 164 DnsTlsTransport::Response DnsTlsDispatcher::query(const DnsTlsServer& server, unsigned netId, in query() 292 DnsTlsDispatcher::Transport* DnsTlsDispatcher::addTransport(const DnsTlsServer& server, in addTransport()
|
D | DnsTlsTransport.h | 44 DnsTlsTransport(const DnsTlsServer& server, unsigned mark, in DnsTlsTransport() 58 static bool validate(const DnsTlsServer& server, uint32_t mark); 73 const DnsTlsServer mServer;
|
D | PrivateDnsConfigurationTest.cpp | 168 const DnsTlsServer server(netdutils::IPSockAddr::toIPSockAddr(kServer1, 853)); in TEST_F() 289 DnsTlsServer server(netdutils::IPSockAddr::toIPSockAddr("127.0.0.1", 853)); in TEST_F() 293 DnsTlsServer other = server; in TEST_F() 310 const DnsTlsServer server(netdutils::IPSockAddr::toIPSockAddr(kServer1, 853)); in TEST_F() 365 const DnsTlsServer server1(netdutils::IPSockAddr::toIPSockAddr(kServer1, 853)); in TEST_F() 366 const DnsTlsServer server2(netdutils::IPSockAddr::toIPSockAddr(kServer2, 853)); in TEST_F()
|
D | PrivateDnsConfiguration.cpp | 72 auto server = std::make_unique<DnsTlsServer>(parsed); in set() 131 DnsTlsServer& dotServer = *static_cast<DnsTlsServer*>(server.get()); in getStatus() 193 DnsTlsServer server = *static_cast<const DnsTlsServer*>(result.value()); in startValidation()
|
D | PrivateDnsConfiguration.h | 42 std::map<DnsTlsServer, Validation, AddressComparator> serversMap; 44 std::list<DnsTlsServer> validatedServers() const { in validatedServers() 45 std::list<DnsTlsServer> servers; in validatedServers()
|
D | IDnsTlsSocketFactory.h | 27 struct DnsTlsServer; 35 const DnsTlsServer& server, unsigned mark, IDnsTlsSocketObserver* _Nonnull observer,
|
D | DnsTlsSocketFactory.h | 30 struct DnsTlsServer; 35 std::unique_ptr<IDnsTlsSocket> createDnsTlsSocket(const DnsTlsServer& server, unsigned mark, in createDnsTlsSocket()
|
D | DnsTlsSocket.h | 81 DnsTlsSocket(const DnsTlsServer& server, unsigned mark, in DnsTlsSocket() 186 const DnsTlsServer mServer;
|
D | DnsTlsTransport.cpp | 278 bool DnsTlsTransport::validate(const DnsTlsServer& server, uint32_t mark) { in validate()
|
D | Android.bp | 184 "DnsTlsServer.cpp",
|
D | README-DoT.md | 14 `DnsTlsTransport` for each server (represented by a `DnsTlsServer` struct) and
|
/packages/modules/DnsResolver/tests/ |
D | resolv_tls_unit_test.cpp | 81 SERVER1 = DnsTlsServer(V4ADDR1); in BaseTest() 90 DnsTlsServer SERVER1; 116 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket() 429 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket() 726 const DnsTlsServer& server, in createDnsTlsSocket() 734 std::multiset<std::pair<unsigned, DnsTlsServer>> keys; 749 std::vector<std::pair<unsigned, DnsTlsServer>> keys; in TEST_F() 766 const DnsTlsServer& server = key.second; in TEST_F() 787 bool isAddressEqual(const DnsTlsServer& s1, const DnsTlsServer& s2) { in isAddressEqual() 794 void checkUnequal(const DnsTlsServer& s1, const DnsTlsServer& s2) { in checkUnequal() [all …]
|