HomeSort by relevance Sort by last modified time
    Searched defs:models (Results 76 - 100 of 125) sorted by null

1 2 34 5

  /external/autotest/scheduler/
rdb_testing_utils.py 16 from autotest_lib.frontend.afe import models namespace
76 return models.Label.objects.filter(**kwargs)
82 return models.AclGroup.objects.filter(**kwargs)
88 return models.Host.objects.filter(**kwargs)
93 return models.HostQueueEntry.objects.filter(**kwargs)
98 return models.SpecialTask.objects.filter(**kwargs)
103 return models.Shard.objects.filter(**kwargs)
109 return (models.Label.add_object(name=name, **kwargs)
115 user = models.User.objects.filter(login=name)
116 return models.User.add_object(login=name) if not user else user[0
    [all...]
agent_task.py 118 from autotest_lib.frontend.afe import models namespace
277 queue_entry.set_status(models.HostQueueEntry.Status.PARSING)
282 queue_entry.set_status(models.HostQueueEntry.Status.ARCHIVING)
422 if not models.DroneSet.drone_sets_enabled():
425 hqes = models.HostQueueEntry.objects.filter(id__in=self.queue_entry_ids)
436 job = models.Job.objects.get(id=job_ids[0])
454 default_hostnames = models.DroneSet.get_default().get_drone_hostnames()
658 if self.queue_entry.status != models.HostQueueEntry.Status.QUEUED:
696 pending_tasks = models.SpecialTask.objects.filter(
720 models.SpecialTask.Task.VERIFY
    [all...]
scheduler_models_unittest.py 12 from autotest_lib.frontend.afe import models, model_attributes namespace
264 hqe.status = models.HostQueueEntry.Status.STARTING
318 task = models.SpecialTask(**kwargs)
321 self.god.stub_with(models.SpecialTask.objects, 'create', _mock_create)
341 django_hqes = list(models.HostQueueEntry.objects.filter(job=job.id))
390 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)])
400 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)])
408 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)])
418 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)])
440 self._check_special_tasks(tasks, [(models.SpecialTask.Task.VERIFY, 1)]
    [all...]
monitor_db.py 24 from autotest_lib.frontend.afe import models, rpc_utils namespace
83 if (models.DroneSet.drone_sets_enabled() and
84 not models.DroneSet.default_drone_set_name()):
462 return bool(models.SpecialTask.objects.filter(host__id=host.id,
500 statuses = (models.HostQueueEntry.Status.STARTING,
501 models.HostQueueEntry.Status.RUNNING,
502 models.HostQueueEntry.Status.GATHERING,
503 models.HostQueueEntry.Status.PARSING,
504 models.HostQueueEntry.Status.ARCHIVING)
527 special_tasks = models.SpecialTask.objects.filter
    [all...]
monitor_db_functional_test.py 8 from autotest_lib.frontend.afe import frontend_test_utils, models namespace
15 HqeStatus = models.HostQueueEntry.Status
16 HostStatus = models.Host.Status
588 models.SpecialTask.schedule_special_task(
589 host=host, task=models.SpecialTask.Task.VERIFY)
773 models.SpecialTask.objects.create(
775 task=models.SpecialTask.Task.RESET,
776 requested_by=models.User.current_user())
777 models.SpecialTask.objects.create(
779 task=models.SpecialTask.Task.CLEANUP
    [all...]
monitor_db_unittest.py 11 from autotest_lib.frontend.afe import models namespace
437 self.assertEqual(models.HostQueueEntry.Status.STARTING, hqe.status)
795 expected_status = models.HostQueueEntry.Status.STARTING
797 expected_status = models.HostQueueEntry.Status.PENDING
799 expected_status = models.HostQueueEntry.Status.VERIFYING
811 actual_status = models.HostQueueEntry.smart_get(1).status
828 django_hqes = list(models.HostQueueEntry.objects.filter(job=job.id))
838 set_hqe_status(django_hqes[0], models.HostQueueEntry.Status.VERIFYING)
839 set_hqe_status(django_hqes[1], models.HostQueueEntry.Status.PENDING)
    [all...]
scheduler_models.py 6 These overlap the Django models in basic functionality, but were written before
7 the Django models existed and have not yet been phased out. Some of them
28 from autotest_lib.frontend.afe import models, model_attributes namespace
627 active = (status in models.HostQueueEntry.ACTIVE_STATUSES)
628 complete = (status in models.HostQueueEntry.COMPLETE_STATUSES)
662 if status is not models.HostQueueEntry.Status.ABORTED:
742 status_counts = models.Job.objects.get_status_counts(
765 self.set_status(models.HostQueueEntry.Status.QUEUED)
810 self.set_status(models.HostQueueEntry.Status.PENDING)
811 self.host.set_status(models.Host.Status.PENDING
    [all...]
  /external/autotest/scheduler/shard/
shard_client.py 22 from autotest_lib.frontend.afe import models namespace
156 self._deserialize_many(hosts_serialized, models.Host, 'host')
157 self._deserialize_many(jobs_serialized, models.Job, 'job')
158 self._deserialize_many(suite_keyvals_serialized, models.JobKeyval,
175 job_models = models.Job.objects.filter(
195 self._shard = models.Shard.smart_get(self.hostname)
196 except models.Shard.DoesNotExist:
207 # models.Job.shard. We need to be careful to wait for both the
210 job_ids = list(models.Job.objects.filter(
214 for job_to_upload in models.Job.objects.filter(pk__in=job_ids).all()
    [all...]
  /external/autotest/site_utils/
test_push.py 35 from autotest_lib.frontend.afe import models namespace
306 models.Job.objects.filter(parent_job_id=suite_job_id)]
307 hqes = [models.HostQueueEntry.objects.filter(job_id=job_id)[0]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
BaseG3dHudTest.java 55 protected String models[] = new String[] {"car.obj", "cube.obj", "scene.obj", "scene2.obj", "wheel.obj", "g3d/invaders.g3dj", field in class:BaseG3dHudTest
75 modelsList.setItems(models);
85 modelsWindow = addListWindow("Models", modelsList, 0, -1);
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
Card.java 15 package android.support.v17.leanback.supportleanbackshowcase.models;
  /external/autotest/frontend/afe/
resources.py 3 from autotest_lib.frontend.afe import control_file, models, rpc_utils namespace
25 model = models.AtomicGroup
30 return cls(request, models.AtomicGroup.objects.get(name=ag_name))
55 return models.AtomicGroup.add_object(name=input_dict['name'])
66 queryset = models.AtomicGroup.valid_objects.all()
71 model = models.Label
83 return cls(request, models.Label.objects.get(name=label_name))
110 return models.Label.add_object(name=input_dict['name'])
121 queryset = models.Label.valid_objects.all()
134 model = models.Use
    [all...]
rpc_utils.py 18 from autotest_lib.frontend.afe import models, model_logic namespace
130 % models.HostQueueEntry.Status.QUEUED)
194 extra_args['params'] = [models.Label.smart_get(label).id
202 query = models.Host.valid_objects.all()
204 query = models.Host.objects.all()
207 only_if_needed_labels = models.Label.valid_objects.filter(
213 query = models.Host.objects.add_join(
220 atomic_group_labels = models.Label.valid_objects.filter(
226 query = models.Host.objects.add_join(
235 return models.Host.query_objects(filter_data, initial_query=query
    [all...]
site_rpc_interface_unittest.py 20 from autotest_lib.frontend.afe import models, model_logic, rpc_utils namespace
555 job = models.Job.objects.get(pk=job_id)
556 shard = models.Shard.objects.create(hostname='host1')
586 self.assertEqual(models.HostQueueEntry.objects.all()[0].status,
598 self.assertEqual(models.HostQueueEntry.objects.all()[0].status,
605 models.Shard.objects.create(hostname='other_shard')
629 label = models.Label.objects.create(name=label_name)
631 shard = models.Shard.objects.create(hostname=shard_hostname)
634 host = models.Host.objects.create(hostname=host_hostname, leased=False)
646 return models.Job.objects.get(id=job_id
    [all...]
rpc_interface.py 38 from django.db.models import Count
44 from autotest_lib.frontend.afe import models, model_logic, model_attributes namespace
46 from autotest_lib.frontend.tko import models as tko_models
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))
113 # models.Label.add_object() throws model_logic.ValidationError
118 label = models.Label.add_object(name=name, **kwargs)
138 @raises models.Label.DoesNotExist: If the label with id doesn't exist
    [all...]
model_logic.py 9 from django.db import models as dbmodels
11 from django.db.models.sql import query
12 import django.db.models.sql.where namespace
211 # select the ID of related models relevant to this join. we can only do
279 django.db.models.sql.where.AND)
395 # fresh instances of the same models (and grabbing model instances
396 # from the related models incurs a DB query each time).
484 QuerySet that handles delete() properly for models with an "invalid" bit
510 Mixin with convenience functions for models, built on top of
637 Based on validate() from django.db.models.Model in Django 0.96, whic
    [all...]
  /external/autotest/frontend/tko/
graphing_utils.py 34 from autotest_lib.frontend.tko import models, tko_rpc_utils namespace
831 model = models.EmbeddedGraphingQuery.objects.get(id=id)
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
SpawnInfluencerPanel.java 200 Array<Model> models = new Array<Model>(); local
201 models.add(defaultModel);
215 addContent(i++, 0, meshPanel = new TemplatePickerPanel<Model>(editor, models, this, Model.class, new LoaderButton.ModelLoaderButton(editor), true, false)
FlameMain.java 563 newModelInfluencer.models.add(currentInfluencer.models.first());
633 private Array<Model> models; field in class:FlameMain.AppRenderer
681 models = new Array<Model>();
685 models.add(xyzModel);
686 models.add(planeModel);
    [all...]
  /tools/test/connectivity/acts/framework/acts/
utils.py 54 models = ("sprout", "occam", "hammerhead", "bullhead", "razor", "razorg", variable
459 if model in models:
466 if t in models:
  /prebuilts/devtools/tools/lib/
hierarchyviewer2lib.jar 
  /prebuilts/gradle-plugin/com/android/tools/hierarchyviewer2lib/24.4.0-beta6/
hierarchyviewer2lib-24.4.0-beta6.jar 
  /prebuilts/gradle-plugin/com/android/tools/hierarchyviewer2lib/24.5.0/
hierarchyviewer2lib-24.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/hierarchyviewer2lib/25.0.0-alpha1/
hierarchyviewer2lib-25.0.0-alpha1.jar 
  /external/chromium-trace/catapult/third_party/pipeline/pipeline/
pipeline.py 67 import models namespace
75 _BarrierIndex = models._BarrierIndex
76 _BarrierRecord = models._BarrierRecord
77 _PipelineRecord = models._PipelineRecord
78 _SlotRecord = models._SlotRecord
79 _StatusRecord = models._StatusRecord
    [all...]

Completed in 6952 milliseconds

1 2 34 5