Lines Matching refs:c_str

126                 &sdref_, 0, interface_index, kDNSServiceProtocol_IPv4, host_target_.c_str(),  in ResolvedService()
132 D("DNSServiceGetAddrInfo(sdref=%p, host_target=%s)", sdref_, host_target_.c_str()); in ResolvedService()
147 android::base::StringPrintf("%s.%s", service_name_.c_str(), reg_type_.c_str()), in ConnectSecureWifiDevice()
149 D("Secure connect to %s regtype %s (%s:%hu) : %s", service_name_.c_str(), reg_type_.c_str(), in ConnectSecureWifiDevice()
150 ip_addr_.c_str(), port_, response.c_str()); in ConnectSecureWifiDevice()
219 service_name.c_str(), reg_type.c_str(), ip_addr.c_str(), port); in AddToServiceRegistry()
224 connect_device(android::base::StringPrintf("%s.%s", service_name.c_str(), in AddToServiceRegistry()
225 reg_type.c_str()), in AddToServiceRegistry()
227 D("Connect to %s regtype %s (%s:%hu) : %s", service_name.c_str(), reg_type.c_str(), 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()
237 return adb_DNSServiceIndexByName(reg_type_.c_str()); in service_index()
312 cb(service_name.c_str(), reg_type.c_str(), ip.c_str(), port); in ForEachService()
314 cb(service_name.c_str(), reg_type.c_str(), ip.c_str(), port); in ForEachService()
326 D("Got service_name match [%s]", wanted_name.c_str()); in ConnectByServiceName()
330 D("No registered service_names matched [%s]", service_name.c_str()); in ConnectByServiceName()
337 D("%s: reg_type=[%s] service_name=[%s]", __func__, reg_type.c_str(), service_name.c_str()); in RemoveDNSService()
583 result += android::base::StringPrintf("%s\t%s\t%s:%u\n", service_name.c_str(), in mdns_list_discovered_services()
584 reg_type.c_str(), ip_addr.c_str(), port); in mdns_list_discovered_services()
605 D("Failed to parse mDNS name [%s]", name.c_str()); 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()
632 D("Unknown reg_type [%s]", reg_type.c_str()); in mdns_get_connect_service_info()
654 D("Failed to parse mDNS pairing name [%s]", name.c_str()); in mdns_get_pairing_service_info()
665 auto reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.c_str(), in mdns_get_pairing_service_info()
666 mdns_instance->transport_type.c_str()); in mdns_get_pairing_service_info()
675 D("Not an adb pairing reg_type [%s]", reg_type.c_str()); in mdns_get_pairing_service_info()