Searched refs:jsonArray (Results 1 – 10 of 10) sorted by relevance
/external/gson/gson/src/test/java/com/google/gson/ |
D | JsonArrayTest.java | 135 JsonArray jsonArray = new JsonArray(); in testFailedGetArrayValues() local 136 …jsonArray.add(JsonParser.parseString("{" + "\"key1\":\"value1\"," + "\"key2\":\"value2\"," + "\"ke… in testFailedGetArrayValues() 138 jsonArray.getAsBoolean(); in testFailedGetArrayValues() 145 jsonArray.get(-1); in testFailedGetArrayValues() 152 jsonArray.getAsString(); in testFailedGetArrayValues() 159 jsonArray.remove(0); in testFailedGetArrayValues() 160 jsonArray.add("hello"); in testFailedGetArrayValues() 162 jsonArray.getAsDouble(); in testFailedGetArrayValues() 169 jsonArray.getAsInt(); in testFailedGetArrayValues() 176 jsonArray.get(0).getAsJsonArray(); in testFailedGetArrayValues() [all …]
|
/external/gson/gson/src/test/java/com/google/gson/internal/bind/ |
D | JsonTreeReaderTest.java | 43 JsonArray jsonArray = new JsonArray(); in testSkipValue_filledJsonObject() local 44 jsonArray.add('c'); in testSkipValue_filledJsonObject() 45 jsonArray.add("text"); in testSkipValue_filledJsonObject() 46 jsonObject.add("a", jsonArray); in testSkipValue_filledJsonObject()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/builder/ |
D | BuilderDeserializationTest2486.java | 33 public Builder(final List<Object> jsonArray) { in Builder() argument 34 withIndex((int) jsonArray.get(0)); in Builder()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | DirectRTCClient.java | 207 JSONArray jsonArray = new JSONArray(); in sendLocalIceCandidateRemovals() 209 jsonArray.put(toJsonCandidate(candidate)); in sendLocalIceCandidateRemovals() 211 jsonPut(json, "candidates", jsonArray); in sendLocalIceCandidateRemovals()
|
D | WebSocketRTCClient.java | 264 JSONArray jsonArray = new JSONArray(); in sendLocalIceCandidateRemovals() 266 jsonArray.put(toJsonCandidate(candidate)); in sendLocalIceCandidateRemovals() 268 jsonPut(json, "candidates", jsonArray); in sendLocalIceCandidateRemovals()
|
D | ConnectActivity.java | 184 JSONArray jsonArray = new JSONArray(roomListJson); in onResume() local 185 for (int i = 0; i < jsonArray.length(); i++) { in onResume() 186 roomList.add(jsonArray.get(i).toString()); in onResume()
|
/external/ot-br-posix/src/openwrt/ubus/ |
D | otubus.cpp | 739 void * jsonArray = nullptr; in UbusParentHandlerDetail() local 746 jsonArray = blobmsg_open_array(&mBuf, "parent_list"); in UbusParentHandlerDetail() 762 blobmsg_close_array(&mBuf, jsonArray); in UbusParentHandlerDetail() 1201 void * jsonArray = nullptr; in UbusGetInformation() local 1209 jsonArray = blobmsg_open_array(&mBuf, "joinerList"); in UbusGetInformation() 1239 blobmsg_close_array(&mBuf, jsonArray); in UbusGetInformation() 1319 void * jsonArray = nullptr; in HandleDiagnosticGetResponse() local 1347 jsonArray = blobmsg_open_array(&mNetworkdataBuf, "routedata"); in HandleDiagnosticGetResponse() 1364 blobmsg_close_array(&mNetworkdataBuf, jsonArray); in HandleDiagnosticGetResponse() 1370 jsonArray = blobmsg_open_array(&mNetworkdataBuf, "childdata"); in HandleDiagnosticGetResponse() [all …]
|
/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_NvExtend.c | 405 json_object *jsonArray = json_object_new_array(); in Fapi_NvExtend_Finish() local 406 json_object_array_add(jsonArray, command->jso_event_log); in Fapi_NvExtend_Finish() 407 command->jso_event_log = jsonArray; in Fapi_NvExtend_Finish()
|
/external/gson/gson/src/test/java/com/google/gson/functional/ |
D | ParameterizedTypesTest.java | 539 JsonArray jsonArray = new JsonArray(); in testGsonFromJsonTypeToken() local 540 jsonArray.add(jsonObject); in testGsonFromJsonTypeToken() 542 assertCorrectlyDeserialized(gson.fromJson(jsonArray, typeToken)); in testGsonFromJsonTypeToken() 543 assertCorrectlyDeserialized(gson.fromJson(jsonArray, type)); in testGsonFromJsonTypeToken()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothConnectionFacade.java | 391 private List<Integer> jsonArrayToIntegerList(JSONArray jsonArray) throws JSONException { in jsonArrayToIntegerList() argument 392 if (jsonArray == null) { in jsonArrayToIntegerList() 396 for (int i = 0; i < jsonArray.length(); i++) { in jsonArrayToIntegerList() 397 intArray.add(jsonArray.getInt(i)); in jsonArrayToIntegerList()
|