Home
last modified time | relevance | path

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

/external/autotest/frontend/afe/
Drpc_interface.py85 label_model = models.Label.smart_get(id)
99 label_model = models.Label.smart_get(id)
104 hosts.append(models.Host.smart_get(h.id))
150 label = models.Label.smart_get(id)
177 label = models.Label.smart_get(id)
183 label = models.Label.smart_get(add_label(id))
239 models.Label.smart_get(id).host_set.remove(*host_objs)
296 host = models.Host.smart_get(id)
323 models.Host.smart_get(id).update_object(kwargs)
403 models.Host.smart_get(id).labels.add(*label_objs)
[all …]
Dmoblab_rpc_interface.py522 models.Host.smart_get(ipaddress).delete()
540 label = models.Label.smart_get(label_name)
541 host_obj = models.Host.smart_get(ipaddress)
558 host_obj = models.Host.smart_get(ipaddress)
559 models.Label.smart_get(label_name).host_set.remove(host_obj)
Drpc_utils.py192 extra_args['params'] = [models.Label.smart_get(label).id
274 test_objects = [models.Test.smart_get(test) for test in tests]
278 profiler_objects = [models.Profiler.smart_get(profiler)
927 return models.Shard.smart_get(shard_hostname)
1037 host = models.Host.smart_get(kwargs['id'])
1105 label = models.Label.smart_get(name)
Dfrontend_test_utils.py27 models.AclGroup.smart_get('Everyone').hosts = []
Dmodel_logic.py573 dest_obj = field_obj.rel.to.smart_get(data[field_name],
822 def smart_get(cls, id_or_name, valid_only=True): member in ModelExtensions
847 result_objects.append(cls.smart_get(id_or_name))
Drpc_interface_unittest.py603 models.Host.smart_get, host1_id)
652 models.Label.smart_get, label1.id)
1240 host2 = models.Host.smart_get(host2.id)
1262 host1 = models.Host.smart_get(host1.id)
1263 shard1 = models.Shard.smart_get(shard1.id)
Dmodels.py277 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME)
1084 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.py448 models.Host.smart_get(1).update_object(dirty=True)
453 models.Host.smart_get(1).update_object(dirty=False)
Dmonitor_db_unittest.py777 actual_status = models.HostQueueEntry.smart_get(1).status
/external/autotest/scheduler/shard/
Dshard_client_unittest.py244 host = models.Host.smart_get(host_id)
253 host = models.Host.smart_get(host_id)
Dshard_client.py223 self._shard = models.Shard.smart_get(self.hostname)