Searched defs:json (Results 176 - 200 of 467) sorted by last modified time

1234567891011>>

/external/chromium_org/tools/memory_inspector/memory_inspector/data/
H A Dserialization.py15 import json namespace
25 class Encoder(json.JSONEncoder):
69 return json.JSONEncoder.default(self, obj)
72 class MmapDecoder(json.JSONDecoder):
82 class SymbolsDecoder(json.JSONDecoder):
94 class NativeHeapDecoder(json.JSONDecoder):
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/
H A Dcommand_line.py7 import json namespace
167 print json.dumps(classified_results_tree, cls=serialization.Encoder)
H A Dwww_server.py26 import json namespace
113 serialized_content = json.dumps(body, cls=serialization.Encoder)
740 req_vars = json.loads(req_body)
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/
H A Dadb15 import json namespace
22 # Load the dictionary of expected_cmd -> planned_response from the json file
25 responses = json.load(f)
H A Dmock_adb.py5 import json namespace
16 commands. The dictionary is stored into a json file and read by the mock 'adb'
17 script. The path of the json dict is held in the MOCK_ADB_CFG env var.
27 json.dump(self._responses, f)
/external/chromium_org/tools/
H A Domahaproxy.py12 import json namespace
19 URL = 'https://omahaproxy.appspot.com/json'
24 data = json.load(urllib.urlopen(URL))
/external/chromium_org/tools/perf/benchmarks/
H A Ddom_perf.py5 import json namespace
47 data = json.loads(tab.EvaluateJavaScript('__domperf_result'))
H A Dindexeddb_perf.py22 import json namespace
74 result_dict = json.loads(tab.EvaluateJavaScript(js_get_results))
H A Djetstream.py20 import json namespace
59 result = json.loads(result.partition(': ')[2])
84 archive_data_file='../page_sets/data/jetstream.json',
H A Dsunspider.py5 import json namespace
98 js_results = json.loads(tab.EvaluateJavaScript(js_get_results))
132 archive_data_file='../page_sets/data/sunspider.json',
/external/chromium_org/tools/perf/metrics/
H A Dspeedindex_unittest.py8 import json namespace
17 # Sample timeline data in the json format provided by devtools.
20 _SAMPLE_DATA = json.load(open(os.path.join(_TEST_DIR, 'sample_timeline.json')))
190 provides timeline data in json format along with the speed index results.
197 filename: Filename of a json file which contains a
204 raw_events = json.load(json_file)
218 'cern_repeat_timeline.json', (1014, 650), 379.0)
224 'baidu_repeat_timeline.json', (1014, 650), 1761.43)
230 '2ch_repeat_timeline.json', (99
[all...]
H A Dstartup_metric.py5 import json namespace
58 result = json.loads(result)
97 result = json.loads(result)
H A Dv8_object_stats.py5 import json namespace
213 """ % json.dumps(counters))
/external/chromium_org/tools/perf/profile_creators/
H A Dextensions_profile_creator.py5 import json namespace
70 manifest_contents = crx_zip.read('manifest.json')
71 decoded_manifest = json.loads(manifest_contents)
136 "%s.json" % extension_id)
138 f.write(json.dumps(extension_info))
/external/chromium_org/tools/perf_expectations/
H A Dmake_expectations.py21 import json namespace
23 import simplejson as json namespace
53 jsondata = json.loads(string)
170 # In perf_expectations.json, ignore the 'load' key.
219 # Create the summary_url and get the json data for that URL.
225 OutputMessage('ERROR: cannot find json data, please verify',
/external/chromium_org/tools/profile_chrome/
H A Dchrome_controller.py5 import json namespace
52 json_data = json.loads(json_category_list)['traceCategoriesList']
H A Dchrome_controller_unittest.py6 import json namespace
44 json.loads(f.read())
H A Dperf_controller_unittest.py6 import json namespace
40 json.loads(f.read())
H A Dtrace_packager.py6 import json namespace
55 json_data = json.load(f)
72 json.dump(merged_data, f)
H A Dtrace_packager_unittest.py5 import json namespace
22 f1.write(json.dumps(t1))
23 f2.write(json.dumps(t2))
33 output = json.load(output)
/external/chromium_org/tools/profile_chrome/third_party/
H A Dperf_to_tracing.py6 import json namespace
248 json.dump(trace_dict, sys.stdout, indent=1)
/external/chromium_org/tools/telemetry/examples/
H A Dmeasure_trace.py7 import json namespace
58 json.load(trace_file))
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dchrome_browser_backend.py7 import json namespace
199 return json.loads(self.Request(''))
202 url = 'http://127.0.0.1:%i/json' % self._port
230 resp = json.loads(data)
H A Dinspector_memory.py4 import json namespace
46 json.dumps(res, indent=2))
H A Dinspector_websocket.py5 import json namespace
59 data = json.dumps(req)
62 logging.debug('sent [%s]', json.dumps(req, indent=2, sort_keys=True))
115 res = json.loads(data)
117 logging.debug('got [%s]', json.dumps(res, indent=2, sort_keys=True))

Completed in 190 milliseconds

1234567891011>>