Searched refs:jsonObject (Results 1 – 6 of 6) sorted by relevance
/external/vogar/src/vogar/monitor/ |
D | TargetMonitor.java | 67 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");
|
D | HostMonitor.java | 123 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/ |
D | MethodDescriptor.java | 245 public static Object buildIntent(JSONObject jsonObject) throws JSONException { in buildIntent() argument 247 if (jsonObject.has("action")) { in buildIntent() 248 intent.setAction(jsonObject.getString("action")); in buildIntent() 250 if (jsonObject.has("data") && jsonObject.has("type")) { in buildIntent() 251 intent.setDataAndType(Uri.parse(jsonObject.optString("data", null)), in buildIntent() 252 jsonObject.optString("type", null)); in buildIntent() 253 } else if (jsonObject.has("data")) { in buildIntent() 254 intent.setData(Uri.parse(jsonObject.optString("data", null))); in buildIntent() 255 } else if (jsonObject.has("type")) { in buildIntent() 256 intent.setType(jsonObject.optString("type", null)); in buildIntent() [all …]
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
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/v8/src/inspector/ |
D | v8-value-copier.cc | 130 std::unique_ptr<protocol::DictionaryValue> jsonObject = in toProtocolValue() local 157 jsonObject->setValue(toProtocolString(propertyName), in toProtocolValue() 160 *result = std::move(jsonObject); in toProtocolValue()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | AndroidFacade.java | 297 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()
|