Home
last modified time | relevance | path

Searched refs:get_hosts (Results 1 – 25 of 46) 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.py205 existing_hosts = [host.hostname for host in self.afe.get_hosts()]
290 self.afe.get_hosts()
317 if not self.afe.get_hosts(status='Ready'):
318 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.py35 afe_instance.get_hosts.return_value = [mock_host_instance]
47 afe_instance.get_hosts.return_value = [mock_host_instance]
59 afe_instance.get_hosts.return_value = []
71 afe_instance.get_hosts.return_value = [mock_host_instance]
81 afe_instance.get_hosts.return_value = [mock_host_instance]
Drf_switch_client_box_test.py31 afe_instance.get_hosts.return_value = [self.client_box_host, dut_host]
43 afe_instance.get_hosts.return_value = [self.client_box_host]
56 afe_instance.get_hosts.side_effect = [[stumpy_host]]
71 afe_instance.get_hosts.side_effect = [[self.client_box_host],
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.py26 rf_switch_hosts = afe.get_hosts(label=RF_SWITCH_LABEL, locked=False)
48 rf_switch = afe.get_hosts(hostnames=(rf_switch_host.hostname,))
Drf_switch_controller.py48 self.hosts = afe.get_hosts(label=labels[0])
Drf_switch_client_box.py66 hosts = afe.get_hosts(label=self.client_box_label)
/external/autotest/site_utils/
Ddiagnosis_utils_unittest.py48 self.afe_mock.get_hosts.return_value = self._mockZeroHost()
66 self.afe_mock.get_hosts.return_value = self._mockTwoAvailableHosts()
92 self.afe_mock.get_hosts.return_value = self._mockTwoFailedHosts()
Dadd_detected_host_labels.py67 afe_host = afe.get_hosts(hostname=hostname)[0]
/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
226 for host in self.host_query_manager.get_hosts(host_ids):
481 def get_hosts(host_requests): function
/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/frontend/afe/
Ddirect_afe_unittest.py17 hosts = afe.get_hosts()
21 hosts = afe.get_hosts()
/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.py242 host_info = self.local_afe.get_hosts(hostname=m)
279 host_info = self.local_afe.get_hosts(hostname=m)
515 host_info = self.afe.get_hosts(hostname=mod_host)
520 host_info = self.local_afe.get_hosts(hostname=m)
/external/autotest/site_utils/deployment/
Dinstall.py355 hostlist = afe.get_hosts([hostname])
379 afe_host = afe.get_hosts([hostname])[0]
583 for h in afe.get_hosts(hostnames=successful_hosts):
636 afe_host = afe.get_hosts(hostname=host)
698 afe_hosts = afe.get_hosts(hostname=host_info.hostname)
/external/autotest/server/
Dfrontend.py523 def get_hosts(self, hostnames=(), status=None, label=None, **dargs): member in AFE
537 self.get_hosts(status=status, label=label, **dargs)]
560 return self.get_hosts(id=id)[0]
649 for host in self.get_hosts(hostname__in=hostnames):
/external/autotest/cli/
Datest_migrate_host14 old_host = old.get_hosts(hostname=hostname)[0]
/external/autotest/server/site_tests/moblab_RunSuite/
Dmoblab_RunSuite.py55 dut = host.afe.get_hosts()[0]
/external/autotest/server/lib/
Dstatus_history.py490 afehost = afe.get_hosts(hostname=hostname)[0]
514 hosts = afe.get_hosts(**kwargs)

12