/external/autotest/scheduler/ |
only_if_needed_unittests.py | 19 models.Host.smart_get('host1').labels.add(self.label3)
|
scheduler_models_unittest.py | 448 models.Host.smart_get(1).update_object(dirty=True) 453 models.Host.smart_get(1).update_object(dirty=False)
|
monitor_db_unittest.py | 777 actual_status = models.HostQueueEntry.smart_get(1).status [all...] |
/external/autotest/frontend/afe/ |
rpc_interface.py | 86 label_model = models.Label.smart_get(id) 100 label_model = models.Label.smart_get(id) 105 hosts.append(models.Host.smart_get(h.id)) 151 label = models.Label.smart_get(id) 178 label = models.Label.smart_get(id) 180 # This matches the type checks in smart_get, which is a hack 184 label = models.Label.smart_get(add_label(id)) 240 models.Label.smart_get(id).host_set.remove(*host_objs) 297 host = models.Host.smart_get(id) 324 models.Host.smart_get(id).update_object(kwargs [all...] |
moblab_rpc_interface.py | 561 models.Host.smart_get(ipaddress).delete() 579 label = models.Label.smart_get(label_name) 580 host_obj = models.Host.smart_get(ipaddress) 596 host_obj = models.Host.smart_get(ipaddress) 597 models.Label.smart_get(label_name).host_set.remove(host_obj)
|
rpc_utils.py | 195 extra_args['params'] = [models.Label.smart_get(label).id 277 test_objects = [models.Test.smart_get(test) for test in tests] 281 profiler_objects = [models.Profiler.smart_get(profiler) [all...] |
frontend_test_utils.py | 27 models.AclGroup.smart_get('Everyone').hosts = []
|
model_logic.py | 549 For all foreign key fields, call smart_get with the supplied 576 dest_obj = field_obj.rel.to.smart_get(data[field_name], 825 def smart_get(cls, id_or_name, valid_only=True): member in class:ModelExtensions [all...] |
models.py | 278 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME) 1075 def smart_get(cls, id_or_name, *args, **kwargs): member in class:ParameterizedJob [all...] |
rpc_interface_unittest.py | 516 models.Host.smart_get, host1_id) 565 models.Label.smart_get, label1.id) [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/shard/ |
shard_client.py | 203 self._shard = models.Shard.smart_get(self.hostname)
|