Home
last modified time | relevance | path

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

/packages/modules/adb/
Dadb_mdns.cpp63 const char* srvs = getenv("ADB_MDNS_AUTO_CONNECT"); in config_auto_connect_services() local
64 if (!srvs) { in config_auto_connect_services()
68 if (strcmp(srvs, "0") == 0) { in config_auto_connect_services()
74 if (strcmp(srvs, "all") == 0) { in config_auto_connect_services()
83 auto srvs_list = android::base::Split(srvs, ","); in config_auto_connect_services()
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)