Searched refs:mdns_instance (Results 1 – 3 of 3) sorted by relevance
/packages/modules/adb/client/ |
D | transport_mdns.cpp | 323 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_connect_service_info() local 324 if (!mdns_instance.has_value()) { in mdns_get_connect_service_info() 336 if (!mdns_instance->service_name.empty()) { in mdns_get_connect_service_info() 337 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.data(), in mdns_get_connect_service_info() 338 mdns_instance->transport_type.data()); in mdns_get_connect_service_info() 346 ForEachService(g_state->receivers[*index], mdns_instance->instance_name, cb); in mdns_get_connect_service_info() 376 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_pairing_service_info() local 377 if (!mdns_instance.has_value()) { in mdns_get_pairing_service_info() 389 if (!mdns_instance->service_name.empty()) { in mdns_get_pairing_service_info() 390 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.data(), in mdns_get_pairing_service_info() [all …]
|
D | mdnsresponder_client.cpp | 600 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_connect_service_info() local 601 if (!mdns_instance.has_value()) { in mdns_get_connect_service_info() 612 if (!mdns_instance->service_name.empty()) { in mdns_get_connect_service_info() 613 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.c_str(), in mdns_get_connect_service_info() 614 mdns_instance->transport_type.c_str()); in mdns_get_connect_service_info() 622 mdns_instance->instance_name, cb); in mdns_get_connect_service_info() 626 mdns_instance->instance_name, cb); in mdns_get_connect_service_info() 649 auto mdns_instance = mdns::mdns_parse_instance_name(name); in mdns_get_pairing_service_info() local 650 if (!mdns_instance.has_value()) { in mdns_get_pairing_service_info() 661 if (!mdns_instance->service_name.empty()) { in mdns_get_pairing_service_info() [all …]
|
/packages/modules/adb/ |
D | test_adb.py | 653 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")))
|