/external/autotest/frontend/afe/ |
rpc_interface.py | 59 known_test_obj = models.Test.smart_get('autoupdate_ParameterizedJob') 75 label_model = models.Label.smart_get(id) 89 label_model = models.Label.smart_get(id) 94 hosts.append(models.Host.smart_get(h.id)) 140 label = models.Label.smart_get(id) 162 label = models.Label.smart_get(id) 164 # This matches the type checks in smart_get, which is a hack 168 label = models.Label.smart_get(add_label(id)) 201 models.Label.smart_get(id).host_set.remove(*host_objs) 240 models.AtomicGroup.smart_get(id).update_object(data [all...] |
rpc_utils.py | 194 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) 296 label = models.Label.smart_get(label) [all...] |
model_logic.py | 559 For all foreign key fields, call smart_get with the supplied 586 dest_obj = field_obj.rel.to.smart_get(data[field_name], 835 def smart_get(cls, id_or_name, valid_only=True): member in class:ModelExtensions [all...] |
frontend_test_utils.py | 25 models.AclGroup.smart_get('Everyone').hosts = []
|
rdb_model_extensions.py | 29 # subclasses should override if they want to support smart_get() by name
|
rpc_interface_unittest.py | 410 parameterized_job = models.Job.smart_get(job_id).parameterized_job 579 models.Host.smart_get, host1_id) 628 models.Label.smart_get, label1.id)
|
site_rpc_interface.py | 507 label_models.append(models.Label.smart_get(label))
|
models.py | 280 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME) 1101 def smart_get(cls, id_or_name, *args, **kwargs): member in class:ParameterizedJob [all...] |
/external/autotest/frontend/tko/ |
rpc_interface.py | 353 models.TestLabel.smart_get(label_id).update_object(data) 357 models.TestLabel.smart_get(label_id).delete() 373 models.TestLabel.smart_get(label_id).tests.add(*test_ids) 377 label = models.TestLabel.smart_get(label_id)
|
/external/autotest/scheduler/ |
scheduler_models_unittest.py | 490 models.Host.smart_get(1).update_object(dirty=True) 495 models.Host.smart_get(1).update_object(dirty=False)
|
atomic_group_unittests.py | 287 models.Host.smart_get('host1').labels.add(self.label3)
|
monitor_db_unittest.py | 811 actual_status = models.HostQueueEntry.smart_get(1).status [all...] |
/external/autotest/scheduler/shard/ |
shard_client.py | 195 self._shard = models.Shard.smart_get(self.hostname)
|