/external/chromium_org/tools/memory_inspector/memory_inspector/data/ |
H A D | serialization.py | 15 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 D | command_line.py | 7 import json namespace 167 print json.dumps(classified_results_tree, cls=serialization.Encoder)
|
H A D | www_server.py | 26 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 D | adb | 15 import json namespace 22 # Load the dictionary of expected_cmd -> planned_response from the json file 25 responses = json.load(f)
|
H A D | mock_adb.py | 5 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 D | omahaproxy.py | 12 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 D | dom_perf.py | 5 import json namespace 47 data = json.loads(tab.EvaluateJavaScript('__domperf_result'))
|
H A D | indexeddb_perf.py | 22 import json namespace 74 result_dict = json.loads(tab.EvaluateJavaScript(js_get_results))
|
H A D | jetstream.py | 20 import json namespace 59 result = json.loads(result.partition(': ')[2]) 84 archive_data_file='../page_sets/data/jetstream.json',
|
H A D | sunspider.py | 5 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 D | speedindex_unittest.py | 8 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 D | startup_metric.py | 5 import json namespace 58 result = json.loads(result) 97 result = json.loads(result)
|
H A D | v8_object_stats.py | 5 import json namespace 213 """ % json.dumps(counters))
|
/external/chromium_org/tools/perf/profile_creators/ |
H A D | extensions_profile_creator.py | 5 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 D | make_expectations.py | 21 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 D | chrome_controller.py | 5 import json namespace 52 json_data = json.loads(json_category_list)['traceCategoriesList']
|
H A D | chrome_controller_unittest.py | 6 import json namespace 44 json.loads(f.read())
|
H A D | perf_controller_unittest.py | 6 import json namespace 40 json.loads(f.read())
|
H A D | trace_packager.py | 6 import json namespace 55 json_data = json.load(f) 72 json.dump(merged_data, f)
|
H A D | trace_packager_unittest.py | 5 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 D | perf_to_tracing.py | 6 import json namespace 248 json.dump(trace_dict, sys.stdout, indent=1)
|
/external/chromium_org/tools/telemetry/examples/ |
H A D | measure_trace.py | 7 import json namespace 58 json.load(trace_file))
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
H A D | chrome_browser_backend.py | 7 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 D | inspector_memory.py | 4 import json namespace 46 json.dumps(res, indent=2))
|
H A D | inspector_websocket.py | 5 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))
|