/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
tab_complete.py | 18 import json 101 cache_dict = json.loads(fp.read()) 148 json_str = json.dumps({
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
gen_client.py | 5 import json 121 discovery_doc = json.load(open(infile)) 137 f = json.loads(client_json.read()) 143 'Failed to open client json file: %s' % FLAGS.client_json)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudsearch/ |
search.py | 25 from boto.compat import json, map, six 291 data = json.loads(body) 302 raise SearchServiceException("Got non-json response from Amazon. %s" % body, query) 311 % json.dumps(data), query)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudsearch2/ |
layer1.py | 24 from boto.compat import json 771 params['ContentType'] = 'JSON' 777 return json.loads(body) 779 json_body = json.loads(body)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/ |
layer1.py | 28 from boto.compat import json 306 request should include a JSON document that provides an Amazon 353 json_config = json.dumps(notification_config) 637 specify the output format. Valid values are: CSV|JSON. 646 * Format - The output format, like "JSON" 656 json_job_data = json.dumps(job_data) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
crypt.py | 20 import json 357 return json.dumps(data, separators=(',', ':')) 363 See http://self-issued.info/docs/draft-jones-json-web-token.html. 367 payload: dict, Dictionary of data to convert to JSON and then sign. 391 See http://self-issued.info/docs/draft-jones-json-web-token.html. 400 dict, The deserialized JSON payload in the JWT. 416 parsed = json.loads(json_body.decode('utf-8'))
|
/external/libchrome/base/metrics/ |
statistics_recorder.cc | 8 #include "base/json/string_escape.h" 180 std::string json; local 181 histogram->WriteJSON(&json); 182 output += json;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiRttManagerFacade.java | 22 import org.json.JSONArray; 23 import org.json.JSONException; 24 import org.json.JSONObject;
|
/frameworks/base/core/java/com/android/server/backup/ |
AccountSyncSettingsBackupHelper.java | 31 import org.json.JSONArray; 32 import org.json.JSONException; 33 import org.json.JSONObject; 54 * sync settings are backed up as a JSON object containing all the necessary information for 80 + "/backup/unadded_account_syncsettings.json"; 100 Log.d(TAG, "Account sync settings JSON: " + dataJSON); 103 // Encode JSON data to bytes. 124 * Fetch and serialize Account and authority information as a JSON Array. 132 // generate our JSON. 146 // Generate JSON [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
WifiConfigurationHelper.java | 28 import org.json.JSONArray; 29 import org.json.JSONException; 30 import org.json.JSONObject; 156 * Parse a JSON string for WiFi configurations stored as a JSON string. 158 * This json string should be a list of dictionaries, with each dictionary containing a single 166 * @throws IllegalArgumentException if the input string was not valid JSON or if any mandatory
|
/libcore/json/src/main/java/org/json/ |
JSONArray.java | 17 package org.json; 25 // Note: this class was written without inspecting the non-free org.json sourcecode. 96 throw JSON.typeMismatch(object, "JSONArray"); 101 * Creates a new {@code JSONArray} with values from the JSON string. 103 * @param json a JSON-encoded string containing an array. 107 public JSONArray(String json) throws JSONException { 108 this(new JSONTokener(json)); 150 values.add(JSON.checkDouble(value)); 194 JSON.checkDouble(((Number) value).doubleValue()) [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
encodedstreamtest.cpp | 30 json_ = ReadFile("utf8.json", true, &length_);
252 TestEncodedInputStream<UTF8<>, UTF8<> >("utf8.json");
253 TestEncodedInputStream<UTF8<>, UTF8<> >("utf8bom.json");
254 TestEncodedInputStream<UTF16LE<>, UTF16<> >("utf16le.json");
255 TestEncodedInputStream<UTF16LE<>, UTF16<> >("utf16lebom.json");
256 TestEncodedInputStream<UTF16BE<>, UTF16<> >("utf16be.json");
257 TestEncodedInputStream<UTF16BE<>, UTF16<> >("utf16bebom.json");
258 TestEncodedInputStream<UTF32LE<>, UTF32<> >("utf32le.json");
259 TestEncodedInputStream<UTF32LE<>, UTF32<> >("utf32lebom.json");
260 TestEncodedInputStream<UTF32BE<>, UTF32<> >("utf32be.json");
278 const char json[] = "{ }"; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
MetadataEntryParser.java | 22 import org.json.JSONArray; 23 import org.json.JSONException; 24 import org.json.JSONObject; 238 throw new IllegalArgumentException("JSON Exception.", e); 273 throw new IllegalArgumentException("JSON Exception.", e);
|
/external/autotest/frontend/client/src/autotest/afe/ |
HostSelector.java | 17 import com.google.gwt.json.client.JSONArray; 18 import com.google.gwt.json.client.JSONNumber; 19 import com.google.gwt.json.client.JSONObject; 20 import com.google.gwt.json.client.JSONString;
|
/external/autotest/frontend/client/src/autotest/common/ |
PaddedJsonRpcProxy.java | 7 import com.google.gwt.json.client.JSONObject; 14 * JsonRpcProxy that uses "JSON with Padding" (JSONP) to make requests. This allows it to get
|
/external/autotest/frontend/client/src/autotest/tko/ |
ExistingGraphsFrontend.java | 15 import com.google.gwt.json.client.JSONArray; 16 import com.google.gwt.json.client.JSONObject; 17 import com.google.gwt.json.client.JSONString; 18 import com.google.gwt.json.client.JSONValue;
|
/external/autotest/scheduler/shard/ |
simple_heartbeat_client.py | 26 from json import decoder 87 @return: The json decoded heartbeat.
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
trace_event.py | 161 "./" + sys.argv[0] + ".json"
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
base_config.py | 5 import json 21 Initiated with a json file in the following format: 81 file_path: Path to a file containing a json dictionary in the expected 82 json format for this config class. Base format expected: 106 config_data = json.load(f) 293 curr_config_data = json.load(fstream) 374 json.dump(
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/beanstalk/ |
exception.py | 2 from boto.compat import json
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sns/ |
connection.py | 28 from boto.compat import json 231 plain text will be sent. If set to ``json``, 232 your message should be a JSON string that 302 email|email-json|http|https|sqs|sms|application 308 * For email-json, this would be a valid email address 332 * A JSON policy document is contructed that grants permission to 334 * This JSON policy is then associated with the SQS queue using 352 policy = json.loads(attr['Policy']) 371 queue.set_attribute('Policy', json.dumps(policy)) 755 params['ContentType'] = 'JSON' [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/swf/ |
layer1.py | 32 from boto.compat import json 117 json_input = json.dumps(data) 126 'Content-Type': 'application/json; charset=UTF-8', 137 return json.loads(response_body, object_hook=object_hook) 141 json_body = json.loads(response_body) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/awslambda/ |
test_awslambda.py | 27 from boto.compat import json
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
Cookie.java | 1 package com.google.polo.json; 4 Copyright (c) 2002 JSON.org 29 * JSON and Cookies are both notations for name/value pairs. 30 * @author JSON.org
|
HTTP.java | 1 package com.google.polo.json; 4 Copyright (c) 2002 JSON.org 31 * @author JSON.org 54 * the HTTP field names as JSON names, so that <pre>
|