/external/autotest/contrib/ |
remove_old_tests_in_tko.sql | 11 WHILE EXISTS (SELECT test_idx FROM tko_tests WHERE started_time < @cutoff_date LIMIT 1) DO 22 WHILE EXISTS (SELECT test_idx FROM tko_tests where started_time IS NULL and finished_time < @cutoff_date LIMIT 1) DO
|
/external/autotest/tko/ |
db.py | 469 for test_idx in self.find_tests(job_idx): 470 where = {'test_idx' : test_idx} 475 self.delete('tko_test_labels_tests', {'test_id': test_idx}) 584 is_update = hasattr(test, "test_idx") 586 test_idx = test.test_idx 588 {'test_idx': test_idx}, commit=commit) 589 where = {'test_idx': test_idx [all...] |
parse.py | 201 test_idx| job_idx | test | ... | invalid | invalidates_test_idx 210 are set to 10 and 11 (the test_idx of the rows for the original job). 569 raw_old_tests = db.select("test_idx,subdir,test", "tko_tests", 572 old_tests = dict(((test, subdir), test_idx) 573 for test_idx, subdir, test in raw_old_tests) 578 test_idx = old_tests.pop((test.testname, test.subdir), None) 579 if test_idx is not None: 580 test.test_idx = test_idx 589 for test_idx in tests.itervalues() [all...] |
job_serializer_unittest.py | 55 tko_test.test_idx = 3 203 self.assertEqual(test.test_idx, newtest.test_idx)
|
frontend.py | 204 fields = ['test_idx', 'job_idx', 'test', 'subdir', 215 fields = ['test_idx', 'job_idx', 'test', 'subdir', 222 def __init__(self, db, test_idx, job_idx, testname, subdir, kernel_idx, 224 self.idx = test_idx 250 where = {'test_idx' : self.idx}
|
job_serializer.py | 265 if hasattr(tko_test, 'test_idx'): 266 pb_test.test_idx = tko_test.test_idx
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
_sklearn.py | 184 train_idx, test_idx = indices[:train_size], indices[train_size:] 187 result += [x.take(train_idx, axis=0), x.take(test_idx, axis=0)]
|
/external/autotest/frontend/tko/ |
rpc_interface.py | 91 for compatibility. It includes an additional field "test_idx" with each 106 models.TestView.objects.get_key_on_this_table('test_idx')}) 120 test_idx = group_dict.pop('latest_test_idx') 121 group_dict['test_idx'] = test_idx 122 test_view = test_views[test_idx] 186 tests_by_id = models.Test.objects.in_bulk([test_view['test_idx'] 205 test = tests_by_id[test_view['test_idx']] 451 ['Test Index', 'test_idx'],
|
models.py | 203 test_idx = dbmodels.AutoField(primary_key=True) variable in class:Test 231 'immutable' % (attribute, self.test_idx)) 242 test = dbmodels.ForeignKey(Test, db_column='test_idx') 258 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) 273 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) 337 join_key='test_idx', 652 dicts = query.values('test_idx') 653 return [item['test_idx'] for item in dicts] 672 return sql.replace('test_idx', self.get_key_on_this_table('test_idx')) 699 test_idx = dbmodels.IntegerField('test index', primary_key=True) variable in class:TestView [all...] |
/external/autotest/site_utils/ |
perf_csv_uploader.py | 168 test_idx=attribute.test_id)
|
run_suite_unittest.py | 67 def _build_view(self, test_idx, test_name, subdir, status, afe_job_id, 74 @param test_idx: An integer representing test_idx. 96 return {'test_idx': test_idx, 'test_name': test_name, 'subdir':subdir, 188 suite_views = sorted(suite_views, key=lambda view: view['test_idx']) 193 self.assertEqual(suite_views[0]['test_idx'], 10) 194 self.assertEqual(suite_views[1]['test_idx'], 12) 198 self.assertEqual(suite_views[2]['test_idx'], 13) 243 child_views = sorted(child_views, key=lambda view: view['test_idx']) [all...] |