Home
last modified time | relevance | path

Searched refs:JSONObject (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DJSONUtil.java11 import org.json.JSONObject;
22 if (JSONObject.NULL.equals(o) || o == null) { in unwrap()
45 if (o instanceof JSONObject) { in unwrap()
47 JSONObject jsonObject = (JSONObject) o; in unwrap()
66 return JSONObject.NULL; in wrap()
68 if (o instanceof JSONArray || o instanceof JSONObject) { in wrap()
71 if (o.equals(JSONObject.NULL)) { in wrap()
88 JSONObject result = new JSONObject(); in wrap()
DJSONMethodCodec.java10 import org.json.JSONObject;
32 final JSONObject map = new JSONObject(); in encodeMethodCall()
45 if (json instanceof JSONObject) { in decodeMethodCall()
46 final JSONObject map = (JSONObject) json; in decodeMethodCall()
99 return (value == JSONObject.NULL) ? null : value; in unwrapNull()
DMethodCall.java9 import org.json.JSONObject;
75 } else if (arguments instanceof JSONObject) { in argument()
76 return (T) ((JSONObject) arguments).opt(key); in argument()
99 } else if (arguments instanceof JSONObject) { in hasArgument()
100 return ((JSONObject) arguments).has(key); in hasArgument()
DJSONMessageCodec.java9 import org.json.JSONObject;
39 return StringCodec.INSTANCE.encodeMessage(JSONObject.quote((String) wrapped)); in encodeMessage()
/third_party/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/
DReceiver.java33 import org.json.JSONObject;
104 JSONObject jsonObj = new JSONObject(rulesJSON); in parsePackageNames()
113 JSONObject rule = rules.getJSONObject(i); in parsePackageNames()
122 JSONObject app = apps.optJSONObject(j); in parsePackageNames()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DTextInputChannel.java9 import org.json.JSONObject;
67 final JSONObject jsonConfiguration = argumentList.getJSONObject(1);
82 final JSONObject editingState = (JSONObject) args;
264 …public static Configuration fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldEx… in fromJson()
344 …public static InputType fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldExcept… in fromJson()
424 public static TextEditState fromJson(@NonNull JSONObject textEditState) throws JSONException { in fromJson()
DPlatformChannel.java13 import org.json.JSONObject;
83 … AppSwitcherDescription description = decodeAppSwitcherDescription((JSONObject) arguments);
108 SystemChromeStyle systemChromeStyle = decodeSystemChromeStyle((JSONObject) arguments);
135 JSONObject response = new JSONObject();
144 String clipboardContent = ((JSONObject) arguments).getString("text");
261 …private AppSwitcherDescription decodeAppSwitcherDescription(@NonNull JSONObject encodedDescription… in decodeAppSwitcherDescription()
301 …private SystemChromeStyle decodeSystemChromeStyle(@NonNull JSONObject encodedStyle) throws JSONExc… in decodeSystemChromeStyle()
/third_party/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java20 import org.json.JSONObject;
104 private void populateView(JSONObject item, View view) throws JSONException { in populateView()
160 private View inflateItemView(JSONObject item) throws JSONException { in inflateItemView()
174 JSONObject stateObject = mStateJson.getJSONObject(i); in updateDrawer()
/third_party/flutter/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java20 import org.json.JSONObject;
104 private void populateView(JSONObject item, View view) throws JSONException { in populateView()
160 private View inflateItemView(JSONObject item) throws JSONException { in inflateItemView()
174 JSONObject stateObject = mStateJson.getJSONObject(i); in updateDrawer()
/third_party/python/Lib/json/
Ddecoder.py136 def JSONObject(s_and_end, strict, scan_once, object_hook, object_pairs_hook, function
325 self.parse_object = JSONObject
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/view/
DResourceExtractor.java22 import org.json.JSONObject;
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/app/
DFlutterActivityDelegate.java35 import org.json.JSONObject;