Home
last modified time | relevance | path

Searched refs:result_dict (Results 1 – 14 of 14) 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/v8/build/android/
Demma_coverage_stats_test.py381 result_dict = coverage_stats._GetSourceFileToEmmaFileDict(
383 self.assertDictEqual(result_dict, self.good_source_to_emma)
438 result_dict = self.simple_coverage.GetCoverageDictForFile(
440 self.assertDictEqual(result_dict, expected_dict)
450 result_dict = self.simple_coverage.GetCoverageDictForFile('fake_dir', {})
451 self.assertDictEqual(result_dict, expected_dict)
455 result_dict = self.simple_coverage.GetCoverageDictForFile('fake_file', {})
456 self.assertIsNone(result_dict)
513 result_dict = self.simple_coverage.GetCoverageDict(files_for_coverage)
514 self.assertDictEqual(result_dict, expected_dict)
[all …]
/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/tracing/tracing/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.py60 result_dict = {
73 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/v8/tools/gyp/pylib/gyp/generator/
Danalyzer.py705 result_dict = { 'status': all_changed_string,
710 _WriteOutput(params, **result_dict)
719 result_dict = { 'status': no_dependency_string,
723 result_dict['invalid_targets'] = calculator.invalid_targets
724 _WriteOutput(params, **result_dict)
730 result_dict = { 'test_targets': test_target_names,
737 result_dict['invalid_targets'] = calculator.invalid_targets
738 _WriteOutput(params, **result_dict)
/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/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