Home
last modified time | relevance | path

Searched refs:DNSClient (Results 1 – 19 of 19) sorted by relevance

/system/connectivity/shill/
Ddns_client.cc50 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 …]
Ddns_client.h43 class DNSClient {
58 DNSClient(IPAddress::Family family,
64 virtual ~DNSClient();
105 base::WeakPtrFactory<DNSClient> weak_ptr_factory_;
109 DISALLOW_COPY_AND_ASSIGN(DNSClient);
Ddns_client_factory.cc38 DNSClient* DNSClientFactory::CreateDNSClient( in CreateDNSClient()
44 const DNSClient::ClientCallback& callback) { in CreateDNSClient()
45 return new DNSClient(family, in CreateDNSClient()
Ddns_client_factory.h38 virtual DNSClient* CreateDNSClient(
44 const DNSClient::ClientCallback& callback);
Dmock_dns_client_factory.h40 DNSClient* (IPAddress::Family family,
45 const DNSClient::ClientCallback& callback));
Ddns_server_tester.h35 class DNSClient; variable
98 std::unique_ptr<DNSClient> dns_test_client_;
Ddns_client_unittest.cc125 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()
Dhttp_request.h36 class DNSClient; variable
133 std::unique_ptr<DNSClient> dns_client_;
Dmock_dns_client.cc30 : DNSClient(IPAddress::kFamilyIPv4, "", vector<string>(), 0, nullptr, in MockDNSClient()
Dmock_dns_client.h29 class MockDNSClient : public DNSClient {
Dhttp_proxy.h34 class DNSClient; variable
146 std::unique_ptr<DNSClient> dns_client_;
Dconnection_health_checker.h38 class DNSClient; variable
214 ScopedVector<DNSClient> dns_clients_;
Dconnection_diagnostics.h37 class DNSClient; variable
347 std::unique_ptr<DNSClient> dns_client_;
Dconnection_health_checker.cc152 DNSClient* dns_client = in AddRemoteURL()
250 ScopedVector<DNSClient> keep; in GarbageCollectDNSClients()
251 ScopedVector<DNSClient> discard; in GarbageCollectDNSClients()
Dhttp_request.cc73 new DNSClient(connection->IsIPv6() ? IPAddress::kFamilyIPv6 in HTTPRequest()
192 if (error.message() == DNSClient::kErrorTimedOut) { in GetDNSResult()
Dhttp_request_unittest.cc404 GetDNSResultFailure(DNSClient::kErrorNoData); in TEST_F()
414 const string error(DNSClient::kErrorTimedOut); in TEST_F()
Dhttp_proxy.cc142 dns_client_.reset(new DNSClient(IPAddress::kFamilyIPv4, in Start()
Dconnection_health_checker_unittest.cc167 ScopedVector<DNSClient>& dns_clients() { in dns_clients()
Dhttp_proxy_unittest.cc657 const std::string not_found_error(DNSClient::kErrorNotFound); in TEST_F()