Searched refs:jsonObject (Results 1 - 6 of 6) sorted by relevance
/external/v8/test/webkit/resources/ |
H A D | 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 [all...] |
/external/vogar/src/vogar/monitor/ |
H A D | TargetMonitor.java | 68 JsonObject jsonObject = new JsonObject(); 69 jsonObject.addProperty("outcome", outcomeName); 71 jsonObject.addProperty("runner", runnerClass.getName()); 73 writer.print(marker + gson.toJson(jsonObject) + "\n"); 81 JsonObject jsonObject = new JsonObject(); 82 jsonObject.addProperty("result", result.name()); 83 writer.print(marker + gson.toJson(jsonObject) + "\n"); 91 JsonObject jsonObject = new JsonObject(); 92 jsonObject.addProperty("completedNormally", completedNormally); 93 writer.print(marker + gson.toJson(jsonObject) [all...] |
H A D | HostMonitor.java | 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()); 136 } else if (jsonObject.get("completedNormally") != null) { 137 completedNormally = jsonObject.get("completedNormally").getAsBoolean();
|
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
H A D | MethodDescriptor.java | 246 public static Object buildIntent(JSONObject jsonObject) throws JSONException { argument 248 if (jsonObject.has("action")) { 249 intent.setAction(jsonObject.getString("action")); 251 if (jsonObject.has("data") && jsonObject.has("type")) { 252 intent.setDataAndType(Uri.parse(jsonObject.optString("data", null)), 253 jsonObject.optString("type", null)); 254 } else if (jsonObject.has("data")) { 255 intent.setData(Uri.parse(jsonObject.optString("data", null))); 256 } else if (jsonObject [all...] |
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
H A D | ARDWebSocketChannel.m | 139 id jsonObject = [NSJSONSerialization JSONObjectWithData:messageData 142 if (![jsonObject isKindOfClass:[NSDictionary class]]) { 143 RTCLogError(@"Unexpected message: %@", jsonObject); 146 NSDictionary *wssMessage = jsonObject;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
H A D | AndroidFacade.java | 294 private static void putNestedJSONObject(JSONObject jsonObject, Bundle bundle) argument 296 JSONArray names = jsonObject.names(); 299 Object data = jsonObject.get(name);
|
Completed in 655 milliseconds