Home
last modified time | relevance | path

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

12

/external/autotest/site_utils/suite_scheduler/
Dboard_enumerator_unittest.py40 self.afe.get_labels(name__startswith=self.prefix).AndReturn(
48 self.afe.get_labels(name__startswith=self.prefix).AndReturn([])
56 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.py86 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]:
Dsite_host.py122 host_dut.get_labels())
/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.py165 afe.get_labels(host__hostname=remote)]
421 labels_to_create = [label for label in cros_host.get_labels()
/external/autotest/contrib/
Dprint_host_labels.py16 labels = host.get_labels()
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt63 # we use get_labels to retrieve object data
64 >>> data = rpc_interface.get_labels(name='test_label')
74 # get_labels return multiple matches as lists of dictionaries
81 >>> data = rpc_interface.get_labels(platform=False)
90 >>> rpc_interface.get_labels(name='label2')
95 >>> rpc_interface.get_labels()
727 >>> labels = rpc_interface.get_labels(id=label_id)
730 >>> labels = rpc_interface.get_labels(id=label_id)
733 >>> labels = rpc_interface.get_labels(id=label_id)
735 >>> data = rpc_interface.get_labels(atomic_group__name='mini rack')
[all …]
/external/autotest/server/hosts/
Dtestbed.py114 def get_labels(self): member in TestBed
122 labels.extend(adb_device.get_labels())
Dsonic_host.py127 def get_labels(self): member in SonicHost
Dremote.py325 def get_labels(self): member in RemoteHost
Dcros_host.py522 labels = self._AFE.get_labels(
844 labels = self._AFE.get_labels(
848 labels = labels + self._AFE.get_labels(
1736 labels = self._AFE.get_labels(
/external/autotest/test_suites/
Ddev_harness.py53 label = AFE.get_labels(
/external/autotest/server/
Dafe_utils.py74 labels = AFE.get_labels(
Dfrontend.py259 def get_labels(self, **dargs): member in AFE
266 return self.get_labels(id=id)[0]
968 def get_labels(self): member in Host
969 return self.afe.get_labels(host__hostname__in=[self.hostname])
Dsite_utils.py102 labels = afe.get_labels(name__startswith=label_prefix,
/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.py54 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())
Dscheduler_models.py510 def get_labels(self): member in HostQueueEntry
874 for label in self.get_labels():
1334 job_labels = {x.name for x in queue_entry.get_labels()}
Dhost_scheduler_unittests.py72 default_dep_ids = set([label.id for label in self.db_helper.get_labels(
/external/opencv/ml/src/
Dmlboost.cpp171 int* labels = data->get_labels( node ); in try_split_node()
703 const int* labels = data->get_labels(node); in calc_node_value()
985 int* labels = data->get_labels(data->data_root); in update_weights()
/external/autotest/frontend/afe/
Drpc_interface.py219 def get_labels(exclude_filters=(), **filter_data): function
1597 result['labels'] = get_labels(
Drpc_interface_unittest.py62 platforms = rpc_interface.get_labels(

12