HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 876 - 900 of 1526) sorted by null

<<31323334353637383940>>

  /external/libweave/src/privet/
privet_handler_unittest.cc 12 #include <base/json/json_reader.h>
13 #include <base/json/json_writer.h>
39 std::string json = test_json; local
40 base::ReplaceChars(json, "'", "\"", &json);
44 base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, &error,
47 EXPECT_TRUE(value.get()) << "\nError: " << message << "\n" << json; local
73 // Some error sections in response JSON objects contained debugging information
75 // JSON before running validation logic on it.
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/json/
decode.go 5 // Represents JSON data structure using native Go types: booleans, floats,
8 package json package
24 // Unmarshal parses the JSON-encoded data and stores the result
31 // To unmarshal JSON into a pointer, Unmarshal first handles the case of
32 // the JSON being the JSON literal null. In that case, Unmarshal sets
33 // the pointer to nil. Otherwise, Unmarshal unmarshals the JSON into
37 // To unmarshal JSON into a struct, Unmarshal matches incoming object
41 // To unmarshal JSON into an interface value,
44 // bool, for JSON boolean
    [all...]
  /prebuilts/go/linux-x86/src/encoding/json/
decode.go 5 // Represents JSON data structure using native Go types: booleans, floats,
8 package json package
24 // Unmarshal parses the JSON-encoded data and stores the result
31 // To unmarshal JSON into a pointer, Unmarshal first handles the case of
32 // the JSON being the JSON literal null. In that case, Unmarshal sets
33 // the pointer to nil. Otherwise, Unmarshal unmarshals the JSON into
37 // To unmarshal JSON into a struct, Unmarshal matches incoming object
41 // To unmarshal JSON into an interface value,
44 // bool, for JSON boolean
    [all...]
  /cts/apps/CameraITS/tests/sensor_fusion/
test_sensor_fusion.py 25 import json
317 events = json.loads(f.read())
376 f.write(json.dumps(events))
  /cts/tests/tests/media/src/android/media/cts/
ClearKeySystemTest.java 48 import org.json.JSONArray;
49 import org.json.JSONException;
50 import org.json.JSONObject;
137 Log.e(TAG, "Invalid JSON license = " + jsonLicenseRequest);
144 * Creates the JSON Web Key string.
146 * @return JSON Web Key string.
162 * Retrieves clear key ids from getKeyRequest(), create JSON Web Key
  /external/autotest/client/cros/
enterprise_policy_base.py 5 import json
221 @param policies_json: JSON string to set up the fake DMS policy value.
279 chrome://policies page. Before comparing, convert both values to JSON
286 @param policies_json: JSON string to set up the fake DMS policy value.
291 # Convert Python None or '' to JSON formatted 'null' string.
305 """Create policy blob from policies JSON object.
307 @param policies_json: Policies JSON object (name-value pairs).
321 }""" % (json.dumps(policies_json), self.USERNAME)
332 @param policies_json: The policy JSON data (name-value pairs).
368 @param policies_json: setup policy JSON data (name-value pairs)
    [all...]
  /external/autotest/tko/
parse.py 4 import json
329 # Update the gs_offloader_instructions json file.
335 gs_offloader_instructions = json.load(f)
339 json.dump(gs_offloader_instructions, f)
  /external/chromium-trace/catapult/dashboard/dashboard/
update_bug_with_results_test.py 7 import json
134 200, json.dumps(json.loads(_ISSUE_RESPONSE))
  /external/chromium-trace/catapult/third_party/coverage/coverage/
