/external/autotest/site_utils/presubmit_hooks/ |
H A D | check_json_files.py | 7 Check if a json file is valid. 10 that edits a json file. 13 import json namespace 18 """Exception to raise when a json file can't be parsed.""" 22 """Check if all json files that are a part of this commit are valid.""" 29 if f.lower().endswith('.json'): 32 json.load(json_file) 37 'json file, or you will have to upload the CL using ' 39 raise InvalidJsonFile('Invalid json file: %s' % f)
|
/external/v8/tools/testrunner/utils/ |
H A D | dump_build_config.py | 5 """Writes a dictionary to a json file with the passed key-value pairs. 8 dump_build_config.py path/to/file.json [key1=value1 ...] 10 The values are expected to be valid json. E.g. true is a boolean and "true" is 14 import json namespace 23 return k, json.loads(v) 26 json.dump(dict(as_json(kv) for kv in sys.argv[2:]), f)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
H A D | monsoon_power_monitor_unittest.py | 5 import json namespace 19 json.dumps(data))
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
H A D | device_list.py | 7 import json namespace 26 devices = json.load(f) 50 json.dump(device_list, f)
|
/external/v8/tools/clang/pylib/clang/ |
H A D | compile_db.py | 6 import json namespace 22 with file(os.path.join(path, 'compile_commands.json'), 'w') as f: 32 with open(os.path.join(path, 'compile_commands.json'), 'rb') as db: 33 return json.load(db)
|
/external/autotest/client/bin/ |
H A D | update_intel_pci_ids | 13 import json namespace 49 out_file = 'intel_pci_ids.json' 85 json.dump(pci_ids, out_f, sort_keys=True, indent=4,
|
/external/autotest/client/site_tests/platform_DebugDaemonGetModemStatus/ |
H A D | platform_DebugDaemonGetModemStatus.py | 6 import json namespace 20 modems = json.loads(result)
|
/external/autotest/site_utils/ |
H A D | lxc_config_unittest.py | 6 import json namespace 20 """Test ssp_deploy_config.json can be validated. 25 deploy_configs = json.load(f)
|
/external/chromium-trace/catapult/devil/devil/android/ |
H A D | device_list.py | 7 import json namespace 28 devices = json.load(f) 52 json.dump(device_list, f)
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
H A D | chrome_startup_tracing_agent_unittest.py | 5 import json namespace 28 json.loads(result.raw_data)
|
H A D | chrome_tracing_agent_unittest.py | 5 import json namespace 51 json.loads(result.raw_data)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
H A D | inspector_memory.py | 4 import json namespace 48 json.dumps(res, indent=2))
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/ |
H A D | histogram_set_json_output_formatter.py | 5 import json namespace 25 histograms += json.loads(existing) 27 logging.warn('Found existing histograms json but failed to parse it.') 28 json.dump(histograms, self._output_stream)
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
H A D | js_template.py | 5 import json namespace 15 return json.dumps(value, sort_keys=True)
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | HTTPTokener.java | 1 package com.google.polo.json;
|
H A D | JSONString.java | 1 package com.google.polo.json;
|
H A D | JSONStringer.java | 1 package com.google.polo.json;
|
H A D | Test.java | 1 package com.google.polo.json; 9 * Test class. This file is not formally a member of the org.json library. 76 j = XML.toJSONObject("<![CDATA[This is a collection of test patterns and examples for org.json.]]> Ignore the stuff past the end. ");
|
/external/libbrillo/brillo/errors/ |
H A D | error_codes.h | 20 namespace json { namespace in namespace:brillo::errors 24 } // namespace json
|
/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
H A D | adb_run_shell_cmd.py | 7 import json namespace 27 parser.add_argument('--json-output', 28 help='File to dump json output to.') 49 json.dump(data, f)
|
/external/libvpx/libvpx/test/android/ |
H A D | scrape_gtest_log.py | 9 """Standalone script which parses a gtest log for json. 12 waterfall to gather json results mixed in with gtest logs. This is 17 import json namespace 25 print "Expects a file to write json to!" 31 'o:', ['output-json=']) 38 if opt in ('-o', '--output-json'): 46 output = json.dumps(json.loads(json_string), indent=4, sort_keys=True)
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/configuration/ |
H A D | ConfigParser.py | 30 import json namespace 42 self.__conf = json.load(testFile)
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
H A D | fail_control.py | 7 import json namespace 25 headers = self.add_auth_headers({'Content-Type': 'application/json'}) 27 json.dumps(dict()), headers=headers) 29 return json.loads(url_h.read()) 34 headers = self.add_auth_headers({'Content-Type': 'application/json'}) 36 json.dumps(dict()), headers=headers) 38 return json.loads(url_h.read())
|
H A D | oauth.py | 7 import json namespace 25 headers = self.add_auth_headers({'Content-Type': 'application/json'}) 27 json.dumps(dict()), headers=headers) 29 return json.loads(url_h.read()) 34 headers = self.add_auth_headers({'Content-Type': 'application/json'}) 37 json.dumps(dict()), headers=headers) 39 return json.loads(url_h.read())
|
H A D | oauth_helpers.py | 8 import json namespace 41 auth_result = json.loads(url_h.read()) 59 auth_result = json.loads(url_h.read())
|