/packages/modules/adb/client/ |
D | mdnsresponder_client.cpp | 170 char ip_addr[INET6_ADDRSTRLEN] = {}; in RegisterIpAddress() local 171 if (!inet_ntop(sa_family_, const_cast<void*>(ip_addr_data), ip_addr, sizeof(ip_addr))) { in RegisterIpAddress() 175 ip_addr_ = ip_addr; in RegisterIpAddress() 214 auto ip_addr = s->ip_address(); in AddToServiceRegistry() local 219 service_name.c_str(), reg_type.c_str(), ip_addr.c_str(), port); in AddToServiceRegistry() 228 ip_addr.c_str(), port, response.c_str()); in AddToServiceRegistry() 232 service_name.c_str(), reg_type.c_str(), ip_addr.c_str(), port); in AddToServiceRegistry() 579 const std::string& ip_addr, uint16_t port) { in mdns_list_discovered_services() argument 581 reg_type.c_str(), ip_addr.c_str(), port); in mdns_list_discovered_services() 608 const std::string& ip_addr, in mdns_get_connect_service_info() [all …]
|
D | transport_mdns.cpp | 269 const std::string& ip_addr, in adb_secure_connect_by_service_name() 270 uint16_t port) { info.emplace(instance_name, service_name, ip_addr, port); }; in adb_secure_connect_by_service_name() argument 301 const std::string& ip_addr, uint16_t port) { in mdns_list_discovered_services() argument 303 service_name.data(), ip_addr.data(), port); in mdns_list_discovered_services() 331 const std::string& ip_addr, in mdns_get_connect_service_info() 332 uint16_t port) { info.emplace(instance_name, service_name, ip_addr, port); }; in mdns_get_connect_service_info() argument 384 const std::string& ip_addr, in mdns_get_pairing_service_info() 385 uint16_t port) { info.emplace(instance_name, service_name, ip_addr, port); }; in mdns_get_pairing_service_info() argument
|
/packages/modules/DnsResolver/ |
D | doh.rs | 81 fn make_doh_udp_socket(ip_addr: &str, mark: u32) -> Result<std::net::UdpSocket> { in make_doh_udp_socket() 82 let sock_addr = SocketAddr::new(IpAddr::from_str(&ip_addr)?, DOH_PORT); in make_doh_udp_socket() 100 ip_addr: &str, in new() 105 let udp_sk = make_doh_udp_socket(&ip_addr, mark)?; in new() 106 DohDispatcher::new_with_socket(url, ip_addr, mark, cert_path, udp_sk) in new() 111 ip_addr: &str, in new_with_socket() 129 url, ip_addr, mark, &scid in new_with_socket() 406 ip_addr: *const c_char, in doh_new() 410 let (url, ip_addr, cert_path) = match ( in doh_new() 412 std::ffi::CStr::from_ptr(ip_addr).to_str(), in doh_new() [all …]
|
D | DnsProxyListener.cpp | 445 char ip_addr[INET6_ADDRSTRLEN]; in logDnsQueryResult() local 446 if (inet_ntop(hp->h_addrtype, hp->h_addr_list[i], ip_addr, sizeof(ip_addr)) != nullptr) { in logDnsQueryResult() 463 char ip_addr[INET6_ADDRSTRLEN]; in logDnsQueryResult() local 464 int ret = getnameinfo(ai->ai_addr, ai->ai_addrlen, ip_addr, sizeof(ip_addr), nullptr, 0, in logDnsQueryResult() 798 char ip_addr[INET6_ADDRSTRLEN]; in addIpAddrWithinLimit() local 799 if (getnameinfo(addr, addrlen, ip_addr, sizeof(ip_addr), nullptr, 0, NI_NUMERICHOST) == 0) { in addIpAddrWithinLimit() 800 ip_addrs->push_back(std::string(ip_addr)); in addIpAddrWithinLimit()
|
D | doh.h | 38 DohServer* doh_new(const char* url, const char* ip_addr, uint32_t mark, const char* cert_path);
|
/packages/modules/adb/client/pairing/ |
D | pairing_client.cpp | 59 virtual bool Start(std::string_view ip_addr, pairing_client_result_cb cb, 103 bool PairingClientImpl::Start(std::string_view ip_addr, pairing_client_result_cb cb, void* opaque) { in Start() argument 104 CHECK(!ip_addr.empty()); in Start() 115 CHECK(android::base::ParseNetAddress(std::string(ip_addr), &host_, &port_, nullptr, &err)); in Start()
|
D | pairing_client.h | 54 virtual bool Start(std::string_view ip_addr, pairing_client_result_cb cb, void* opaque) = 0;
|
/packages/modules/adb/pairing_connection/tests/ |
D | pairing_client.cpp | 59 virtual bool Start(std::string_view ip_addr, pairing_client_result_cb cb, 111 bool PairingClientImpl::Start(std::string_view ip_addr, pairing_client_result_cb cb, void* opaque) { in Start() argument 112 CHECK(!ip_addr.empty()); in Start() 123 CHECK(android::base::ParseNetAddress(std::string(ip_addr), &host_, &port_, nullptr, &err)); in Start()
|
D | pairing_client.h | 54 virtual bool Start(std::string_view ip_addr, pairing_client_result_cb cb, void* opaque) = 0;
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbWirelessDialogController.java | 58 mIpAddr = mView.findViewById(R.id.ip_addr); in AdbWirelessDialogController()
|