Home
last modified time | relevance | path

Searched refs:get_hosts (Results 1 – 25 of 38) sorted by relevance

12

/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt102 >>> data = rpc_interface.get_hosts()
131 >>> data = rpc_interface.get_hosts()
147 >>> rpc_interface.get_hosts() == []
249 >>> data = rpc_interface.get_hosts(hostname='host1')
252 >>> data = rpc_interface.get_hosts(hostname='host2')
260 >>> data = rpc_interface.get_hosts(labels__name='label1')
263 >>> data = rpc_interface.get_hosts(labels__name='label2')
269 >>> data = rpc_interface.get_hosts(hostname='host1')
272 >>> rpc_interface.get_hosts(labels__name='label2')
286 >>> data = rpc_interface.get_hosts(hostname='host1')
[all …]
/external/autotest/frontend/afe/
Ddirect_afe_unittest.py17 hosts = afe.get_hosts()
21 hosts = afe.get_hosts()
Drpc_interface_unittest.py74 hosts = rpc_interface.get_hosts()
77 hosts = rpc_interface.get_hosts(hostname='host1')
88 hosts = rpc_interface.get_hosts(
96 hosts = rpc_interface.get_hosts(hostname__in=['host1', 'host2'],
102 hosts = rpc_interface.get_hosts(
111 hosts = rpc_interface.get_hosts(
347 data = rpc_interface.get_hosts(hostname='host1', valid_only=False)
/external/autotest/server/hosts/
Dmoblab_host.py146 afe.get_hosts()
186 existing_hosts = [host.hostname for host in self.afe.get_hosts()]
250 if not self.afe.get_hosts(status='Ready'):
251 for host in self.afe.get_hosts():
Dchameleon_host.py222 hosts = afe.get_hosts(hostname=dut)
/external/autotest/server/cros/
Dhost_lock_manager_unittest.py80 self.afe.get_hosts(hostname=self.HOST1).AndReturn(None)
89 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
98 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
107 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
117 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
Dhost_lock_manager.py84 host_info = self._afe.get_hosts(hostname=mod_host)
/external/autotest/scheduler/
Drdb_unittest.py33 rdb_requests.HostRequest, rdb.get_hosts)
106 self.handler.host_query_manager.get_hosts = mock.MagicMock(
240 len(self.available_hosts_query_manager.get_hosts(
247 hosts = self.all_hosts_query_manager.get_hosts([db_host.id])
253 hosts = self.all_hosts_query_manager.get_hosts([hosts[0].id])
Drdb_lib.py90 def get_hosts(host_ids): function
103 rdb_requests.HostRequest, rdb.get_hosts)
Drdb.py48 def get_hosts(self, ids): member in BaseHostQueryManager
224 for host in self.host_query_manager.get_hosts(host_ids):
481 def get_hosts(host_requests): function
/external/autotest/contrib/
Dmanage_powerunit_info.py64 if not afe.get_hosts(hostname=device):
103 hosts = afe.get_hosts()
118 hosts = afe.get_hosts(hostname__in = devices)
Dgenerate_rpm_mapping.py468 AFE.get_hosts(),
/external/autotest/site_utils/deployment/
Dinstall.py381 hostlist = afe.get_hosts([hostname])
423 afe_host = afe.get_hosts([hostname])[0]
506 afe_host_list = afe.get_hosts(hostnames=success_hosts)
508 for h in afe.get_hosts(hostnames=success_hosts):
/external/autotest/site_utils/
Ddiagnosis_utils.py159 hosts = self.rpc_interface.get_hosts(
196 hosts = self.rpc_interface.get_hosts(
Dbrillo_test_launcher.py102 if all([host.hostname != adb_hostname for host in moblab.afe.get_hosts()]):
173 afe_host = moblab.afe.get_hosts(hostnames=(host,))[0]
Dadd_detected_host_labels.py67 afe_host = afe.get_hosts(hostname=hostname)[0]
Dstatus_history.py342 afehost = afe.get_hosts(hostname=hostname)[0]
378 hosts = afe.get_hosts(**kwargs)
Dbrillo_common.py84 host.afe.get_hosts()
/external/autotest/server/site_tests/moblab_RunSuite/
Dmoblab_RunSuite.py36 board = host.afe.get_hosts()[0].platform
/external/autotest/server/
Dafe_utils.py33 return AFE.get_hosts(hostname=host.hostname)
Dfrontend.py219 def get_hosts(self, hostnames=(), status=None, label=None, **dargs): member in AFE
233 self.get_hosts(status=status, label=label, **dargs)]
247 return self.get_hosts(id=id)[0]
314 for host in self.get_hosts(hostname__in=hostnames):
565 hosts = self.get_hosts(multiple_labels=[pairing.machine_label])
Dsite_autotest.py47 hosts = afe.get_hosts(hostname=self.host.hostname)
/external/autotest/cli/
Datest_migrate_host14 old_host = old.get_hosts(hostname=hostname)[0]
/external/autotest/server/cros/dynamic_suite/
Dtools.py123 updated_hosts = afe.get_hosts(hostnames=hostnames)
/external/autotest/site_utils/rpm_control_system/
Dfrontend_server.py225 hosts = self._afe.get_hosts(hostname=device_hostname)

12