Searched defs:json (Results 1 - 25 of 354) sorted by relevance

1234567891011>>

/external/autotest/site_utils/presubmit_hooks/
H A Dcheck_json_files.py7 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 Ddump_build_config.py5 """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 Dmonsoon_power_monitor_unittest.py5 import json namespace
19 json.dumps(data))
/external/libmojo/third_party/catapult/devil/devil/android/
H A Ddevice_list.py7 import json namespace
26 devices = json.load(f)
50 json.dump(device_list, f)
/external/v8/tools/clang/pylib/clang/
H A Dcompile_db.py6 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 Dupdate_intel_pci_ids13 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 Dplatform_DebugDaemonGetModemStatus.py6 import json namespace
20 modems = json.loads(result)
/external/autotest/site_utils/
H A Dlxc_config_unittest.py6 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 Ddevice_list.py7 import json namespace
28 devices = json.load(f)
52 json.dump(device_list, f)
/external/chromium-trace/catapult/systrace/profile_chrome/
H A Dchrome_startup_tracing_agent_unittest.py5 import json namespace
28 json.loads(result.raw_data)
H A Dchrome_tracing_agent_unittest.py5 import json namespace
51 json.loads(result.raw_data)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
H A Dinspector_memory.py4 import json namespace
48 json.dumps(res, indent=2))
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
H A Dhistogram_set_json_output_formatter.py5 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 Djs_template.py5 import json namespace
15 return json.dumps(value, sort_keys=True)
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
H A DHTTPTokener.java1 package com.google.polo.json;
H A DJSONString.java1 package com.google.polo.json;
H A DJSONStringer.java1 package com.google.polo.json;
H A DTest.java1 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 Derror_codes.h20 namespace json { namespace in namespace:brillo::errors
24 } // namespace json
/external/libmojo/third_party/catapult/devil/devil/android/tools/
H A Dadb_run_shell_cmd.py7 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 Dscrape_gtest_log.py9 """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 DConfigParser.py30 import json namespace
42 self.__conf = json.load(testFile)
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
H A Dfail_control.py7 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 Doauth.py7 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 Doauth_helpers.py8 import json namespace
41 auth_result = json.loads(url_h.read())
59 auth_result = json.loads(url_h.read())

Completed in 5059 milliseconds

1234567891011>>