Home
last modified time | relevance | path

Searched refs:smart_get (Results 1 – 13 of 13) sorted by relevance

/external/autotest/frontend/afe/
Drpc_interface.py104 label_model = models.Label.smart_get(id)
124 label_model = models.Label.smart_get(id)
135 hosts.append(models.Host.smart_get(h.id))
181 label = models.Label.smart_get(id)
183 label = models.StaticLabel.smart_get(label.name)
211 label = models.Label.smart_get(id)
217 label = models.Label.smart_get(add_label(id))
273 label = models.Label.smart_get(id)
362 host = models.Host.smart_get(id)
397 models.Host.smart_get(id).update_object(kwargs)
[all …]
Drpc_interface_unittest.py136 host2 = models.Host.smart_get(host2.id)
419 label1 = models.Label.smart_get('static')
439 label1 = models.Label.smart_get('static')
457 self.assertEqual(models.Label.smart_get('static').invalid, 0)
515 label = models.Label.smart_get('static')
530 label = models.Label.smart_get('static')
531 label1 = models.Label.smart_get('label1')
532 label2 = models.Label.smart_get('label2')
552 label = models.Label.smart_get('static')
565 host1 = models.Host.smart_get(host.id)
[all …]
Dmoblab_rpc_interface.py673 models.Host.smart_get(ipaddress).delete()
691 label = models.Label.smart_get(label_name)
698 host_obj = models.Host.smart_get(ipaddress)
715 host_obj = models.Host.smart_get(ipaddress)
716 label = models.Label.smart_get(label_name)
737 host_obj = models.Host.smart_get(ipaddress)
752 host_obj = models.Host.smart_get(ipaddress)
Drpc_utils.py256 test_objects = [models.Test.smart_get(test) for test in tests]
260 profiler_objects = [models.Profiler.smart_get(profiler)
303 label = models.Label.smart_get(dependency)
334 static_metahost = models.StaticLabel.smart_get(metahost.name)
342 label = models.Label.smart_get(label_name)
946 return models.Shard.smart_get(shard_hostname)
1056 host = models.Host.smart_get(kwargs['id'])
1123 label = models.Label.smart_get(name)
Dmodel_logic.py580 dest_obj = field_obj.rel.to.smart_get(data[field_name],
829 def smart_get(cls, id_or_name, valid_only=True): member in ModelExtensions
854 result_objects.append(cls.smart_get(id_or_name))
Dfrontend_test_utils.py27 models.AclGroup.smart_get('Everyone').hosts = []
Dmodels.py322 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME)
1299 def smart_get(cls, id_or_name, *args, **kwargs): member in ParameterizedJob
/external/autotest/frontend/tko/
Drpc_interface.py338 models.TestLabel.smart_get(label_id).update_object(data)
342 models.TestLabel.smart_get(label_id).delete()
358 models.TestLabel.smart_get(label_id).tests.add(*test_ids)
362 label = models.TestLabel.smart_get(label_id)
/external/autotest/scheduler/
Donly_if_needed_unittests.py19 models.Host.smart_get('host1').labels.add(self.label3)
Dscheduler_models_unittest.py454 models.Host.smart_get(1).update_object(dirty=True)
459 models.Host.smart_get(1).update_object(dirty=False)
Dmonitor_db_unittest.py762 actual_status = models.HostQueueEntry.smart_get(1).status
/external/autotest/scheduler/shard/
Dshard_client_unittest.py250 host = models.Host.smart_get(host_id)
259 host = models.Host.smart_get(host_id)
Dshard_client.py241 self._shard = models.Shard.smart_get(self.hostname)