Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dtransport_mdns.cpp312 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_connect_service_info() local
313 if (!mdns_instance.has_value()) { in mdns_get_connect_service_info()
325 if (!mdns_instance->service_name.empty()) { in mdns_get_connect_service_info()
326 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.data(), in mdns_get_connect_service_info()
327 mdns_instance->transport_type.data()); in mdns_get_connect_service_info()
335 ForEachService(g_state->receivers[*index], mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
365 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_pairing_service_info() local
366 if (!mdns_instance.has_value()) { in mdns_get_pairing_service_info()
378 if (!mdns_instance->service_name.empty()) { in mdns_get_pairing_service_info()
379 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.data(), in mdns_get_pairing_service_info()
[all …]
Dmdnsresponder_client.cpp603 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_connect_service_info() local
604 if (!mdns_instance.has_value()) { in mdns_get_connect_service_info()
615 if (!mdns_instance->service_name.empty()) { in mdns_get_connect_service_info()
616 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.c_str(), in mdns_get_connect_service_info()
617 mdns_instance->transport_type.c_str()); in mdns_get_connect_service_info()
625 mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
629 mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
652 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_pairing_service_info() local
653 if (!mdns_instance.has_value()) { in mdns_get_pairing_service_info()
664 if (!mdns_instance->service_name.empty()) { in mdns_get_pairing_service_info()
[all …]
/packages/modules/adb/
Dtest_adb.py653 def _adb_mdns_connect(self, server_port, mdns_instance, serial, should_connect): argument
659 … output = subprocess.check_output(["adb", "-P", str(server_port), "connect", mdns_instance])
664 .format(mdns_instance).encode("utf8")))