Home
last modified time | relevance | path

Searched refs:ip_addr (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/
DDnsProxyListener.cpp435 char ip_addr[INET6_ADDRSTRLEN]; in logDnsQueryResult() local
436 if (inet_ntop(hp->h_addrtype, hp->h_addr_list[i], ip_addr, sizeof(ip_addr)) != nullptr) { in logDnsQueryResult()
453 char ip_addr[INET6_ADDRSTRLEN]; in logDnsQueryResult() local
454 int ret = getnameinfo(ai->ai_addr, ai->ai_addrlen, ip_addr, sizeof(ip_addr), nullptr, 0, in logDnsQueryResult()
781 char ip_addr[INET6_ADDRSTRLEN]; in addIpAddrWithinLimit() local
782 if (getnameinfo(addr, addrlen, ip_addr, sizeof(ip_addr), nullptr, 0, NI_NUMERICHOST) == 0) { in addIpAddrWithinLimit()
783 ip_addrs->push_back(std::string(ip_addr)); in addIpAddrWithinLimit()
/packages/apps/Settings/src/com/android/settings/development/
DAdbWirelessDialogController.java58 mIpAddr = mView.findViewById(R.id.ip_addr); in AdbWirelessDialogController()