Home
last modified time | relevance | path

Searched refs:jsonObject (Results 1 – 6 of 6) sorted by relevance

/external/vogar/src/vogar/monitor/
DTargetMonitor.java67 JsonObject jsonObject = new JsonObject();
68 jsonObject.addProperty("outcome", outcomeName);
69 writer.print(marker + gson.toJson(jsonObject) + "\n");
77 JsonObject jsonObject = new JsonObject();
78 jsonObject.addProperty("result", result.name());
79 writer.print(marker + gson.toJson(jsonObject) + "\n");
87 JsonObject jsonObject = new JsonObject();
88 jsonObject.addProperty("completedNormally", completedNormally);
89 writer.print(marker + gson.toJson(jsonObject) + "\n");
DHostMonitor.java123 JsonObject jsonObject = (JsonObject) o; in followProcess() local
124 if (jsonObject.get("outcome") != null) { in followProcess()
125 currentOutcome = jsonObject.get("outcome").getAsString(); in followProcess()
128 } else if (jsonObject.get("result") != null) { in followProcess()
129 Result currentResult = Result.valueOf(jsonObject.get("result").getAsString()); in followProcess()
133 } else if (jsonObject.get("completedNormally") != null) { in followProcess()
134 completedNormally = jsonObject.get("completedNormally").getAsBoolean(); in followProcess()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java243 public static Object buildIntent(JSONObject jsonObject) throws JSONException { in buildIntent() argument
245 if (jsonObject.has("action")) { in buildIntent()
246 intent.setAction(jsonObject.getString("action")); in buildIntent()
248 if (jsonObject.has("data") && jsonObject.has("type")) { in buildIntent()
249 intent.setDataAndType(Uri.parse(jsonObject.optString("data", null)), in buildIntent()
250 jsonObject.optString("type", null)); in buildIntent()
251 } else if (jsonObject.has("data")) { in buildIntent()
252 intent.setData(Uri.parse(jsonObject.optString("data", null))); in buildIntent()
253 } else if (jsonObject.has("type")) { in buildIntent()
254 intent.setType(jsonObject.optString("type", null)); in buildIntent()
[all …]
/external/v8/src/inspector/
Dv8-value-utils.cc64 std::unique_ptr<protocol::DictionaryValue> jsonObject = in toProtocolValue() local
93 jsonObject->setValue( in toProtocolValue()
97 *result = std::move(jsonObject); in toProtocolValue()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DARDWebSocketChannel.m139 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/
DAndroidFacade.java297 private static void putNestedJSONObject(JSONObject jsonObject, Bundle bundle) in putNestedJSONObject() argument
299 JSONArray names = jsonObject.names(); in putNestedJSONObject()
302 Object data = jsonObject.get(name); in putNestedJSONObject()