Home
last modified time | relevance | path

Searched refs:get_labels (Results 1 – 25 of 37) sorted by relevance

12

/external/autotest/site_utils/suite_scheduler/
Dboard_enumerator_unittest.py39 self.afe.get_labels(name__startswith=self.prefix).AndReturn(
47 self.afe.get_labels(name__startswith=self.prefix).AndReturn([])
55 self.afe.get_labels(name__startswith=self.prefix).AndRaise(Exception())
Dboard_enumerator.py53 labels = self._afe.get_labels(name__startswith=Labels.BOARD_PREFIX)
Ddriver_unittest.py87 self.afe.get_labels(name__startswith=prefix).AndReturn(mocks)
/external/autotest/cli/
Datest_migrate_host27 old_host_labels = old_host.get_labels()
30 if not new.get_labels(name=label.name):
36 if not [l for l in new_host.get_labels() if l.name == label.name]:
/external/autotest/site_utils/
Dadd_detected_host_labels.py54 labels = host.get_labels()
69 label_matches = afe.get_labels(name__in=labels)
82 afe_labels_to_delete = afe.get_labels(name__in=labels_to_delete)
Dtest_runner_utils.py166 afe.get_labels(host__hostname=remote)]
422 labels_to_create = [label for label in cros_host.get_labels()
/external/autotest/server/
Dafe_utils_unittest.py41 got_labels = afe_utils.get_labels(host, prefix)
56 got_labels = afe_utils.get_labels(host)
Dafe_utils.py47 def get_labels(host, prefix=None): function
73 labels = AFE.get_labels(
Dfrontend.py573 def get_labels(self, **dargs): member in AFE
580 return self.get_labels(id=id)[0]
914 def get_labels(self): member in Host
915 return self.afe.get_labels(host__hostname__in=[self.hostname])
/external/autotest/server/hosts/
Dbase_label.py212 def get_labels(self, host): member in LabelRetriever
263 new_labels = set(self.get_labels(host))
Dtestbed_label.py26 labels.extend(adb_device.get_labels())
Diota_host.py51 labels = afe_utils.get_labels(self, self.VERSION_PREFIX)
Dtestbed.py118 def get_labels(self): member in TestBed
124 return self.labels.get_labels(self)
Dsonic_host.py128 def get_labels(self): member in SonicHost
Dcros_host.py950 labels = self._AFE.get_labels(
954 labels = labels + self._AFE.get_labels(
1337 labels = self._AFE.get_labels(
2286 def get_labels(self): member in CrosHost
2288 return self.labels.get_labels(self)
Demulated_adb_host.py279 def get_labels(self): member in EmulatedADBHost
Dremote.py319 def get_labels(self): member in RemoteHost
/external/autotest/contrib/
Dprint_host_labels.py16 labels = host.get_labels()
/external/toolchain-utils/crosperf/
Dschedv2.py162 chromeos_root=self._sched.get_labels(0).chromeos_root,
167 for l in self._sched.get_labels():
330 def get_labels(self, i=None): member in Schedv2
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt66 # we use get_labels to retrieve object data
67 >>> data = rpc_interface.get_labels(name='test_label')
77 # get_labels return multiple matches as lists of dictionaries
84 >>> data = rpc_interface.get_labels(platform=False)
93 >>> rpc_interface.get_labels(name='label2')
98 >>> rpc_interface.get_labels()
/external/autotest/test_suites/
Ddev_harness.py53 label = AFE.get_labels(
/external/autotest/scheduler/
Drdb_testing_utils.py74 def get_labels(cls, **kwargs): member in DBHelper
108 label = cls.get_labels(name=name, **kwargs)
339 deps = [dep.id for dep in DBHelper.get_labels(name__in=dep_names)]
Drdb_hosts_unittest.py53 self.db_helper.get_labels(name__in=labels)])
Dscheduler_models_unittest.py232 label_names = set(label.name for label in hqe.get_labels())
238 labels = list(hqe.get_labels())
/external/autotest/site_utils/deployment/
Dinstall.py431 platform_labels = afe.get_labels(
435 new_labels = afe.get_labels(name=platform)

12