Lines Matching refs:instance_name
99 << " instance_name=" << info.get().instance_name in OnServiceReceiverResult()
107 info.get().instance_name) && in OnServiceReceiverResult()
116 !adb_wifi_is_known_host(info.get().instance_name)) { in OnServiceReceiverResult()
117 LOG(INFO) << "instance_name=" << info.get().instance_name << " not in keystore"; in OnServiceReceiverResult()
121 LOG(INFO) << "Attempting to auto-connect to instance=" << info.get().instance_name in OnServiceReceiverResult()
125 android::base::StringPrintf("%s.%s", info.get().instance_name.c_str(), in OnServiceReceiverResult()
211 if (wanted_instance_name.empty() || s.get().instance_name == wanted_instance_name) { in ForEachService()
214 cb(s.get().instance_name.c_str(), s.get().service_name.c_str(), ss.str().c_str(), in ForEachService()
257 bool adb_secure_connect_by_service_name(const std::string& instance_name) { in adb_secure_connect_by_service_name() argument
259 return g_adb_mdnsresponder_funcs.adb_secure_connect_by_service_name(instance_name); in adb_secure_connect_by_service_name()
268 auto cb = [&](const std::string& instance_name, const std::string& service_name, 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
271 ForEachService(g_state->receivers[kADBSecureConnectServiceRefIndex], instance_name, cb); in adb_secure_connect_by_service_name()
300 auto cb = [&](const std::string& instance_name, const std::string& service_name, in mdns_list_discovered_services()
302 result += android::base::StringPrintf("%s\t%s\t%s:%u\n", instance_name.data(), in mdns_list_discovered_services()
330 auto cb = [&](const std::string& instance_name, const std::string& service_name, 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
346 ForEachService(g_state->receivers[*index], mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
383 auto cb = [&](const std::string& instance_name, const std::string& service_name, 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