/external/autotest/tko/ |
jsonp_fetcher.cgi | 24 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/autotest/frontend/afe/json_rpc/ |
serviceHandler.py | 157 def translateResult(result_dict): 159 @param result_dict: a dictionary containing the result, error, traceback 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'] [all...] |
/external/chromium-trace/catapult/perf_insights/perf_insights/mre/ |
mre_result_unittest.py | 38 result_dict = result.AsDict() 40 self.assertEquals(result_dict['failures'], [failure.AsDict()]) 41 self.assertEquals(result_dict['pairs'], {'foo': 'bar'})
|
/development/testrunner/ |
am_instrument_parser.py | 85 result_dict = {} 99 result_dict[key] = float(val) 101 result_dict[key] = val 103 result_dict[key] = val 108 result_dict[key] = val 113 result_dict[key] = val 115 result_dict[key] += '\n' + line 117 if not result_dict.has_key('code'): 118 result_dict['code'] = '0' 119 result_dict['shortMsg'] = "No result returned from instrumentation [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/ |
json_output_formatter.py | 22 result_dict = { 36 result_dict['files'] = page_test_results.serialized_trace_file_ids_to_paths 37 return result_dict
|
chart_json_output_formatter.py | 56 result_dict = { 69 return result_dict
|
/external/skia/tools/ |
jsondiff.py | 80 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/protobuf/python/google/protobuf/internal/ |
unknown_fields_test.py | 62 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]
|
/system/connectivity/shill/ |
property_store_unittest.cc | 819 brillo::VariantDictionary result_dict; local 820 EXPECT_TRUE(store.GetProperties(&result_dict, &error)); 823 EXPECT_EQ(new_bool_value, result_dict[kBoolKey].Get<bool>()); 824 EXPECT_EQ(new_int16_value, result_dict[kInt16Key].Get<int16_t>()); 825 EXPECT_EQ(new_int32_value, result_dict[kInt32Key].Get<int32_t>()); 826 EXPECT_EQ(new_string_value, result_dict[kStringKey].Get<string>()); 828 new_stringmap_value == result_dict[kStringmapKey].Get<Stringmap>()); 829 EXPECT_TRUE(new_strings_value == result_dict[kStringsKey].Get<Strings>()); 830 EXPECT_EQ(new_uint8_value, result_dict[kUint8Key].Get<uint8_t>()); 831 EXPECT_EQ(new_uint16_value, result_dict[kUint16Key].Get<uint16_t>()) [all...] |
/external/autotest/client/cros/audio/ |
audio_helper.py | 778 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_frequenc [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
memory_timeline_unittest.py | 69 result_dict = {strip_prefix(v.name): v.values 72 return result_dict
|
/external/autotest/frontend/tko/ |
rpc_interface.py | 289 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/ |
generate_test_report | 541 def _PrintResultDictKeyVals(self, test_entry, result_dict): 550 @param result_dict: A dict of keyvals to be presented. 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/ |
dev_server.py | 245 result_dict = json.load(cStringIO.StringIO(make_call())) 246 for key, val in result_dict.iteritems(): 253 return result_dict [all...] |
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ |
pipeline.py | [all...] |