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

12 3 4 5 6 7 8 91011>>

  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
scrape_gtest_log.py 9 """Standalone script which parses a gtest log for json.
11 Json is returned returns as an array. This script is used by the libvpx
12 waterfall to gather json results mixed in with gtest logs. This is
16 import json
25 print json.dumps(json.loads(json_string), indent=4, sort_keys=True)
  /external/boringssl/src/ssl/test/runner/
test_output.go 18 "encoding/json"
23 // testOutput is a representation of Chromium's JSON test result format. See
24 // https://www.chromium.org/developers/the-json-test-results-format
26 Version int `json:"version"`
27 Interrupted bool `json:"interrupted"`
28 PathDelimiter string `json:"path_delimiter"`
29 SecondsSinceEpoch float64 `json:"seconds_since_epoch"`
30 NumFailuresByType map[string]int `json:"num_failures_by_type"`
31 Tests map[string]testResult `json:"tests"`
36 Actual string `json:"actual"
    [all...]
  /external/libchrome/base/trace_event/
trace_event_argument_unittest.cc 23 std::string json = "PREFIX"; local
24 value->AppendAsTraceFormat(&json);
27 json);
36 std::string json; local
37 value->AppendAsTraceFormat(&json);
40 json);
63 std::string json; local
64 value->AppendAsTraceFormat(&json);
69 json);
91 std::string json; local
124 std::string json; local
145 std::string json; local
    [all...]
  /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.
  /external/libweave/src/test/
unittest_utils.cc 7 #include <base/json/json_reader.h>
8 #include <base/json/json_writer.h>
14 std::unique_ptr<base::Value> CreateValue(const std::string& json) {
15 std::string json2(json);
24 CHECK(value) << "Failed to load JSON: " << message << ", " << json; local
29 std::string json; local
31 value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json);
32 return json;
36 const std::string& json) {
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapCard.java 24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
65 JSONObject json = new JSONObject();
68 json.put("handle", handle);
69 json.put("N", N);
70 json.put("lastName", lastName);
71 json.put("firstName", firstName);
72 json.put("middleName", middleName);
73 json.put("prefix", prefix)
    [all...]
  /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...]
  /frameworks/opt/bluetooth/src/android/bluetooth/client/map/
BluetoothMapMessage.java 20 import org.json.JSONException;
21 import org.json.JSONObject;
176 JSONObject json = new JSONObject(); local
179 json.put("handle", mHandle);
180 json.put("subject", mSubject);
181 json.put("datetime", mDateTime);
182 json.put("sender_name", mSenderName);
183 json.put("sender_addressing", mSenderAddressing);
184 json.put("replyto_addressing", mReplytoAddressing);
185 json.put("recipient_name", mRecipientName)
    [all...]
  /external/chromium-trace/catapult/dashboard/dashboard/
navbar.py 7 import json
18 self.response.out.write(json.dumps({
  /external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
monsoon_power_monitor_unittest.py 5 import json
19 json.dumps(data))
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
RangedNumericValue.java 4 import com.badlogic.gdx.utils.Json;
49 public void write (Json json) {
50 super.write(json);
51 json.writeValue("lowMin", lowMin);
52 json.writeValue("lowMax", lowMax);
56 public void read (Json json, JsonValue jsonData) {
57 super.read(json, jsonData);
58 lowMin = json.readValue("lowMin", float.class, jsonData)
    [all...]
ScaledNumericValue.java 4 import com.badlogic.gdx.utils.Json;
101 public void write (Json json) {
102 super.write(json);
103 json.writeValue("highMin", highMin);
104 json.writeValue("highMax", highMax);
105 json.writeValue("relative", relative);
106 json.writeValue("scaling", scaling);
107 json.writeValue("timeline", timeline);
111 public void read (Json json, JsonValue jsonData)
    [all...]
SpawnShapeValue.java 6 import com.badlogic.gdx.utils.Json;
11 public abstract class SpawnShapeValue extends ParticleValue implements ResourceData.Configurable, Json.Serializable{
50 public void write (Json json) {
51 super.write(json);
52 json.writeValue("xOffsetValue", xOffsetValue);
53 json.writeValue("yOffsetValue", yOffsetValue);
54 json.writeValue("zOffsetValue", zOffsetValue);
58 public void read (Json json, JsonValue jsonData)
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
simpledom.cpp 0 // JSON simple example
12 // 1. Parse a JSON string into DOM.
13 const char* json = "{\"project\":\"rapidjson\",\"stars\":10}"; local
15 d.Parse(json);
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
namespacetest.cpp 19 #define RAPIDJSON_NAMESPACE my::rapid::json
20 #define RAPIDJSON_NAMESPACE_BEGIN namespace my { namespace rapid { namespace json {
32 static const char json[] = "{\"hello\":\"world\",\"t\":true,\"f\":false,\"n\":null,\"i\":123,\"pi\":3.1416,\"a\":[1,2,3,4]}"; variable
39 doc.Parse(json);
50 StringStream s(json);
57 EXPECT_STREQ(json, buffer.GetString());
58 EXPECT_EQ(sizeof(json)-1, buffer.GetSize());
68 EXPECT_STREQ(json, buffer.GetString());
  /external/autotest/client/common_lib/cros/fake_device_server/client_lib/
fail_control.py 7 import json
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())
oauth.py 7 import json
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())
  /external/libbrillo/brillo/
value_conversion_unittest.cc 22 #include <base/json/json_reader.h>
23 #include <base/json/json_writer.h>
30 std::unique_ptr<base::Value> ParseValue(std::string json) {
31 std::replace(json.begin(), json.end(), '\'', '"');
34 base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC,nullptr,
37 CHECK(value) << "Failed to load JSON: " << message << ", " << json; local
  /prebuilts/gdb/darwin-x86/lib/python2.7/json/
tool.py 1 r"""Command-line tool to validate and pretty-print JSON
5 $ echo '{"json":"obj"}' | python -m json.tool
7 "json": "obj"
9 $ echo '{ 1.2:3.4}' | python -m json.tool
14 import json
30 obj = json.load(infile)
34 json.dump(obj, outfile, sort_keys=True,
  /prebuilts/gdb/linux-x86/lib/python2.7/json/
tool.py 1 r"""Command-line tool to validate and pretty-print JSON
5 $ echo '{"json":"obj"}' | python -m json.tool
7 "json": "obj"
9 $ echo '{ 1.2:3.4}' | python -m json.tool
14 import json
30 obj = json.load(infile)
34 json.dump(obj, outfile, sort_keys=True,
  /prebuilts/go/darwin-x86/src/cmd/go/
context.go 12 GOARCH string `json:",omitempty"` // target architecture
13 GOOS string `json:",omitempty"` // target operating system
14 GOROOT string `json:",omitempty"` // Go root
15 GOPATH string `json:",omitempty"` // Go path
16 CgoEnabled bool `json:",omitempty"` // whether cgo can be used
17 UseAllFiles bool `json:",omitempty"` // use files regardless of +build lines, file names
18 Compiler string `json:",omitempty"` // compiler to assume when computing target paths
19 BuildTags []string `json:",omitempty"` // build constraints to match in +build lines
20 ReleaseTags []string `json:",omitempty"` // releases the current release is compatible with
21 InstallSuffix string `json:",omitempty"` // suffix to use in the name of the install di
    [all...]
  /prebuilts/go/linux-x86/src/cmd/go/
context.go 12 GOARCH string `json:",omitempty"` // target architecture
13 GOOS string `json:",omitempty"` // target operating system
14 GOROOT string `json:",omitempty"` // Go root
15 GOPATH string `json:",omitempty"` // Go path
16 CgoEnabled bool `json:",omitempty"` // whether cgo can be used
17 UseAllFiles bool `json:",omitempty"` // use files regardless of +build lines, file names
18 Compiler string `json:",omitempty"` // compiler to assume when computing target paths
19 BuildTags []string `json:",omitempty"` // build constraints to match in +build lines
20 ReleaseTags []string `json:",omitempty"` // releases the current release is compatible with
21 InstallSuffix string `json:",omitempty"` // suffix to use in the name of the install di
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
tool.py 1 r"""Command-line tool to validate and pretty-print JSON
5 $ echo '{"json":"obj"}' | python -m json.tool
7 "json": "obj"
9 $ echo '{ 1.2:3.4}' | python -m json.tool
14 import json
30 obj = json.load(infile)
34 json.dump(obj, outfile, sort_keys=True,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/
tool.py 1 r"""Command-line tool to validate and pretty-print JSON
5 $ echo '{"json":"obj"}' | python -m json.tool
7 "json": "obj"
9 $ echo '{ 1.2:3.4}' | python -m json.tool
14 import json
30 obj = json.load(infile)
34 json.dump(obj, outfile, sort_keys=True,
  /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...]

Completed in 1212 milliseconds

12 3 4 5 6 7 8 91011>>