Home
last modified time | relevance | path

Searched refs:ares_ (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/
Ddns_client_unittest.cc131 dns_client_->ares_ = &ares_; in CreateClient()
137 EXPECT_CALL(ares_, GetSock(_, _, _)) in SetActive()
139 EXPECT_CALL(ares_, Timeout(_, _, _)) in SetActive()
145 EXPECT_CALL(ares_, GetSock(_, _, _)) in SetInActive()
147 EXPECT_CALL(ares_, Timeout(_, _, _)) in SetInActive()
156 EXPECT_CALL(ares_, InitOptions(_, _, _)) in SetupRequest()
159 EXPECT_CALL(ares_, SetServersCsv(_, _)) in SetupRequest()
161 EXPECT_CALL(ares_, SetLocalDev(kAresChannel, StrEq(kNetworkInterface))) in SetupRequest()
163 EXPECT_CALL(ares_, GetHostByName(kAresChannel, StrEq(name), _, _, _)); in SetupRequest()
176 EXPECT_CALL(ares_, Destroy(kAresChannel)); in StartValidRequest()
[all …]
Ddns_client.cc90 ares_(Ares::GetInstance()), in DNSClient()
116 int status = ares_->InitOptions(&resolver_state_->channel, in Start()
147 status = ares_->SetServersCsv(resolver_state_->channel, in Start()
157 ares_->SetLocalDev(resolver_state_->channel, interface_name_.c_str()); in Start()
162 ares_->GetHostByName(resolver_state_->channel, hostname.c_str(), in Start()
185 ares_->Destroy(resolver_state_->channel); in Stop()
216 ares_->ProcessFd(resolver_state_->channel, fd, ARES_SOCKET_BAD); in HandleDNSRead()
221 ares_->ProcessFd(resolver_state_->channel, ARES_SOCKET_BAD, fd); in HandleDNSWrite()
226 ares_->ProcessFd(resolver_state_->channel, ARES_SOCKET_BAD, ARES_SOCKET_BAD); in HandleTimeout()
312 int action_bits = ares_->GetSock(resolver_state_->channel, sockets, in RefreshHandles()
[all …]
Ddns_client.h106 Ares* ares_; variable