Home
last modified time | relevance | path

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

/external/autotest/frontend/afe/json_rpc/
DserviceHandler.py163 def translateResult(result_dict): argument
169 if result_dict['err'] is not None:
170 error_name = result_dict['err'].__class__.__name__
171 result_dict['err'] = {'name': error_name,
172 'message': str(result_dict['err']),
173 'traceback': result_dict['err_traceback']}
174 result_dict['result'] = None
177 json_dict = {'result': result_dict['result'],
178 'id': result_dict['id'],
179 '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/chromium-trace/catapult/telemetry/telemetry/internal/results/
Dchart_json_output_formatter.py60 result_dict = {
75 return result_dict
88 result_dict = {
93 return result_dict
Djson_output_formatter.py22 result_dict = {
36 result_dict['files'] = page_test_results.serialized_trace_file_ids_to_paths
37 return result_dict
/external/autotest/client/cros/audio/
Daudio_helper.py782 result_dict = dict()
785 result_dict['index'] = max_cross_correlation
786 result_dict['best_delay'] = best_delay
787 result_dict['equal'] = True if (
790 logging.debug('result_dict: %r', result_dict)
791 return result_dict
839 result_dict = dict(test_channel=test_channel,
841 result_dict.update(
845 compare_results.append(result_dict)
/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py165 result_dict = {}
169 decoder(value, 0, len(value), self.all_fields, result_dict)
170 return result_dict[field_descriptor]
276 result_dict = {}
281 decoder(value, 0, len(value), self.message, result_dict)
282 return result_dict[field_descriptor]
/external/toolchain-utils/crosperf/
Dresults_cache.py110 result_dict = field_dict[k2]
112 if 'value' in result_dict:
113 keyvals_dict[key] = result_dict['value']
114 elif 'values' in result_dict:
115 values = result_dict['values']
116 if ('type' in result_dict and
117 result_dict['type'] == 'list_of_scalar_values' and values and
122 units_dict[key] = result_dict['units']
/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])