Home
last modified time | relevance | path

Searched refs:JSONArray (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DJSONUtil.java10 import org.json.JSONArray;
37 if (o instanceof JSONArray) { in unwrap()
39 JSONArray array = (JSONArray) o; in unwrap()
68 if (o instanceof JSONArray || o instanceof JSONObject) { in wrap()
76 JSONArray result = new JSONArray(); in wrap()
81 JSONArray result = new JSONArray(); in wrap()
DJSONMethodCodec.java8 import org.json.JSONArray;
62 .encodeMessage(new JSONArray().put(JSONUtil.wrap(result))); in encodeSuccessEnvelope()
68 return JSONMessageCodec.INSTANCE.encodeMessage(new JSONArray() in encodeErrorEnvelope()
78 if (json instanceof JSONArray) { in decodeEnvelope()
79 final JSONArray array = (JSONArray) json; in decodeEnvelope()
/third_party/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java18 import org.json.JSONArray;
46 private JSONArray mStateJson;
51 mStateJson = new JSONArray("[{\"name\": \"Please\", " + in StateAdapter()
60 mStateJson = new JSONArray(stateJson); in setState()
116 JSONArray options = item.getJSONArray(OPTIONS); in populateView()
/third_party/flutter/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java18 import org.json.JSONArray;
46 private JSONArray mStateJson;
51 mStateJson = new JSONArray("[{\"name\": \"Please\", " + in StateAdapter()
60 mStateJson = new JSONArray(stateJson); in setState()
116 JSONArray options = item.getJSONArray(OPTIONS); in populateView()
/third_party/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/
DReceiver.java31 import org.json.JSONArray;
105 JSONArray rules = jsonObj.getJSONArray("Rules"); in parsePackageNames()
114 JSONArray apps = rule.optJSONArray("Applications"); in parsePackageNames()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DPlatformChannel.java11 import org.json.JSONArray;
72 int androidOrientation = decodeOrientations((JSONArray) arguments);
93 List<SystemUiOverlay> overlays = decodeSystemUiOverlays((JSONArray) arguments);
188 …private int decodeOrientations(@NonNull JSONArray encodedOrientations) throws JSONException, NoSuc… in decodeOrientations()
277 …private List<SystemUiOverlay> decodeSystemUiOverlays(@NonNull JSONArray encodedSystemUiOverlay) th… in decodeSystemUiOverlays()
DTextInputChannel.java7 import org.json.JSONArray;
65 final JSONArray argumentList = (JSONArray) args;
/third_party/python/Lib/json/
Ddecoder.py217 def JSONArray(s_and_end, scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR): function
326 self.parse_array = JSONArray