Home
last modified time | relevance | path

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

12

/external/autotest/server/hosts/
Dafe_store_unittest.py38 self.mock_afe.get_hosts.return_value = [
47 self.mock_afe.get_hosts.return_value = []
54 self.mock_afe.get_hosts.return_value = [
64 self.mock_afe.get_hosts.return_value = [
81 self.mock_afe.get_hosts.return_value = [
91 self.mock_afe.get_hosts.return_value = [
102 self.mock_afe.get_hosts.return_value = [
113 self.mock_afe.get_hosts.return_value = [
Dmoblab_host.py219 existing_hosts = [host.hostname for host in self.afe.get_hosts()]
294 self.afe.get_hosts()
326 if not self.afe.get_hosts(status='Ready'):
327 for host in self.afe.get_hosts():
Dchameleon_host.py189 hosts = afe.get_hosts(hostname=dut)
Dafe_store.py41 hosts = self._afe.get_hosts(hostname=self._hostname)
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt105 >>> data = rpc_interface.get_hosts()
133 >>> data = rpc_interface.get_hosts()
149 >>> rpc_interface.get_hosts() == []
221 >>> data = rpc_interface.get_hosts(hostname='host1')
224 >>> data = rpc_interface.get_hosts(hostname='host2')
232 >>> data = rpc_interface.get_hosts(labels__name='label1')
235 >>> data = rpc_interface.get_hosts(labels__name='label2')
241 >>> data = rpc_interface.get_hosts(hostname='host1')
244 >>> rpc_interface.get_hosts(labels__name='label2')
258 >>> data = rpc_interface.get_hosts(hostname='host1')
[all …]
/external/autotest/server/cros/network/
Drf_switch_utils_test.py34 afe_instance.get_hosts.return_value = [mock_host_instance]
46 afe_instance.get_hosts.return_value = [mock_host_instance]
58 afe_instance.get_hosts.return_value = []
70 afe_instance.get_hosts.return_value = mock_host_instance
80 afe_instance.get_hosts.return_value = mock_host_instance
Drf_switch_controller_test.py45 afe_instance.get_hosts.return_value = [
59 afe_instance.get_hosts.return_value = [
74 afe_instance.get_hosts.return_value = [self.client_box_host]
89 afe_instance.get_hosts.return_value = [self.client_box_host]
Drf_switch_utils.py25 rf_switch_hosts = afe.get_hosts(label=RF_SWITCH_LABEL, locked=False)
47 rf_switch = afe.get_hosts(hostnames=[rf_switch_host.hostname])
Drf_switch_client_box_test.py37 afe_instance.get_hosts.return_value = [self.client_box_host, dut_host]
49 afe_instance.get_hosts.return_value = [self.client_box_host]
Drf_switch_client_box.py44 hosts = afe.get_hosts(label=self.client_box_label)
Drf_switch_controller.py47 self.hosts = afe.get_hosts(label=labels)
/external/autotest/site_utils/
Ddiagnosis_utils_unittest.py49 self.afe_mock.get_hosts.return_value = self._mockZeroHost()
67 self.afe_mock.get_hosts.return_value = self._mockTwoAvailableHosts()
93 self.afe_mock.get_hosts.return_value = self._mockTwoFailedHosts()
Dadd_detected_host_labels.py67 afe_host = afe.get_hosts(hostname=hostname)[0]
/external/autotest/frontend/afe/
Ddirect_afe_unittest.py17 hosts = afe.get_hosts()
21 hosts = afe.get_hosts()
/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)
/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.py51 def get_hosts(self, ids): member in BaseHostQueryManager
227 for host in self.host_query_manager.get_hosts(host_ids):
482 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)
/external/toolchain-utils/
Dafe_lock_machine.py241 host_info = self.local_afe.get_hosts(hostname=m)
278 host_info = self.local_afe.get_hosts(hostname=m)
512 host_info = self.afe.get_hosts(hostname=mod_host)
517 host_info = self.local_afe.get_hosts(hostname=m)
/external/autotest/site_utils/deployment/
Dinstall.py355 hostlist = afe.get_hosts([hostname])
375 afe_host = afe.get_hosts([hostname])[0]
579 for h in afe.get_hosts(hostnames=successful_hosts):
632 afe_host = afe.get_hosts(hostname=host)
694 afe_hosts = afe.get_hosts(hostname=host_info.hostname)
/external/autotest/server/site_tests/moblab_RunSuite/
Dmoblab_RunSuite.py38 board = host.afe.get_hosts()[0].platform
/external/autotest/cli/
Datest_migrate_host14 old_host = old.get_hosts(hostname=hostname)[0]
/external/autotest/server/
Dfrontend.py522 def get_hosts(self, hostnames=(), status=None, label=None, **dargs): member in AFE
536 self.get_hosts(status=status, label=label, **dargs)]
550 return self.get_hosts(id=id)[0]
639 for host in self.get_hosts(hostname__in=hostnames):
/external/autotest/server/lib/
Dstatus_history.py486 afehost = afe.get_hosts(hostname=hostname)[0]
522 hosts = afe.get_hosts(**kwargs)

12