Home
last modified time | relevance | path

Searched refs:srvs (Results 1 – 2 of 2) sorted by relevance

/system/core/adb/
Dtest_adb.py723 srvs = {
732 for i in range(len(srvs['mdns_name'])):
734 srvs['mdns_type'] + "local.",
735 name=srvs['mdns_name'][i] + "." + srvs['mdns_type'] + "local.",
736 addresses=[srvs['ipaddr'][i]],
737 port=srvs['port'][i]))
743 for i in range(len(srvs['mdns_name'])):
744 … self.assertTrue(any((srvs['mdns_name'][i] in line and srvs['mdns_type'] in line)
749 for i in range(len(srvs['mdns_name'])):
750 … self.assertFalse(any((srvs['mdns_name'][i] in line and srvs['mdns_type'] in line)
/system/core/adb/client/
Dtransport_mdns.cpp64 const char* srvs = getenv("ADB_MDNS_AUTO_CONNECT"); in config_auto_connect_services() local
65 if (!srvs) { in config_auto_connect_services()
69 if (strcmp(srvs, "0") == 0) { in config_auto_connect_services()
75 if (strcmp(srvs, "1") == 0) { in config_auto_connect_services()
84 auto srvs_list = android::base::Split(srvs, ","); in config_auto_connect_services()