html.py 7 import json
305 STATUS_FILE = "status.json"
350 status = json.load(fstatus)
384 json.dump(status, fout)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
mturk 29 from boto.compat import json
93 return json.load(o)
124 json.dump(nicknames, o, sort_keys = True, indent = 4)
301 print json.dumps(assignments, sort_keys = True, indent = 4)
371 help = 'path to JSON configuration file for the HIT')
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2containerservice/
layer1.py 24 from boto.compat import json
524 :param container_definitions: A list of container definitions in JSON
736 params['ContentType'] = 'JSON'
742 return json.loads(body)
744 json_body = json.loads(body)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch/
test_search.py 6 import json
63 body = json.dumps(body).encode('utf-8')
410 # First, in the case of a non-JSON, non-403 error.
415 self.assertTrue('non-json response' in str(cm.exception))
418 # Then with JSON & an 'error' key within.
419 fake.content = json.dumps({
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch2/
test_search.py 8 import json
88 body = json.dumps(body).encode('utf-8')
357 # First, in the case of a non-JSON, non-403 error.
362 self.assertTrue('non-json response' in str(cm.exception))
365 # Then with JSON & an 'error' key within.
366 fake.content = json.dumps({
  /external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
property_range.py 219 def from_json(cls, json):
220 return cls(json["filters"], json["model_class_path"])
  /external/skia/
PRESUBMIT.py 215 json_url: url to download json style status.
222 status = input_api.json.loads(connection.read())
238 sheriff_details = input_api.json.loads(connection.read())
523 SKIA_TREE_STATUS_URL + '/banner-status?format=json')))
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ContactsFacade.java 35 import org.json.JSONArray;
36 import org.json.JSONException;
37 import org.json.JSONObject;
  /external/v8/src/debug/
debug.js 15 var JSONParse = global.JSON.parse;
16 var JSONStringify = global.JSON.stringify;
76 JSON: 2 };
    [all...]
  /external/v8/tools/testrunner/local/
progress.py 30 import json
330 complete_results = json.loads(f.read() or "[]")
352 f.write(json.dumps(complete_results))
  /external/v8/tools/unittests/
run_perf_test.py 8 import json
114 self._test_input = path.join(TEST_WORKSPACE, "test.json")
116 f.write(json.dumps(json_content))
138 self._test_output = path.join(TEST_WORKSPACE, "results.json")
140 "--json-test-results",
149 return json.load(f)
435 test_output_no_patch = path.join(TEST_WORKSPACE, "results_no_patch.json")
438 "--json-test-results-no-patch", test_output_no_patch,
  /frameworks/base/services/core/java/com/android/server/pm/
ShortcutUser.java 35 import org.json.JSONArray;
36 import org.json.JSONException;
37 import org.json.JSONObject;
  /libcore/json/src/main/java/org/json/
JSONObject.java 17 package org.json;
26 // Note: this class was written without inspecting the non-free org.json sourcecode.
92 * <li>are included in the encoded JSON string.
160 throw JSON.typeMismatch(object, "JSONObject");
165 * Creates a new {@code JSONObject} with name/value mappings from the JSON
168 * @param json a JSON-encoded string containing an object.
172 public JSONObject(String json) throws JSONException {
173 this(new JSONTokener(json));
218 nameValuePairs.put(checkName(name), JSON.checkDouble(value))
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java 48 import org.json.JSONArray;
49 import org.json.JSONException;
50 import org.json.JSONObject;
  /cts/apps/CameraITS/pymodules/its/
objects.py 19 import json
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DynamicConfigPusher.java 34 import org.json.JSONException;
110 "Cannot download and parse json config from URL " + requestUrl);
  /cts/libs/json/src/com/android/json/stream/
JsonWriter.java 17 package com.android.json.stream;
26 * Writes a JSON (<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>)
31 * <h3>Encoding JSON</h3>
32 * To encode your data as JSON, create a new {@code JsonWriter}. Each JSON
53 * "text": "How do I write JSON on Android?",
116 * <p>Each {@code JsonWriter} may be used to write a single JSON stream.
118 * malformed JSON string will fail with an {@link IllegalStateException}.
142 * Creates a new instance that writes a JSON-encoded stream to {@code out}.
343 * @throws IOException if the JSON document is incomplete
    [all...]

Completed in 1937 milliseconds

<<31323334353637383940>>