Searched refs:jsonObject (Results 1 – 7 of 7) 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/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/ |
D | JavaParserJsonDeserializer.java | 51 JsonObject jsonObject = reader.readObject(); in deserializeObject() local 52 return deserializeObject(jsonObject); in deserializeObject() 147 JsonObject jsonObject = (JsonObject)jsonValue; in readRange() local 149 jsonObject.getInt(JsonRange.BEGIN_LINE.propertyKey), in readRange() 150 jsonObject.getInt(JsonRange.BEGIN_COLUMN.propertyKey) in readRange() 153 jsonObject.getInt(JsonRange.END_LINE.propertyKey), in readRange() 154 jsonObject.getInt(JsonRange.END_COLUMN.propertyKey) in readRange() 164 JsonObject jsonObject = (JsonObject)jsonValue; in readTokenRange() local 166 JsonTokenRange.BEGIN_TOKEN.propertyKey, jsonObject in readTokenRange() 169 JsonTokenRange.END_TOKEN.propertyKey, jsonObject in readTokenRange() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
D | MethodDescriptor.java | 243 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/perfetto/ui/src/frontend/ |
D | record_config.ts | 40 static isValid(jsonObject: object): jsonObject is NamedRecordConfig { 41 return (jsonObject as NamedRecordConfig).title !== undefined && 42 (jsonObject as NamedRecordConfig).config !== undefined && 43 (jsonObject as NamedRecordConfig).key !== undefined;
|
/external/webrtc/examples/objc/AppRTCMobile/ |
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/ |
D | AndroidFacade.java | 299 private static void putNestedJSONObject(JSONObject jsonObject, Bundle bundle) in putNestedJSONObject() argument 301 JSONArray names = jsonObject.names(); in putNestedJSONObject() 304 Object data = jsonObject.get(name); in putNestedJSONObject()
|