Searched refs:reg_type (Results 1 – 4 of 4) sorted by relevance
/packages/modules/adb/client/ |
D | mdnsresponder_client.cpp | 110 ResolvedService(const std::string& service_name, const std::string& reg_type, in ResolvedService() argument 114 reg_type_(reg_type), in ResolvedService() 189 RemoveDNSService(service->reg_type(), service->service_name()); in AddToServiceRegistry() 203 LOG(WARNING) << "No registry available for reg_type=[" << service->reg_type() in AddToServiceRegistry() 211 auto reg_type = s->reg_type(); in AddToServiceRegistry() local 216 if (adb_DNSServiceShouldAutoConnect(reg_type, service_name)) { in AddToServiceRegistry() 219 service_name.c_str(), reg_type.c_str(), ip_addr.c_str(), port); 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() 232 service_name.c_str(), reg_type.c_str(), ip_addr.c_str(), port); in AddToServiceRegistry() [all …]
|
D | transport_mdns.cpp | 323 std::string reg_type; in mdns_get_connect_service_info() local 326 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.data(), in mdns_get_connect_service_info() 328 const auto index = adb_DNSServiceIndexByName(reg_type); in mdns_get_connect_service_info() 338 D("Not a connectable service name [%s]", reg_type.data()); in mdns_get_connect_service_info() 376 std::string reg_type; in mdns_get_pairing_service_info() local 379 reg_type = android::base::StringPrintf("%s.%s", mdns_instance->service_name.data(), in mdns_get_pairing_service_info() 381 const auto index = adb_DNSServiceIndexByName(reg_type); in mdns_get_pairing_service_info() 389 D("Not an adb pairing reg_type [%s]", reg_type.data()); in mdns_get_pairing_service_info()
|
/packages/modules/adb/ |
D | adb_mdns.cpp | 107 std::optional<int> adb_DNSServiceIndexByName(std::string_view reg_type) { in adb_DNSServiceIndexByName() argument 109 if (!strncmp(reg_type.data(), kADBDNSServices[i], strlen(kADBDNSServices[i]))) { in adb_DNSServiceIndexByName() 116 bool adb_DNSServiceShouldAutoConnect(std::string_view reg_type, std::string_view service_name) { in adb_DNSServiceShouldAutoConnect() argument 120 std::optional<int> index = adb_DNSServiceIndexByName(reg_type); in adb_DNSServiceShouldAutoConnect() 126 D("Auto-connect for reg_type '%s' disabled", reg_type.data()); in adb_DNSServiceShouldAutoConnect()
|
D | adb_mdns.h | 53 std::function<void(const std::string& service_name, const std::string& reg_type, 62 std::optional<int> adb_DNSServiceIndexByName(std::string_view reg_type);
|