Home
last modified time | relevance | path

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

/packages/modules/adb/
Dsocket_spec.cpp200 if (auto mdns_info = mdns_get_connect_service_info(std::string(address.substr(4))); in socket_spec_connect() local
201 mdns_info != std::nullopt) { in socket_spec_connect()
202 fd->reset(network_connect(mdns_info->addr, mdns_info->port, SOCK_STREAM, 0, error)); in socket_spec_connect()
207 port_value = mdns_info->port; in socket_spec_connect()
210 mdns_info->service_name.c_str(), in socket_spec_connect()
211 mdns_info->service_type.c_str()); in socket_spec_connect()
/packages/modules/adb/client/
Dadb_wifi.cpp183 auto mdns_info = mdns_get_pairing_service_info(host); in adb_wifi_pair_device() local
185 if (!mdns_info.has_value()) { in adb_wifi_pair_device()
228 if (!client->Start(mdns_info.has_value() in adb_wifi_pair_device()
229 ? android::base::StringPrintf("%s:%d", mdns_info->addr.c_str(), in adb_wifi_pair_device()
230 mdns_info->port) in adb_wifi_pair_device()