HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 676 - 700 of 1255) sorted by null

<<21222324252627282930>>

  /external/chromium_org/third_party/skia/
PRESUBMIT.py 110 json_url: url to download json style status.
117 status = input_api.json.loads(connection.read())
133 sheriff_details = input_api.json.loads(connection.read())
255 SKIA_TREE_STATUS_URL + '/banner-status?format=json')))
  /external/chromium_org/tools/auto_bisect/
request_build.py 15 import json namespace
22 # URL template for fetching JSON data about builds.
23 BUILDER_JSON_URL = ('%(server_url)s/json/builders/%(bot_name)s/builds/'
103 Presence of currentStep element in build JSON indicates build is in progress.
106 build_data: A dictionary with build data, loaded from buildbot JSON API.
128 build_data: A dictionary with build data, loaded from buildbot JSON API.
147 build_data: A dictionary with build data, loaded from buildbot JSON API.
166 """Fetches JSON data for the all the builds from the tryserver.
200 return json.loads(builds_json)
240 # Get the URL for requesting JSON data with status information
    [all...]
  /external/chromium_org/tools/deep_memory_profiler/subcommands/
cat.py 5 import json namespace
79 json.dump(json_root, sys.stdout, indent=2)
81 json.dump(json_root, sys.stdout)
  /external/chromium_org/tools/gyp/test/analyzer/
gyptest-analyzer.py 9 import json namespace
22 json.dump(to_write, f)
34 result = json.load(f)
160 # Verifies config_path must point to a valid json file.
  /external/chromium_org/tools/perf/metrics/
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', (997, 650), 674.58
    [all...]
  /external/chromium_org/tools/perf/profile_creators/
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/telemetry/telemetry/core/backends/remote/
trybot_browser_finder.py 7 import json namespace
134 config_file.write('config = %s' % json.dumps(
233 'http://build.chromium.org/p/tryserver.chromium.perf/json')
234 builders = json.loads(f.read()).get('builders', {}).keys()
trybot_browser_finder_unittest.py 5 import json namespace
49 'http://build.chromium.org/p/tryserver.chromium.perf/json').WillReturn(
50 StringIO.StringIO(json.dumps({'builders': {
65 'http://build.chromium.org/p/tryserver.chromium.perf/json').WillReturn(
66 StringIO.StringIO(json.dumps({'builders': {
  /external/chromium_org/tools/telemetry/telemetry/core/
browser_credentials.py 5 import json namespace
99 credentials = json.loads(f.read())
110 homedir_credentials = json.loads(f.read())
144 util.GetTelemetryDir(), 'examples', 'credentials_example.json')
  /external/chromium_org/tools/telemetry/telemetry/core/heap/
chrome_js_heap_snapshot_parser.py 5 import json namespace
14 The heap snapshot JSON format is defined by HeapSnapshotJSONSerializer in V8.
45 heap = json.loads(raw_data)
75 heap = json.loads(raw_data)
109 """Parses the stored JSON snapshot data.
  /external/chromium_org/tools/telemetry/telemetry/page/
page_set_archive_info.py 5 import json namespace
55 data = json.load(f)
128 json.dump(metadata, f, indent=4)
  /external/chromium_org/tools/telemetry/telemetry/results/
chart_json_output_formatter_unittest.py 5 import json namespace
43 d = json.loads(self._output.getvalue())
55 json.dumps(d)
  /external/chromium_org/tools/telemetry/telemetry/unittest/
json_results.py 6 import json namespace
32 help=('If specified, upload full_results.json file to '
55 json.dump(full_results, fp, indent=2)
75 """Convert the unittest results to the Chromium JSON test result format.
226 'filename="full_results.json"')
227 lines.append('Content-Type: application/json')
229 lines.append(json.dumps(full_results))
244 return True, ('Uploading the JSON results failed with %d: "%s"' %
247 return True, 'Uploading the JSON results raised "%s"\n' % str(e)
  /frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
MusicProvider.java 26 import org.json.JSONArray;
27 import org.json.JSONException;
28 import org.json.JSONObject;
40 * Utility class to get a list of MusicTrack's based on a server-side JSON
47 private static final String MUSIC_URL = "http://storage.googleapis.com/automotive-media/music.json";
102 // Media is stored relative to JSON file
125 * Download a JSON file from a server, parse the content and return the JSON
146 Log.d(TAG, "Failed to parse the json for media list", e);
  /external/chromium_org/chrome/browser/extensions/
install_signer.cc 10 #include "base/json/json_reader.h"
11 #include "base/json/json_writer.h"
376 // The request protocol is JSON of the form:
390 std::string json; local
391 base::JSONWriter::Write(&dictionary, &json);
392 if (json.empty()) {
396 url_fetcher_->SetUploadData("application/json", json);
399 VLOG(1) << "Sending request: " << json;
426 // The response is JSON of the form
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/
key_map.js 12 * A caller is responsible for providing a JSON keymap (a simple Object key
56 * Path to dir containing ChromeVox keymap json definitions.
67 * user configurable, so it doesn't make sense to json-stringify it.
74 'file': 'classic_keymap.json'
77 'file': 'flat_keymap.json'
80 'file': 'experimental.json'
129 * JSON.stringify.
130 * @return {string} The JSON representation of this instance.
133 return JSON.stringify({bindings: this.bindings_});
294 // TODO(dtseng): Need unit test to ensure command is valid for every *.json
    [all...]
  /external/chromium_org/native_client_sdk/src/tools/tests/
create_nmf_test.py 5 import json namespace
147 * The generated NMF as a dictionary (i.e. parsed by json.loads)
164 nmf = json.loads(nmf_utils.GetJson())
179 * The generated NMF as a dictionary (i.e. parsed by json.loads)
193 nmf = json.loads(nmf_utils.GetJson())
207 * The generated NMF as a dictionary (i.e. parsed by json.loads)
217 nmf = json.loads(nmf_utils.GetJson())
230 * The generated NMF as a dictionary (i.e. parsed by json.loads)
240 nmf = json.loads(nmf_utils.GetJson())
  /external/chromium_org/third_party/skia/tools/tests/
render_pictures_test.py 14 import json namespace
174 TODO(epoger): This test generates undesired results! The JSON summary
185 output_json_path = os.path.join(self._output_dir, 'actuals.json')
220 output_json_path = os.path.join(self._output_dir, 'actuals.json')
258 output_json_path = os.path.join(self._output_dir, 'actuals.json')
303 output_json_path = os.path.join(self._output_dir, 'actuals.json')
365 output_json_path = os.path.join(self._output_dir, 'actuals.json')
421 output_json_path = os.path.join(self._output_dir, 'actuals.json')
445 output_json_path = os.path.join(self._output_dir, 'actuals.json')
481 output_json_path = os.path.join(self._output_dir, 'actuals.json')
    [all...]
  /external/chromium_org/ppapi/native_client/
chrome_main.scons 6 import json namespace
197 src_json = json.load(src_file)
217 json.dump(src_json, target_file, sort_keys=True, indent=2)
249 obj = json.load(source_file)
275 json.dump(obj, target_file, sort_keys=True, indent=2)
305 json.dump(nmf_data, fh, sort_keys=True, indent=2)
331 obj = json.loads(env.File(manifest).get_contents())
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
ContactLoaderTest.java 42 import org.json.JSONException;
43 import org.json.JSONObject;
271 // Use lookup-style Uri that contains encoded json object which encapsulates the
272 // directory contact. The test json object is:
279 JSONObject json = new JSONObject(); local
280 json.put(Contacts.NAME_RAW_CONTACT_ID, CONTACT_ID);
281 json.put(Contacts.DISPLAY_NAME_SOURCE, DisplayNameSources.STRUCTURED_NAME);
282 json.put(Contacts.CONTENT_ITEM_TYPE, itemJson);
285 .encodedFragment(json.toString())
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ContactLoader.java 57 import org.json.JSONArray;
58 import org.json.JSONException;
59 import org.json.JSONObject;
355 * Parses a {@link Contact} stored as a JSON string in a lookup URI.
371 final JSONObject json = new JSONObject(jsonString); local
376 final String displayName = json.optString(Contacts.DISPLAY_NAME);
377 final String altDisplayName = json.optString(
379 final int displayNameSource = json.getInt(Contacts.DISPLAY_NAME_SOURCE);
380 final String photoUri = json.optString(Contacts.PHOTO_URI, null);
402 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null)
    [all...]
  /external/chromium_org/chrome/browser/policy/
policy_prefs_browsertest.cc 15 #include "base/json/json_reader.h"
67 // part of the data loaded from chrome/test/data/policy/policy_test_cases.json.
91 // part of the data loaded from chrome/test/data/policy/policy_test_cases.json.
144 // loaded from chrome/test/data/policy/policy_test_cases.json.
225 base::FilePath(FILE_PATH_LITERAL("policy_test_cases.json")));
226 std::string json; local
227 if (!base::ReadFileToString(path, &json)) {
235 json, base::JSON_PARSE_RFC, &error_code, &error_string));
237 ADD_FAILURE() << "Error parsing policy_test_cases.json: " << error_string;
313 << "policy_test_cases.json."
424 std::string json; local
    [all...]
  /external/chromium_org/chrome/browser/printing/
print_dialog_cloud.cc 13 #include "base/json/json_reader.h"
178 // From the JSON parsed value, get the entries for the page setup
180 bool GetPageSetupParameters(const std::string& json,
182 scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(json));
427 std::string json; local
428 bool ret = args->GetString(0, &json);
429 if (!ret || json.empty()) {
430 NOTREACHED() << "Empty json string";
461 if (!GetPageSetupParameters(json, default_settings)) {
  /external/chromium_org/chrome/browser/resources/chromeos/network/
network_config.js 103 * Implement networkingPrivate.getProperties. See networking_private.json.
115 * networking_private.json.
126 * Implement networkingPrivate.getNetworks. See networking_private.json.
  /external/chromium_org/chrome/browser/ui/webui/
sync_setup_handler.cc 13 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h"
126 bool GetConfiguration(const std::string& json, SyncConfigInfo* config) {
127 scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(json));
643 std::string json; local
644 if (!args->GetString(0, &json)) {
645 NOTREACHED() << "Could not read JSON argument";
648 if (json.empty()) {
654 if (!GetConfiguration(json, &configuration)) {
    [all...]

Completed in 2616 milliseconds

<<21222324252627282930>>