Home
last modified time | relevance | path

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

12

/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.py167 afe.get_labels(host__hostname=remote)]
423 labels_to_create = [label for label in cros_host.get_labels()
/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())
Dtestbed.py118 def get_labels(self): member in TestBed
124 return self.labels.get_labels(self)
Dcros_host.py1030 labels = self._AFE.get_labels(
1034 labels = labels + self._AFE.get_labels(
1449 labels = self._AFE.get_labels(
2519 def get_labels(self): member in CrosHost
2521 return self.labels.get_labels(self)
Dsonic_host.py128 def get_labels(self): member in SonicHost
Demulated_adb_host.py279 def get_labels(self): member in EmulatedADBHost
Dremote.py329 def get_labels(self): member in RemoteHost
/external/python/cpython2/Lib/test/
Dtest_mailbox.py1184 self.assertEqual(self._box.get_labels(), [])
1188 self.assertEqual(self._box.get_labels(), ['foo'])
1192 self.assertEqual(set(self._box.get_labels()), set(['foo', 'bar']))
1195 self.assertEqual(set(self._box.get_labels()),
1198 self.assertEqual(set(self._box.get_labels()), set(['blah']))
1441 self.assertEqual(msg.get_labels(), [])
1443 self.assertEqual(msg.get_labels(), ['foobar'])
1445 self.assertEqual(msg.get_labels(), [])
1447 self.assertEqual(msg.get_labels(), ['filed'])
1449 self.assertEqual(msg.get_labels(), ['filed', 'resent'])
[all …]
/external/autotest/contrib/
Dprint_host_labels.py16 labels = host.get_labels()
/external/toolchain-utils/crosperf/
Dschedv2.py160 chromeos_root=self._sched.get_labels(0).chromeos_root,
165 for l in self._sched.get_labels():
327 def get_labels(self, i=None): member in Schedv2
/external/python/cpython3/Lib/test/
Dtest_mailbox.py1294 self.assertEqual(self._box.get_labels(), [])
1298 self.assertEqual(self._box.get_labels(), ['foo'])
1302 self.assertEqual(set(self._box.get_labels()), set(['foo', 'bar']))
1305 self.assertEqual(set(self._box.get_labels()),
1308 self.assertEqual(set(self._box.get_labels()), set(['blah']))
1596 self.assertEqual(msg.get_labels(), [])
1598 self.assertEqual(msg.get_labels(), ['foobar'])
1600 self.assertEqual(msg.get_labels(), [])
1602 self.assertEqual(msg.get_labels(), ['filed'])
1604 self.assertEqual(msg.get_labels(), ['filed', 'resent'])
[all …]
/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/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.py238 label_names = set(label.name for label in hqe.get_labels())
244 labels = list(hqe.get_labels())
/external/autotest/test_suites/
Ddev_harness.py53 label = AFE.get_labels(
/external/autotest/server/
Dfrontend.py572 def get_labels(self, **dargs): member in AFE
579 return self.get_labels(id=id)[0]
939 def get_labels(self): member in Host
940 return self.afe.get_labels(host__hostname__in=[self.hostname])
/external/python/cpython2/Lib/
Dmailbox.py1243 self._labels[key] = message.get_labels()
1256 self._labels[key] = message.get_labels()
1307 def get_labels(self): member in Babyl
1349 (os.linesep, os.linesep, ','.join(self.get_labels()),
1366 for label in message.get_labels():
1782 def get_labels(self): member in BabylMessage
1827 labels = set(self.get_labels())
1840 labels = set(self.get_labels())
1850 labels = set(self.get_labels())
1857 for label in self.get_labels():
/external/python/cpython3/Lib/
Dmailbox.py1252 self._labels[key] = message.get_labels()
1265 self._labels[key] = message.get_labels()
1321 def get_labels(self): member in Babyl
1364 labels = self.get_labels()
1384 for label in message.get_labels():
1832 def get_labels(self): member in BabylMessage
1877 labels = set(self.get_labels())
1890 labels = set(self.get_labels())
1900 labels = set(self.get_labels())
1907 for label in self.get_labels():
/external/autotest/site_utils/deployment/
Dinstall.py479 platform_labels = afe.get_labels(
483 new_labels = afe.get_labels(name=platform)
/external/autotest/client/common_lib/hosts/
Dbase_classes.py705 def get_labels(self): member in Host
/external/autotest/frontend/afe/
Drpc_interface_unittest.py478 platforms = rpc_interface.get_labels(
505 platforms = rpc_interface.get_labels(
541 labels = rpc_interface.get_labels(host__hostname__in=['test_host'])
722 platforms = rpc_interface.get_labels(

12