Searched refs:models (Results 51 - 75 of 109) sorted by relevance

12345

/external/autotest/frontend/afe/
H A Drpc_utils_unittest.py16 from autotest_lib.frontend.afe import models namespace
25 x = models.Host(id=10, hostname='foo')
26 y = models.Host(id=10, hostname='bar')
H A Dviews.py8 from autotest_lib.frontend.afe import models, rpc_handler, rpc_interface namespace
45 return views_common.model_documentation(models, model_names)
H A Dmoblab_rpc_interface.py30 from autotest_lib.frontend.afe import models namespace
507 models.Host.objects.populate_relationships(hosts, models.Label,
561 models.Host.smart_get(ipaddress).delete()
577 label = models.Label.add_object(name=label_name)
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)
613 models
[all...]
/external/autotest/scheduler/shard/
H A Dsimple_heartbeat_server.py78 jobs = models.Job.objects.filter(
88 hosts = models.Host.objects.filter(
191 from autotest_lib.frontend.afe import models namespace
/external/autotest/site_utils/
H A Dhost_label_utils.py26 from autotest_lib.frontend.afe import models namespace
105 hosts = models.Host.objects.filter(invalid=False)
H A Dcollect_suite_time_stats.py70 from autotest_lib.frontend.afe import models namespace
71 from autotest_lib.frontend.tko import models as tko_models
262 hqe = models.HostQueueEntry.objects.filter(job_id__in=job_list)
/external/autotest/scheduler/
H A Dmonitor_db_unittest.py13 from autotest_lib.frontend.afe import models namespace
404 self.assertEqual(models.HostQueueEntry.Status.STARTING, hqe.status)
762 expected_status = models.HostQueueEntry.Status.STARTING
764 expected_status = models.HostQueueEntry.Status.PENDING
766 expected_status = models.HostQueueEntry.Status.VERIFYING
777 actual_status = models.HostQueueEntry.smart_get(1).status
804 models.HostQueueEntry.Status.PENDING)
810 models.HostQueueEntry.Status.STARTING)
833 self.assertEqual(models.HostQueueEntry.Status.QUEUED, hqe.status)
838 self.assertEqual(models
[all...]
H A Dagent_task.py117 from autotest_lib.frontend.afe import models namespace
282 queue_entry.set_status(models.HostQueueEntry.Status.PARSING)
287 queue_entry.set_status(models.HostQueueEntry.Status.ARCHIVING)
423 if not models.DroneSet.drone_sets_enabled():
426 hqes = models.HostQueueEntry.objects.filter(id__in=self.queue_entry_ids)
437 job = models.Job.objects.get(id=job_ids[0])
455 default_hostnames = models.DroneSet.get_default().get_drone_hostnames()
600 # This is of type SpecialTask (as defined in frontend/afe/models.py)
665 if self.queue_entry.status != models.HostQueueEntry.Status.QUEUED:
731 pending_tasks = models
[all...]
H A Dhost_scheduler_unittests.py14 from autotest_lib.frontend.afe import models namespace
51 shard = models.Shard.objects.create()
92 host.status == models.Host.Status.READY)
95 hqes[0].status == models.HostQueueEntry.Status.QUEUED)
112 host.status == models.Host.Status.READY)
115 hqes[0].status == models.HostQueueEntry.Status.QUEUED)
135 host.status == models.Host.Status.READY)
138 hqes[0].status == models.HostQueueEntry.Status.QUEUED)
201 hqe.status == models.HostQueueEntry.Status.QUEUED)
376 keyval = models
[all...]
H A Drdb.py13 from django.db.models import fields
14 from django.db.models import Q
15 from autotest_lib.frontend.afe import models namespace
37 host_objects = models.Host.objects
83 host_objects = models.Host.leased_objects
H A Dmonitor_db_functional_test.py8 from autotest_lib.frontend.afe import frontend_test_utils, models namespace
15 HqeStatus = models.HostQueueEntry.Status
16 HostStatus = models.Host.Status
577 models.SpecialTask.schedule_special_task(
578 host=host, task=models.SpecialTask.Task.VERIFY)
762 models.SpecialTask.objects.create(
764 task=models.SpecialTask.Task.RESET,
765 requested_by=models.User.current_user())
766 models.SpecialTask.objects.create(
768 task=models
[all...]
H A Drdb_integration_tests.py14 from autotest_lib.frontend.afe import models namespace
39 models.Label.objects.filter(id__in=request.deps)])
156 h1 = models.Host.objects.get(hostname='h1')
159 h2 = models.Host.objects.get(hostname='h2')
181 host = models.Host.objects.get(hostname='h1')
200 hqe = models.HostQueueEntry.objects.get(job_id=job.id)
208 host = models.Host.objects.get(hostname='h1')
/external/autotest/utils/
H A Dtest_importer.py33 from autotest_lib.frontend.afe import models namespace
131 for test in models.Test.objects.all():
138 for profiler in models.Profiler.objects.all():
155 for test in models.Test.objects.all():
161 for profiler in models.Profiler.objects.all():
194 model = models.Profiler.objects.get_or_create(name=name)[0]
215 test_parameter = models.TestParameter.objects.get_or_create(
235 new_test = models.Test.objects.get_or_create(
266 test_parameter = models.TestParameter.objects.get_or_create(
331 label = models
[all...]
/external/autotest/contrib/
H A Dpoolhistory.py12 from autotest_lib.frontend.afe import models namespace
H A Dcompare_suite.py21 from autotest_lib.frontend.afe import models namespace
22 from autotest_lib.frontend.tko import models as tko_models
153 tasks = models.SpecialTask.objects.filter(
330 models.Job.objects.filter(id__in=job_ids)]
339 suite_job = models.Job.objects.filter(id=job_id)[0]
341 test_jobs = models.Job.objects.filter(parent_job_id=job_id)
H A Dalways_failing_tests.py12 But please note that since we're using the models to do queries, you'll probably
26 # Django and the models are only setup after
28 from autotest_lib.frontend.tko import models as tko_models
29 from autotest_lib.frontend.afe import models as afe_models
/external/autotest/tko/parsers/
H A Dversion_0.py2 from autotest_lib.tko import utils as tko_utils, models, status_lib namespace
13 class job(models.job):
69 host_keyval = models.test.parse_host_keyval(job_dir,
119 class kernel(models.kernel):
192 class test(models.test):
216 class patch(models.patch):
225 class iteration(models.iteration):
H A Dversion_1.py3 from autotest_lib.tko import models, status_lib, utils as tko_utils namespace
41 class kernel(models.kernel):
56 class test(models.test):
70 class iteration(models.iteration):
103 class perf_value_iteration(models.perf_value_iteration):
/external/autotest/tko/
H A Djob_serializer_unittest.py17 from autotest_lib.tko import models namespace
28 tko_patches.append(models.patch('New spec!', 'Reference?',
31 tko_kernel = models.kernel('My Computer', tko_patches, '1234567')
34 tko_job = models.job('/tmp/', 'autotest', 'test', 'My Computer',
43 tko_iteration = models.iteration(0, {'2+2':4, '3+3':6},
48 # See the comment about the models.test constructor in
49 # job_serializer.py, where the models.test constructor is used.
50 tko_test = models.test('/tmp/', 'mocktest', 'Completed', 'N/A',
283 """Check if convert between models.job and pb job is correct even
307 """Check if convert between models
[all...]
H A Dsite_parse.py35 from autotest_lib.tko import models, parse, utils as tko_utils namespace
107 return models.job.read_keyval(self._results_dir).get('label')
/external/autotest/frontend/health/
H A Dpassing_experimental_functional_test.py17 from autotest_lib.frontend.afe import models as afe_models
18 from autotest_lib.frontend.tko import models as tko_models
H A Dpassing_experimental.py14 # Django and the models are only setup after
16 from autotest_lib.frontend.afe import models as afe_models
/external/autotest/frontend/client/src/autotest/afe/
H A DHostDataSource.java3 import autotest.afe.models.Host;
/external/autotest/frontend/tko/
H A Dtko_rpc_utils.py3 from autotest_lib.frontend.tko import models namespace
74 group_dict[models.TestView.objects._GROUP_COUNT_NAME] = 1
126 self._group_dicts = models.TestView.objects.execute_group_query(
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/
H A Dsmooth_gesture_util_unittest.py120 models = []
135 models.append(model_module.TimelineModel(
140 timeline_model = models[0]

Completed in 3025 milliseconds

12345