HomeSort by relevance Sort by last modified time
    Searched defs:json (Results 76 - 100 of 498) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/tools/profile_chrome/
perf_controller_unittest.py 6 import json namespace
40 json.loads(f.read())
  /external/chromium_org/tools/telemetry/telemetry/results/
chart_json_output_formatter.py 7 import json namespace
14 """Produces a dict for serialization to Chart JSON format from raw values.
16 Chart JSON is a transformation of the basic Telemetry JSON format that
20 object) and processes them into a dict which can be serialized using the json
31 A Chart JSON dict corresponding to the given data.
61 # TODO(eakuefner): Transition this to translate Telemetry JSON.
68 json.dump(_ResultsAsChartDict(
json_output_formatter.py 5 import json namespace
10 """Takes PageTestResults to a dict serializable to JSON.
12 To serialize results as JSON we first convert them to a dict that can be
13 serialized by the json module. It also requires a benchmark_metadat object
48 json.dump(ResultsAsDict(page_test_results, self.benchmark_metadata),
  /external/chromium_org/tools/win/sizeviewer/
sizeviewer.py 5 import json namespace
49 json_path = dll_path + '.json'
61 all_data = json.load(jsonf)
88 {'data': json.dumps(data, indent=2),
  /external/clang/tools/clang-format/
clang-format.py 21 import json namespace
74 output = json.loads(lines[0])
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
HTTPTokener.java 1 package com.google.polo.json;
4 Copyright (c) 2002 JSON.org
30 * @author JSON.org
JSONException.java 1 package com.google.polo.json;
4 * The JSONException is thrown by the JSON.org classes then things are amiss.
5 * @author JSON.org
  /external/chromium_org/third_party/libaddressinput/src/java/testlibs/
json-20090211.jar 
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
SimpleBackupSharedPreference.java 21 import org.json.JSONArray;
22 import org.json.JSONException;
23 import org.json.JSONObject;
58 final JSONObject json = new JSONObject(); local
59 json.put(KEY, mKey);
66 json.put(VALUE, array);
68 json.put(VALUE, mValue);
70 return json;
73 public static BackupSharedPreference fromJson(final JSONObject json) throws JSONException {
74 Object value = json.get(VALUE)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
ListParams.java 25 import org.json.JSONException;
26 import org.json.JSONObject;
91 JSONObject json = new JSONObject(); local
93 json.put(LIMIT_KEY, mLimit);
94 json.put(USE_NETWORK_KEY, mUseNetwork);
98 return json.toString();
112 JSONObject json = null; local
114 json = new JSONObject(serializedParams);
115 final int limit = json.getInt(LIMIT_KEY);
116 final boolean useNetwork = json.getBoolean(USE_NETWORK_KEY)
    [all...]
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
AccountTests.java 25 import org.json.JSONException;
26 import org.json.JSONObject;
63 final JSONObject json = new JSONObject(); local
65 json.put(UIProvider.AccountColumns.NAME, "name");
66 json.put(UIProvider.AccountColumns.TYPE, "type");
67 json.put(UIProvider.AccountColumns.PROVIDER_VERSION, 1);
68 json.put(UIProvider.AccountColumns.CAPABILITIES, 2);
71 json.put(UIProvider.AccountColumns.SENDER_NAME, null);
73 final Account account = Account.newInstance(json.toString());
  /cts/libs/json/src/com/android/json/stream/
JsonScope.java 17 package com.android.json.stream;
20 * Lexical scoping elements within a JSON reader or writer.
JsonToken.java 17 package com.android.json.stream;
20 * A structure, name or value type in a JSON-encoded string.
25 * The opening of a JSON array. Written using {@link JsonWriter#beginObject}
31 * The closing of a JSON array. Written using {@link JsonWriter#endArray}
37 * The opening of a JSON object. Written using {@link JsonWriter#beginObject}
43 * The closing of a JSON object. Written using {@link JsonWriter#endObject}
49 * A JSON property name. Within objects, tokens alternate between names and
56 * A JSON string.
61 * A JSON number represented in this API by a Java {@code double}, {@code
67 * A JSON {@code true} or {@code false}
    [all...]
  /external/chromium_org/build/android/gyp/
emma_instr.py 23 import json namespace
109 sources_file: File into which to write the JSON list of sources.
129 json.dump(relative_sources, f)
  /external/chromium_org/build/android/pylib/perf/
setup.py 7 import json namespace
51 steps = json.load(f)
90 flaky_steps = json.load(f)
  /external/chromium_org/build/android/pylib/utils/
json_results_generator_unittest.py 11 import json namespace
76 None, # don't fetch past json results archive
81 # Test incremental json results
178 # Generate JSON with the same test sets. (Both incremental results and
213 self.assertEqual(json.dumps(trie), json.dumps(expected_trie))
  /external/chromium_org/build/util/lib/common/
perf_tests_results_helper.py 8 import json namespace
40 histogram = json.loads(histogram_json)
  /external/chromium_org/cc/test/
layer_tree_json_parser_unittest.cc 89 std::string json = host_impl.LayerTreeAsJson(); local
90 scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL);
115 std::string json = host_impl.LayerTreeAsJson(); local
116 scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL);
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
generate_manifest.py 7 import json namespace
34 json.loads(rendered_without_comments)
upload_chromevox_to_webstore.py 19 import json namespace
30 'manifest_guest.json',
31 'manifest_next.json',
32 'manifest_next_guest.json'
47 old: A json file.
55 new_contents = json.loads(old_file.read())
57 new_file.file.write(json.dumps(new_contents))
106 if extension_file == 'manifest.json':
  /external/chromium_org/chrome/browser/sync/test/integration/
extension_settings_helper.cc 8 #include "base/json/json_writer.h"
33 std::string json; local
36 &json);
37 return json;
  /external/chromium_org/chrome/common/extensions/docs/server2/
features_bundle_test.py 6 import json namespace
16 '_api_features.json': json.dumps({
143 '_manifest_features.json': json.dumps({
182 '_permission_features.json': json.dumps({
221 'json': {
222 'manifest.json': json.dumps(
    [all...]
github_file_system_test.py 6 import json namespace
30 self.assertEqual(json.loads(self._ReadLocalFile('expected_list.json')),
permissions_data_source_test.py 6 import json namespace
19 # permissions.json file.
24 # since the entry appears in _api_features.json.
28 # This won't appear for anything since there's no entry in permissions.json
134 '_api_features.json': json.dumps(_API_FEATURES),
135 '_manifest_features.json': '{}',
136 '_permission_features.json': json.dumps(_PERMISSION_FEATURES),
140 'json':
    [all...]
platform_bundle_test.py 6 import json namespace
19 'inspected_window.json': ReadFile(
20 CHROME_API, 'devtools', 'inspected_window.json'),
22 '_api_features.json': json.dumps({
33 '_manifest_features.json': '{}',
34 '_permission_features.json': '{}',
36 'input_ime.json': ReadFile(CHROME_API, 'input_ime.json'),
37 'page_action.json': ReadFile(CHROME_API, 'page_action.json')
    [all...]

Completed in 1654 milliseconds

1 2 34 5 6 7 8 91011>>