HomeSort by relevance Sort by last modified time
    Searched full:jsonobject (Results 1 - 25 of 234) sorted by null

1 2 3 4 5 6 7 8 910

  /external/v8/test/webkit/resources/
JSON-stringify.js 44 result.push(function(jsonObject){
45 return jsonObject.stringify(1);
47 result.push(function(jsonObject){
48 return jsonObject.stringify(1.5);
50 result.push(function(jsonObject){
51 return jsonObject.stringify(-1);
53 result.push(function(jsonObject){
54 return jsonObject.stringify(-1.5);
56 result.push(function(jsonObject){
57 return jsonObject.stringify(null)
    [all...]
  /external/v8/test/webkit/
run-json-stringify-expected.txt 1 function (jsonObject){
2 return jsonObject.stringify(1);
5 function (jsonObject){
6 return jsonObject.stringify(1.5);
9 function (jsonObject){
10 return jsonObject.stringify(-1);
13 function (jsonObject){
14 return jsonObject.stringify(-1.5);
17 function (jsonObject){
18 return jsonObject.stringify(null)
    [all...]
  /libcore/json/src/test/java/org/json/
JSONObjectTest.java 40 JSONObject object = new JSONObject();
109 JSONObject a = new JSONObject();
110 JSONObject b = new JSONObject();
118 JSONObject object = new JSONObject();
142 JSONObject object = new JSONObject();
    [all...]
  /external/vogar/src/vogar/monitor/
TargetMonitor.java 20 import com.google.gson.JsonObject;
68 JsonObject jsonObject = new JsonObject();
69 jsonObject.addProperty("outcome", outcomeName);
71 jsonObject.addProperty("runner", runner.getClass().getName());
73 writer.print(marker + gson.toJson(jsonObject) + "\n");
81 JsonObject jsonObject = new JsonObject();
    [all...]
HostMonitor.java 20 import com.google.gson.JsonObject;
123 } else if (o instanceof JsonObject) {
124 JsonObject jsonObject = (JsonObject) o;
125 if (jsonObject.get("outcome") != null) {
126 currentOutcome = jsonObject.get("outcome").getAsString();
128 JsonElement runner = jsonObject.get("runner");
131 } else if (jsonObject.get("result") != null) {
132 Result currentResult = Result.valueOf(jsonObject.get("result").getAsString())
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java 25 import com.google.polo.json.JSONObject;
107 * @param outerMessage a {@link JSONObject} corresponding to the
110 * @throws PoloException on error parsing the {@link JSONObject}
112 public static PoloMessage outerJsonToPoloMessage(JSONObject outerMessage)
114 JSONObject payload;
159 * @throws PoloException on error parsing the {@link JSONObject}
161 static PairingRequestMessage getPairingRequest(JSONObject body)
181 static PairingRequestAckMessage getPairingRequestAck(JSONObject body)
199 * @throws PoloException on error parsing the {@link JSONObject}
201 static OptionsMessage getOptionsMessage(JSONObject body
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
JsonObjectRequest.java 26 import org.json.JSONObject;
31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an
32 * optional {@link JSONObject} to be passed in as part of the request body.
34 public class JsonObjectRequest extends JsonRequest<JSONObject> {
40 * @param jsonRequest A {@link JSONObject} to post with the request. Null is allowed and
45 public JsonObjectRequest(int method, String url, JSONObject jsonRequest,
46 Listener<JSONObject> listener, ErrorListener errorListener) {
55 * @see #JsonObjectRequest(int, String, JSONObject, Listener, ErrorListener)
57 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java 23 import com.google.polo.json.JSONObject;
129 JSONObject outerMessage;
136 JSONObject payload;
185 * NOTE(mikey): These methods are implemented in terms of JSONObject
204 * @throws PoloException on error parsing the {@link JSONObject}
206 PairingRequestMessage getPairingRequest(JSONObject body)
209 JSONObject jsonObj = body.getJSONObject(
228 * @throws PoloException on error parsing the {@link JSONObject}
230 PairingRequestAckMessage getPairingRequestAck(JSONObject body)
233 JSONObject jsonObj = body.getJSONObject
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
JsonBackedSuggestionExtras.java 19 import org.json.JSONObject;
28 * SuggestionExtras taking values from a {@link JSONObject}.
33 private final JSONObject mExtras;
37 mExtras = new JSONObject(json);
46 mExtras = new JSONObject();
50 mExtras.put(column, value == null ? JSONObject.NULL : value);
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
CookieList.java 30 * Convert a web browser cookie list string to a JSONObject and back.
37 * Convert a cookie list into a JSONObject. A cookie list is a sequence
46 * @return A JSONObject
49 public static JSONObject toJSONObject(String string) throws JSONException {
50 JSONObject o = new JSONObject();
63 * Convert a JSONObject into a cookie list. A cookie list is a sequence
67 * @param o A JSONObject
71 public static String toString(JSONObject o) throws JSONException {
Cookie.java 28 * Convert a web browser cookie specification to a JSONObject and back.
67 * Convert a cookie specification string into a JSONObject. The string
75 * a JSONObject.
77 * @return A JSONObject containing "name", "value", and possibly other
81 public static JSONObject toJSONObject(String string) throws JSONException {
83 JSONObject o = new JSONObject();
109 * Convert a JSONObject into a cookie specification string. The JSONObject
111 * If the JSONObject contains "expires", "domain", "path", or "secure
    [all...]
JSONObject.java 39 * A JSONObject is an unordered collection of name/value pairs. Its
45 * <code>Boolean</code>, <code>JSONArray</code>, <code>JSONObject</code>,
46 * <code>Number</code>, <code>String</code>, or the <code>JSONObject.NULL</code>
47 * object. A JSONObject constructor can be used to convert an external form
62 * myString = new JSONObject().put("JSON", "Hello, World!").toString();</pre>
89 public class JSONObject {
92 * JSONObject.NULL is equivalent to the value that JavaScript calls null,
111 * @return true if the object parameter is the JSONObject.NULL object
130 * The map where the JSONObject's properties are kept.
138 * <code>JSONObject.NULL.equals(null)</code> returns <code>true</code>
    [all...]
JSONML.java 32 * JSONObject, and to covert a JSONArray or JSONObject into an XML text using
55 JSONObject newjo = null;
133 newjo = new JSONObject();
169 newjo.accumulate(attribute, JSONObject.stringToValue((String)token));
222 JSONObject.stringToValue((String)token) : token);
233 * attributes, then the second element will be JSONObject containing the
250 * attributes, then the second element will be JSONObject containing the
266 * JSONObject using the JsonML transform. Each XML tag is represented as
267 * a JSONObject with a "tagName" property. If the tag has attributes, then
    [all...]
  /frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
BluetoothPbapCard.java 26 import org.json.JSONObject;
64 JSONObject json = new JSONObject();
82 JSONObject json = new JSONObject();
103 JSONObject jsonPhone = new JSONObject();
125 JSONObject jsonEmail = new JSONObject();
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
IncludedDependenciesTest.java 3 import org.json.JSONObject;
17 assertEquals("value", new JSONObject("{'name':'value'}").getString("name"));
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
BackupSharedPreference.java 20 import org.json.JSONObject;
30 JSONObject toJson() throws JSONException;
  /development/samples/Vault/tests/src/com/example/android/vault/
EncryptedDocumentTest.java 24 import org.json.JSONObject;
123 final JSONObject before = new JSONObject();
128 final JSONObject after = doc.readMetadata();
162 final JSONObject before = new JSONObject();
167 final JSONObject after = doc.readMetadata();
183 final JSONObject meta1 = new JSONObject();
199 final JSONObject before = new JSONObject()
    [all...]
  /developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 22 import org.json.JSONObject;
37 public static JSONObject loadJsonFile(Context context, String fileName) throws IOException,
45 return new JSONObject(jsonString);
  /developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 22 import org.json.JSONObject;
37 public static JSONObject loadJsonFile(Context context, String fileName) throws IOException,
45 return new JSONObject(jsonString);
  /development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
JsonUtils.java 22 import org.json.JSONObject;
37 public static JSONObject loadJsonFile(Context context, String fileName) throws IOException,
45 return new JSONObject(jsonString);
  /frameworks/av/drm/mediadrm/plugins/clearkey/
JsonWebKey.h 50 bool findKey(const String8& jsonObject, String8* keyId,
53 bool isJsonWebKeySet(const String8& jsonObject) const;
54 bool parseJsonObject(const String8& jsonObject, Vector<String8>* tokens);
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
AssetMatcherFactory.java 20 import org.json.JSONObject;
32 JSONObject queryObject = new JSONObject(query);

Completed in 877 milliseconds

1 2 3 4 5 6 7 8 910