Home
last modified time | relevance | path

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

/external/autotest/frontend/afe/
Drpc_interface.py59 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)
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)
244 models.AtomicGroup.smart_get(id).delete()
[all …]
Drpc_utils.py194 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)
965 atomic_group = models.AtomicGroup.smart_get(atomic_group_name)
1082 return models.Shard.smart_get(shard_hostname)
1192 host = models.Host.smart_get(kwargs['id'])
1260 label = models.Label.smart_get(name)
Drpc_interface_unittest.py410 parameterized_job = models.Job.smart_get(job_id).parameterized_job
579 models.Host.smart_get, host1_id)
628 models.Label.smart_get, label1.id)
Dfrontend_test_utils.py25 models.AclGroup.smart_get('Everyone').hosts = []
Dmodel_logic.py586 dest_obj = field_obj.rel.to.smart_get(data[field_name],
835 def smart_get(cls, id_or_name, valid_only=True): member in ModelExtensions
860 result_objects.append(cls.smart_get(id_or_name))
Dsite_rpc_interface.py507 label_models.append(models.Label.smart_get(label))
Dmodels.py280 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME)
1101 def smart_get(cls, id_or_name, *args, **kwargs): member in ParameterizedJob
/external/autotest/frontend/tko/
Drpc_interface.py353 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/
Dscheduler_models_unittest.py490 models.Host.smart_get(1).update_object(dirty=True)
495 models.Host.smart_get(1).update_object(dirty=False)
Datomic_group_unittests.py287 models.Host.smart_get('host1').labels.add(self.label3)
Dmonitor_db_unittest.py811 actual_status = models.HostQueueEntry.smart_get(1).status
/external/autotest/scheduler/shard/
Dshard_client.py195 self._shard = models.Shard.smart_get(self.hostname)