Home
last modified time | relevance | path

Searched refs:test_key (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium-trace/catapult/dashboard/dashboard/
Ddebug_alert_test.py49 test_key = self._AddSampleData()
50 test_path = utils.TestPath(test_key)
56 test_key = self._AddSampleData()
57 test_path = utils.TestPath(test_key)
68 test_key = self._AddSampleData()
69 test_path = utils.TestPath(test_key)
78 test_key = self._AddSampleData()
79 test_path = utils.TestPath(test_key)
87 def _AddAnomalyConfig(self, config_name, test_key, config_dict): argument
92 patterns=[utils.TestPath(test_key)]).put()
[all …]
Dgraph_revisions.py71 def _UpdateCache(test_key): argument
80 test = test_key.get()
89 query = query.filter(graph_data.Row.parent_test == test_key)
96 SetCache(utils.TestPath(test_key), rows)
116 test_key = row.parent_test
117 if test_key in test_key_to_rows:
118 graph_rows = test_key_to_rows[test_key]
120 test_path = utils.TestPath(test_key)
125 test_key_to_rows[test_key] = graph_rows
134 for test_key in test_key_to_rows:
[all …]
Dauto_triage_test.py55 def _AddAnomalyForTest(self, sheriff_key, test_key, revision, argument
65 test=test_key,
78 test_key = self._AddTestData(values, sheriff_key)
80 sheriff_key, test_key, revision=11, median_before=50, median_after=55)
91 test_key = self._AddTestData(values, sheriff_key)
93 sheriff_key, test_key, revision=11, median_before=50, median_after=55)
104 test_key = self._AddTestData(values, sheriff_key)
106 sheriff_key, test_key, revision=11, median_before=50, median_after=55)
117 test_key = self._AddTestData(values, sheriff_key)
119 sheriff_key, test_key, revision=11, median_before=50, median_after=55)
[all …]
Dfind_anomalies.py29 def ProcessTest(test_key): argument
35 test = test_key.get()
43 highest_rev = _HighestRevision(test_key)
53 test = test_key.get()
56 logging.error('No sheriff for %s', test_key)
61 change_points = _FilterAnomaliesFoundInRef(change_points, test_key, len(rows))
112 def _HighestRevision(test_key): argument
114 query = graph_data.Row.query(graph_data.Row.parent_test == test_key)
122 def _FilterAnomaliesFoundInRef(change_points, test_key, num_rows): argument
145 ref_test = _CorrespondingRefTest(test_key)
[all …]
Dalerts_test.py51 for test_key in [first_paint, mean_frame_time]:
52 test = test_key.get()
58 test_key = first_paint if end_rev % 20 == 0 else mean_frame_time
60 start_revision=end_rev - 5, end_revision=end_rev, test=test_key,
69 test_key = first_paint if end_rev % 20 == 0 else mean_frame_time
72 start_revision=end_rev - 5, end_revision=end_rev, test=test_key,
83 test_key = mean_frame_time
85 start_revision=end_rev - 5, end_revision=end_rev, test=test_key,
178 test_key = utils.TestKey('M/b/foo/bar')
181 stoppage_alert.CreateStoppageAlert(test_key.get(), row).put()
[all …]
Dauto_bisect_test.py41 test_key = utils.TestKey('ChromiumPerf/linux-release/sunspider/score')
43 bug_id=111, test=test_key,
108 test_key = utils.TestKey('ChromiumPerf/linux-release/sunspider/score')
110 bug_id=111, test=test_key,
120 test_key = utils.TestKey('ChromiumPerf/linux-release/sunspider/score')
122 bug_id=222, test=test_key,
134 test_key = utils.TestKey('Foo/bar/sunspider/score')
136 bug_id=345, test=test_key,
147 test_key = utils.TestKey('ChromiumPerf/linux-release/sunspider/score')
161 bug_id=333, test=test_key,
[all …]
Ddump_graph_json.py56 test_key = utils.TestKey(test_path)
61 entities.extend(self._GetTestAncestors([test_key]))
65 q = q.filter(graph_data.Row.parent_test == test_key)
73 anomaly.Anomaly.test == test_key).fetch()
127 for test_key in test_keys:
128 parent = test_key.get()
142 for test_key in test_keys:
144 q = q.filter(graph_data.Row.parent_test == test_key)
Dmr_test.py127 test_key, row_key, sheriff_key = self._AddTestRowSheriff(
130 for operation in mr.DeprecateTestsMapper(test_key.get()):
135 self.assertEqual(test_key, alerts[0].test)
139 test_key, row_key, _ = self._AddTestRowSheriff(
142 stoppage_alert.CreateStoppageAlert(test_key.get(), row_key.get()).put()
144 for operation in mr.DeprecateTestsMapper(test_key.get()):
149 test_key, _, _ = self._AddTestRowSheriff(
152 for operation in mr.DeprecateTestsMapper(test_key.get()):
Dgroup_report_test.py31 self, revision_ranges, test_key, sheriff_key, bug_id=None): argument
37 test=test_key, bug_id=bug_id, sheriff=sheriff_key,
60 for test_key in keys:
61 test = test_key.get()
153 test_key = test_keys[0]
154 test_path_parts = utils.TestPath(test_key).split('/')
157 self._AddAnomalyEntities([(150, 250)], test_key, sheriff_key, bug_id=123)
Dchange_internal_only.py130 for test_key in test_keys:
134 'test': test_key.urlsafe(),
151 test_key = ndb.Key(urlsafe=test_key_urlsafe)
154 test_entity = test_key.get()
162 query = anomaly.Anomaly.query(anomaly.Anomaly.test == test_key)
172 rows_query = graph_data.Row.query(graph_data.Row.parent_test == test_key)
Dmigrate_test_names_test.py57 test_key = utils.TestKey(test_path)
58 test_container_key = utils.GetTestContainerKey(test_key)
65 test=test_key).put()
77 test_key = utils.TestKey(test_path)
78 rows = graph_data.Row.query(graph_data.Row.parent_test == test_key).fetch()
298 test_key = utils.TestKey(test_path)
299 test_container_key = utils.GetTestContainerKey(test_key)
301 stoppage_alert.CreateStoppageAlert(test_key.get(), row_key.get()).put()
Dgraph_csv.py43 test_key = utils.TestKey(test_path)
44 test = test_key.get()
49 q = q.filter(graph_data.Row.parent_test == test_key)
61 'attachment; filename=%s.csv' % test_key.string_id())
Dlist_tests.py96 def _FetchSubTestPaths(test_key, deprecated): argument
107 query = graph_data.Test.query(ancestor=test_key)
114 def _SubTestPath(test_key): argument
116 full_test_path = utils.TestPath(test_key)
161 def _ListSubTestCacheKey(test_key): argument
163 parts = utils.TestPath(test_key).split('/')
Dtesting_common.py179 test_key = graph_data.Test(id=test_name, parent=bot_key).put()
180 _AddSubtest(test_key, tests_dict[test_name])
191 test_key = graph_data.Test(id=test_name, parent=parent_test_key).put()
192 _AddSubtest(test_key, subtests_dict[test_name])
205 test_key = utils.TestKey(test_path)
206 container_key = utils.GetTestContainerKey(test_key)
Dgraph_revisions_test.py33 test_key = graph_data.Test(id='dromaeo', parent=bot_key).put()
35 id='dom', parent=test_key, has_rows=True).put()
75 test_key = utils.TestKey('ChromiumPerf/win7/dromaeo/dom')
76 test_container_key = utils.GetTestContainerKey(test_key)
Dadd_point_queue.py77 for test_key in monitored_test_keys:
78 if not _IsRefBuild(test_key):
79 find_anomalies.ProcessTest(test_key)
81 logging.warn('Ref data marked as monitored: %s', str(test_key))
342 def _IsRefBuild(test_key): argument
344 key_path = test_key.flat()
Dgraph_json.py255 def _GetRowsForTestInRange(test_key, start_rev, end_rev, privileged=False): argument
260 graph_data.Row.parent_test == test_key,
266 def _GetRowsForTestAroundRev(test_key, rev, num_points, privileged=False): argument
274 graph_data.Row.parent_test == test_key,
282 graph_data.Row.parent_test == test_key,
290 def _GetLatestRowsForTest(test_key, num_points, privileged=False): argument
294 query = graph_data.Row.query(graph_data.Row.parent_test == test_key)
Dstats.py266 for test_key in test_keys:
271 'test_key': test_key.urlsafe(),
330 test_key = ndb.Key(urlsafe=self.request.get('test_key'))
335 graph_data.Row.parent_test == test_key,
340 graph_data.Row.parent_test == test_key,
351 test = test_key.get()
358 'test_path': utils.TestPath(test_key),
Ddump_graph_json_test.py49 test_key = utils.TestKey('M/b/foo')
50 test_container_key = utils.GetTestContainerKey(test_key)
100 test_key = utils.TestKey('M/b/foo')
102 anomaly.Anomaly(sheriff=sheriff_key, test=test_key).put()
/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_config.py8 test_key = 'test key' variable
19 lines = ['Variable is: %s\n' % CONFIG[test_key],
20 'Variable is (in environ): %s' % environ['paste.config'][test_key]]
32 supplement = ['Nesting variable is: %s' % CONFIG[test_key],
34 environ['paste.config'][test_key]]
42 config = {test_key: 'test value'}
52 config = {test_key: 'test value'}
54 config = {test_key: 'nesting value'}
67 process_config = {test_key: 'bar', 'process_var': 'foo'}
70 assert CONFIG[test_key] == 'bar'
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test.cc188 void *TSDAllocWorker(void *test_key) { in TSDAllocWorker() argument
189 if (test_key) { in TSDAllocWorker()
191 pthread_setspecific(*(pthread_key_t*)test_key, mem); in TSDAllocWorker()
198 pthread_key_t test_key; in TEST() local
199 pthread_key_create(&test_key, CallFreeOnWorkqueue); in TEST()
200 PTHREAD_CREATE(&th, NULL, TSDAllocWorker, &test_key); in TEST()
202 pthread_key_delete(test_key); in TEST()
/external/srtp/googlepatches/
Dvidyo-4-srtp-rtx.patch99 policy.key = test_key;
147 policy.key = test_key;
155 test_key,
163 test_key,
171 test_key,
179 test_key,
187 test_key,
195 test_key,
203 test_key,
211 test_key,
/external/srtp/test/
Dsrtp_driver.c101 extern uint8_t test_key[30];
323 policy.key = test_key; in main()
1146 unsigned char test_key[30] = { in srtp_validate() local
1185 policy.key = test_key; in srtp_validate()
1317 unsigned char test_key[30] = { variable
1343 test_key,
1368 test_key,
1393 test_key,
1418 test_key,
1443 test_key,
[all …]
/external/chromium-trace/catapult/dashboard/docs/
Dcode-snippets.md113 for test_key in test_keys:
114 to_delete.append(ndb.Key('LastAddedRevision', utils.TestPath(test_key)))
148 for test_key in test_keys:
150 graph_data.Row.parent_test == test_key).fetch(keys_only=True, limit=100)
153 to_delete.append(test_key)
/external/libvpx/libvpx/test/
Dvp8_decrypt_test.cc24 const uint8_t test_key[16] = { variable
32 dst[i] = src[i] ^ test_key[(offset + i) & 15]; in encrypt_buffer()

12