Home
last modified time | relevance | path

Searched refs:instance_name (Results 1 – 7 of 7) sorted by relevance

/packages/modules/adb/client/
Dtransport_mdns.cpp99 << " 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()
[all …]
Dmdns_utils_test.cpp29 EXPECT_EQ(str, res->instance_name); in TEST()
37 EXPECT_EQ(str, res->instance_name); in TEST()
45 EXPECT_EQ(str, res->instance_name); in TEST()
81 EXPECT_EQ(res->instance_name, "my"); in TEST()
89 EXPECT_EQ(res->instance_name, "my"); in TEST()
97 EXPECT_EQ(res->instance_name, "my."); in TEST()
105 EXPECT_EQ(res->instance_name, "my.name"); in TEST()
145 EXPECT_EQ(res->instance_name, "name"); in TEST()
154 EXPECT_EQ(res->instance_name, "name"); in TEST()
Dmdns_utils.h27 std::string instance_name; // "my name" member
32 : instance_name(inst), service_name(serv), transport_type(trans) {} in MdnsInstance()
Dmdnsresponder_client.cpp559 bool adb_secure_connect_by_service_name(const std::string& instance_name) { in adb_secure_connect_by_service_name() argument
561 instance_name); in adb_secure_connect_by_service_name()
622 mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
626 mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
/packages/modules/adb/
Dadb_mdns.h58 bool adb_secure_connect_by_service_name(const std::string& instance_name);
65 bool adb_DNSServiceShouldAutoConnect(std::string_view service_name, std::string_view instance_name);
/packages/modules/adb/client/openscreen/
Dmdns_service_info.h29 std::string instance_name; member
Dmdns_service_info.cpp32 service_info.instance_name = endpoint.instance_id(); in DnsSdInstanceEndpointToServiceInfo()