Home
last modified time | relevance | path

Searched refs:result_dict (Results 1 – 13 of 13) sorted by relevance

/external/autotest/frontend/afe/json_rpc/
DserviceHandler.py157 def translateResult(result_dict): argument
163 if result_dict['err'] is not None:
164 error_name = result_dict['err'].__class__.__name__
165 result_dict['err'] = {'name': error_name,
166 'message': str(result_dict['err']),
167 'traceback': result_dict['err_traceback']}
168 result_dict['result'] = None
171 json_dict = {'result': result_dict['result'],
172 'id': result_dict['id'],
173 'error': result_dict['err'] }
[all …]
/external/autotest/tko/
Djsonp_fetcher.cgi24 result_dict = serviceHandler.ServiceHandler.blank_result_dict() variable
27 result_dict['result'] = file_contents
29 result_dict['err'] = LogFileNotFound('%s not found' % path)
30 result_dict['err_traceback'] = traceback.format_exc()
32 encoded_result = serviceHandler.ServiceHandler.translateResult(result_dict)
/external/skia/tools/
Djsondiff.py80 result_dict = {}
86 return result_dict
103 result_dict[test_name] = digest_pair[1]
104 return result_dict
125 result_dict = {}
137 result_dict[test_name] = digest_pair[1]
138 return result_dict
/external/autotest/client/cros/audio/
Daudio_helper.py778 result_dict = dict()
781 result_dict['index'] = max_cross_correlation
782 result_dict['best_delay'] = best_delay
783 result_dict['equal'] = True if (
786 logging.debug('result_dict: %r', result_dict)
787 return result_dict
836 result_dict = dict()
842 result_dict['golden_data_frequency'] = golden_data_stat.rough_frequency
843 result_dict['test_data_frequency'] = test_data_stat.rough_frequency
844 result_dict['equal'] = True if (
[all …]
/external/chromium-trace/catapult/perf_insights/perf_insights/mre/
Dmre_result_unittest.py38 result_dict = result.AsDict()
40 self.assertEquals(result_dict['failures'], [failure.AsDict()])
41 self.assertEquals(result_dict['pairs'], {'foo': 'bar'})
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Djson_output_formatter.py22 result_dict = {
36 result_dict['files'] = page_test_results.serialized_trace_file_ids_to_paths
37 return result_dict
Dchart_json_output_formatter.py56 result_dict = {
69 return result_dict
/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py62 result_dict = {}
66 decoder(value, 0, len(value), self.all_fields, result_dict)
67 return result_dict[field_descriptor]
203 result_dict = {}
208 decoder(value, 0, len(value), self.message, result_dict)
209 return result_dict[field_descriptor]
/external/autotest/frontend/tko/
Drpc_interface.py289 for result_dict in test_query:
290 hostname = result_dict['hostname']
291 test = result_dict['test_name']
292 machine_idx = result_dict['machine_idx']
/external/autotest/site_utils/
Dgenerate_test_report541 def _PrintResultDictKeyVals(self, test_entry, result_dict): argument
553 if not result_dict:
555 dict_keys = result_dict.keys()
565 self._color.BOLD, result_dict[dict_key])
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dmemory_timeline_unittest.py69 result_dict = {strip_prefix(v.name): v.values
72 return result_dict
/external/autotest/client/common_lib/cros/
Ddev_server.py245 result_dict = json.load(cStringIO.StringIO(make_call()))
246 for key, val in result_dict.iteritems():
253 return result_dict
/external/chromium-trace/catapult/third_party/pipeline/pipeline/
Dpipeline.py3268 result_dict = {}
3272 result_dict.update(cursor=cursor)
3273 result_dict.update(pipelines=results)
3274 return result_dict