/external/autotest/site_utils/ |
collect_suite_time_stats.py | 71 from autotest_lib.frontend.afe import models namespace 72 from autotest_lib.frontend.tko import models as tko_models 263 hqe = models.HostQueueEntry.objects.filter(job_id__in=job_list)
|
host_history_utils.py | 16 from autotest_lib.frontend.afe import models namespace 209 total_times = prepopulate_dict(models.Host.Status.names, 0.0, 225 stats_all = prepopulate_dict(models.Host.Status.names, 0.0,
|
job_history.py | 16 from autotest_lib.frontend.afe import models namespace 17 from autotest_lib.frontend.tko import models as tko_models 71 task: An AFE models.SpecialTask object. 80 @param task: An AFE models.SpecialTask object, which has the information 150 tasks = models.SpecialTask.objects.filter( 209 self.host = models.Host.objects.filter( 274 tasks = models.SpecialTask.objects.filter( 339 hqe = models.HostQueueEntry.objects.filter(job_id=hqe.job.id)[0] 350 for job in models.Job.objects.filter(parent_job_id=self.id): 352 job_hqe = models.HostQueueEntry.objects.filter(job_id=job.id)[0 [all...] |
/external/autotest/tko/ |
job_serializer_unittest.py | 18 from autotest_lib.tko import models namespace 30 tko_patches.append(models.patch('New spec!', 'Reference?', 33 tko_kernel = models.kernel('My Computer', tko_patches, '1234567') 36 tko_job = models.job('/tmp/', 'autotest', 'test', 'My Computer', 40 tko_iteration = models.iteration(0, {'2+2':4, '3+3':6}, 45 # See the comment about the models.test constructor in 46 # job_serializer.py, where the models.test constructor is used. 47 tko_test = models.test('/tmp/', 'mocktest', 'Completed', 'N/A', 231 """Check if convert between models.job and pb job is correct even 254 """Check if convert between models.job and pb job is correct afte [all...] |
parse.py | 11 from autotest_lib.frontend.tko import models as tko_models 15 from autotest_lib.tko import models, status_lib namespace 145 # Using django models here makes things easier, but make sure that 148 # to make the rest of parser use django models. 208 job_keyval = models.job.read_keyval(path) 287 # existing changes before we can use django models, otherwise it 288 # will go into deadlock when django models try to start a new trasaction
|
site_parse.py | 35 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/tko/parsers/ |
version_0.py | 4 from autotest_lib.tko import utils as tko_utils, models, status_lib namespace 16 class job(models.job): 72 host_keyval = models.test.parse_host_keyval(job_dir, 120 class kernel(models.kernel): 193 class test(models.test): 217 class patch(models.patch): 226 class iteration(models.iteration):
|
version_0_unittest.py | 7 from autotest_lib.tko import models namespace 22 self.god.stub_function(models.job, 'read_keyval') 24 self.god.stub_function(models.test, 'parse_host_keyval') 37 (models.test.parse_host_keyval.expect_call('.', hostname) 42 models.job.read_keyval.expect_call('.').and_return( 56 models.job.read_keyval.expect_call('.').and_return(raw_keyval) 100 models.job.read_keyval.expect_call('.').and_return(raw_keyval) 113 models.job.read_keyval.expect_call('.').and_return(raw_keyval) 127 models.job.read_keyval.expect_call('.').and_return(raw_keyval)
|
version_1.py | 3 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/utils/ |
test_importer.py | 33 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] 217 new_test = models.Test.objects.get_or_create( 249 test_parameter = models.TestParameter.objects.get_or_create( 314 label = models.Label.objects.get(name=label_name) 315 except models.Label.DoesNotExist [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/ |
ModelInfluencer.java | 19 /** Assigns the first model of {@link ModelInfluencer#models} to the particles.*/ 30 public Single (Model...models) { 31 super(models); 36 Model first = models.first(); 48 /** Assigns a random model of {@link ModelInfluencer#models} to the particles.*/ 55 return new ModelInstance(models.random()); 70 public Random (Model...models) { 71 super(models); 100 public Array<Model> models; field in class:ModelInfluencer 104 this.models = new Array<Model>(true, 1, Model.class) [all...] |
/external/valgrind/tests/ |
s390x_features.c | 78 model_info models[] = { variable 102 for (p = models; p != models + sizeof models / sizeof models[0]; ++p) { 107 for (p = models; p != models + sizeof models / sizeof models[0]; ++p) { 156 model = models + sizeof models / sizeof models[0] [all...] |
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/ |
Song.java | 16 package android.support.v17.leanback.supportleanbackshowcase.models;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
BasicBulletTest.java | 66 Array<Model> models = new Array<Model>(); field in class:BasicBulletTest 94 // Create some basic models 113 models.add(groundModel); 122 models.add(sphereModel); 220 for (Model model : models) 222 models.clear();
|
/external/autotest/contrib/ |
compare_suite.py | 21 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)
|
/external/autotest/frontend/afe/ |
admin.py | 5 from django.db import models as dbmodels 12 from autotest_lib.frontend.afe import model_logic, models namespace 44 model = models.AtomicGroup 53 return models.AtomicGroup.valid_objects 55 admin.site.register(models.AtomicGroup, AtomicGroupAdmin) 60 model = models.Label 73 return models.Label.valid_objects 75 admin.site.register(models.Label, LabelAdmin) 82 admin.site.register(models.User, UserAdmin) 99 label_names =(models.Label.objects.filter(id__in=value [all...] |
models_test.py | 8 from autotest_lib.frontend.afe import models, model_attributes, model_logic namespace 31 everyone_acl = models.AclGroup.objects.get(name='Everyone') 38 models.AclGroup.on_host_membership_change() 58 host = models.Host.create_one_time_host('othost') 60 self.assertEquals(host.status, models.Host.Status.READY) 62 host.status = models.Host.Status.RUNNING 65 host2 = models.Host.add_object(hostname='othost') 67 self.assertEquals(host2.status, models.Host.Status.RUNNING) 81 return models.SpecialTask.objects.create( 82 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY [all...] |
resources_test.py | 17 from autotest_lib.frontend.afe import control_file, models, model_attributes namespace 31 models.Test.objects.create(name='mytest', 140 group = models.AclGroup.objects.create(name='mygroup') 141 models.User.objects.get(login='debug_user').aclgroup_set = [group] 204 models.SpecialTask.schedule_special_task( 205 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY) 226 host = models.Host.objects.get(hostname='newhost') 228 self.assertEquals(host.protection, models.Host.Protection.DO_NOT_VERIFY) 254 hosts = models.Host.valid_objects.filter(hostname='host1') 272 models.Test.objects.get(name='mytest').dependency_labels = [self.label3 [all...] |
rpc_interface_unittest.py | 9 from autotest_lib.frontend.afe import models, rpc_interface, frontend_test_utils namespace 24 _hqe_status = models.HostQueueEntry.Status 54 platform2 = models.Label.objects.create(name='platform2', platform=True) 169 HqeStatus = models.HostQueueEntry.Status 231 host = models.Host.objects.get(hostname='testhost') 249 job = models.Job.objects.get(pk=job_id) 270 self.task1 = models.SpecialTask.objects.create( 271 host=host, task=models.SpecialTask.Task.VERIFY, 273 is_complete=True, requested_by=models.User.current_user()) 274 self.task2 = models.SpecialTask.objects.create [all...] |
site_rpc_interface.py | 16 from autotest_lib.frontend.afe import models namespace 460 host_model = models.Host.objects.get(pk=known_host_ids[i]) 480 shards = models.Shard.query_objects(filter_data) 498 @raises models.Label.DoesNotExist: If the label specified doesn't exist. 507 label_models.append(models.Label.smart_get(label)) 509 shard = models.Shard.add_object(hostname=hostname) 542 for host in models.Host.objects.filter(shard=shard): 543 models.SpecialTask.objects.create( 544 task=models.SpecialTask.Task.REPAIR, 546 requested_by=models.User.current_user() [all...] |
/external/autotest/frontend/tko/ |
rpc_interface.py | 2 from django.db import models as dbmodels 5 from autotest_lib.frontend.afe import models as afe_models, readonly_connection 6 from autotest_lib.frontend.tko import models, tko_rpc_utils, graphing_utils namespace 13 models.TestView.list_objects(filter_data)) 17 return models.TestView.query_count(filter_data) 45 query = models.TestView.objects.get_query_set_with_joins(filter_data) 47 query = models.TestView.query_objects(filter_data, initial_query=query, 49 count_alias, count_sql = models.TestView.objects.get_count_sql(query) 53 query = models.TestView.apply_presentation(query, filter_data) 66 query = models.TestView.objects.get_query_set_with_joins(filter_data [all...] |
rpc_interface_unittest_fixme.py | 9 from autotest_lib.frontend.tko import models, rpc_interface namespace 83 Django models. So fix up the generated schema to match the real schema. 94 self.god.stub_with(models.TempManager, '_get_column_names', 96 self.god.stub_with(models.TempManager, '_cursor_rowcount', 141 machine = models.Machine.objects.create(hostname='myhost') 145 kernel1 = models.Kernel.objects.create(kernel_hash=kernel_name, 150 kernel2 = models.Kernel.objects.create(kernel_hash=kernel_name, 154 good_status = models.Status.objects.create(word='GOOD') 155 failed_status = models.Status.objects.create(word='FAILED') 157 job1 = models.Job.objects.create(tag='1-myjobtag1', label='myjob1' [all...] |
/external/autotest/scheduler/ |
atomic_group_unittests.py | 11 from autotest_lib.frontend.afe import models namespace 183 models.IneligibleHostQueue.objects.create(job=job, host_id=5) 184 models.IneligibleHostQueue.objects.create(job=job, host_id=6) 185 models.IneligibleHostQueue.objects.create(job=job, host_id=7) 203 models.HostQueueEntry.Status.ABORTED) 287 models.Host.smart_get('host1').labels.add(self.label3)
|
postjob_task.py | 14 from autotest_lib.frontend.afe import models, model_attributes namespace 78 return models.HostQueueEntry.Status.ABORTED 82 return models.HostQueueEntry.Status.COMPLETED 83 return models.HostQueueEntry.Status.FAILED 253 allowed_hqe_statuses=(models.HostQueueEntry.Status.GATHERING,), 254 allowed_host_statuses=(models.Host.Status.RUNNING,)) 268 models.HostQueueEntry.Status.COMPLETED) 276 self._final_status() == models.HostQueueEntry.Status.ABORTED 286 models.SpecialTask.objects.create( 287 host=models.Host.objects.get(id=queue_entry.host.id) [all...] |
rdb_integration_tests.py | 15 from autotest_lib.frontend.afe import models namespace 40 models.Label.objects.filter(id__in=request.deps)]) 157 h1 = models.Host.objects.get(hostname='h1') 160 h2 = models.Host.objects.get(hostname='h2') 182 host = models.Host.objects.get(hostname='h1') 201 hqe = models.HostQueueEntry.objects.get(job_id=job.id) 209 host = models.Host.objects.get(hostname='h1')
|