Searched refs:DNSClient (Results 1 – 19 of 19) sorted by relevance
/system/connectivity/shill/ |
D | dns_client.cc | 50 static string ObjectID(DNSClient* d) { return d->interface_name(); } in ObjectID() 53 const char DNSClient::kErrorNoData[] = "The query response contains no answers"; 54 const char DNSClient::kErrorFormErr[] = "The server says the query is bad"; 55 const char DNSClient::kErrorServerFail[] = "The server says it had a failure"; 56 const char DNSClient::kErrorNotFound[] = "The queried-for domain was not found"; 57 const char DNSClient::kErrorNotImp[] = "The server doesn't implement operation"; 58 const char DNSClient::kErrorRefused[] = "The server replied, refused the query"; 59 const char DNSClient::kErrorBadQuery[] = "Locally we could not format a query"; 60 const char DNSClient::kErrorNetRefused[] = "The network connection was refused"; 61 const char DNSClient::kErrorTimedOut[] = "The network connection was timed out"; [all …]
|
D | dns_client.h | 43 class DNSClient { 58 DNSClient(IPAddress::Family family, 64 virtual ~DNSClient(); 105 base::WeakPtrFactory<DNSClient> weak_ptr_factory_; 109 DISALLOW_COPY_AND_ASSIGN(DNSClient);
|
D | dns_client_factory.cc | 38 DNSClient* DNSClientFactory::CreateDNSClient( in CreateDNSClient() 44 const DNSClient::ClientCallback& callback) { in CreateDNSClient() 45 return new DNSClient(family, in CreateDNSClient()
|
D | dns_client_factory.h | 38 virtual DNSClient* CreateDNSClient( 44 const DNSClient::ClientCallback& callback);
|
D | mock_dns_client_factory.h | 40 DNSClient* (IPAddress::Family family, 45 const DNSClient::ClientCallback& callback));
|
D | dns_server_tester.h | 35 class DNSClient; variable 98 std::unique_ptr<DNSClient> dns_test_client_;
|
D | dns_client_unittest.cc | 125 dns_client_.reset(new DNSClient(IPAddress::kFamilyIPv4, in CreateClient() 225 const DNSClient::ClientCallback& callback() { return callback_; } in callback() 228 DNSClient::ClientCallback callback_; 231 std::unique_ptr<DNSClient> dns_client_; 356 EXPECT_EQ(string(DNSClient::kErrorTimedOut), error.message()); in TEST_F() 369 ErrorIs(Error::kOperationTimeout, DNSClient::kErrorTimedOut), _)); in TEST_F() 383 ErrorIs(Error::kOperationTimeout, DNSClient::kErrorTimedOut), _)); in TEST_F() 397 ErrorIs(Error::kOperationFailed, DNSClient::kErrorNotFound), _)); in TEST_F()
|
D | http_request.h | 36 class DNSClient; variable 133 std::unique_ptr<DNSClient> dns_client_;
|
D | mock_dns_client.cc | 30 : DNSClient(IPAddress::kFamilyIPv4, "", vector<string>(), 0, nullptr, in MockDNSClient()
|
D | mock_dns_client.h | 29 class MockDNSClient : public DNSClient {
|
D | http_proxy.h | 34 class DNSClient; variable 146 std::unique_ptr<DNSClient> dns_client_;
|
D | connection_health_checker.h | 38 class DNSClient; variable 214 ScopedVector<DNSClient> dns_clients_;
|
D | connection_diagnostics.h | 37 class DNSClient; variable 347 std::unique_ptr<DNSClient> dns_client_;
|
D | connection_health_checker.cc | 152 DNSClient* dns_client = in AddRemoteURL() 250 ScopedVector<DNSClient> keep; in GarbageCollectDNSClients() 251 ScopedVector<DNSClient> discard; in GarbageCollectDNSClients()
|
D | http_request.cc | 73 new DNSClient(connection->IsIPv6() ? IPAddress::kFamilyIPv6 in HTTPRequest() 192 if (error.message() == DNSClient::kErrorTimedOut) { in GetDNSResult()
|
D | http_request_unittest.cc | 404 GetDNSResultFailure(DNSClient::kErrorNoData); in TEST_F() 414 const string error(DNSClient::kErrorTimedOut); in TEST_F()
|
D | http_proxy.cc | 142 dns_client_.reset(new DNSClient(IPAddress::kFamilyIPv4, in Start()
|
D | connection_health_checker_unittest.cc | 167 ScopedVector<DNSClient>& dns_clients() { in dns_clients()
|
D | http_proxy_unittest.cc | 657 const std::string not_found_error(DNSClient::kErrorNotFound); in TEST_F()
|