Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/core/inspector/
DTimelineRecordFactory.cpp47 …ricRecord(double startTime, int maxCallStackDepth, const String& type, PassRefPtr<JSONObject> data) in createGenericRecord()
62 …Record(double startTime, const String& threadName, const String& type, PassRefPtr<JSONObject> data) in createBackgroundRecord()
73 PassRefPtr<JSONObject> TimelineRecordFactory::createGCEventData(size_t usedHeapSizeDelta) in createGCEventData()
75 RefPtr<JSONObject> data = JSONObject::create(); in createGCEventData()
80 PassRefPtr<JSONObject> TimelineRecordFactory::createFunctionCallData(int scriptId, const String& sc… in createFunctionCallData()
82 RefPtr<JSONObject> data = JSONObject::create(); in createFunctionCallData()
89 PassRefPtr<JSONObject> TimelineRecordFactory::createEventDispatchData(const Event& event) in createEventDispatchData()
91 RefPtr<JSONObject> data = JSONObject::create(); in createEventDispatchData()
96 PassRefPtr<JSONObject> TimelineRecordFactory::createGenericTimerData(int timerId) in createGenericTimerData()
98 RefPtr<JSONObject> data = JSONObject::create(); in createGenericTimerData()
[all …]
DTimelineRecordFactory.h51 …icRecord(double startTime, int maxCallStackDepth, const String& type, PassRefPtr<JSONObject> data);
52 …undRecord(double startTime, const String& thread, const String& type, PassRefPtr<JSONObject> data);
54 static PassRefPtr<JSONObject> createGCEventData(size_t usedHeapSizeDelta);
55 …static PassRefPtr<JSONObject> createFunctionCallData(int scriptId, const String& scriptName, int s…
56 static PassRefPtr<JSONObject> createEventDispatchData(const Event&);
57 static PassRefPtr<JSONObject> createGenericTimerData(int timerId);
58 static PassRefPtr<JSONObject> createTimerInstallData(int timerId, int timeout, bool singleShot);
59 static PassRefPtr<JSONObject> createXHRReadyStateChangeData(const String& url, int readyState);
60 static PassRefPtr<JSONObject> createXHRLoadData(const String& url);
61 static PassRefPtr<JSONObject> createEvaluateScriptData(const String&, double lineNumber);
[all …]
DInspectorDOMDebuggerAgent.cpp184 static PassRefPtr<JSONObject> ensurePropertyObject(JSONObject* object, const String& propertyName) in ensurePropertyObject()
186 JSONObject::iterator it = object->find(propertyName); in ensurePropertyObject()
190 RefPtr<JSONObject> result = JSONObject::create(); in ensurePropertyObject()
210 …RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListe… in setBreakpoint()
211 …RefPtr<JSONObject> breakpointsByTarget = ensurePropertyObject(eventListenerBreakpoints.get(), even… in setBreakpoint()
236 …RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListe… in removeBreakpoint()
237 …RefPtr<JSONObject> breakpointsByTarget = ensurePropertyObject(eventListenerBreakpoints.get(), even… in removeBreakpoint()
248 RefPtr<JSONObject> eventData = JSONObject::create(); in didInvalidateStyleAttr()
348 RefPtr<JSONObject> eventData = JSONObject::create(); in willInsertDOMNode()
358 RefPtr<JSONObject> eventData = JSONObject::create(); in willRemoveDOMNode()
[all …]
DInspectorState.cpp38 InspectorState::InspectorState(InspectorStateUpdateListener* listener, PassRefPtr<JSONObject> prope… in InspectorState()
50 void InspectorState::setFromCookie(PassRefPtr<JSONObject> properties) in setFromCookie()
69 JSONObject::iterator it = m_properties->find(propertyName); in getBoolean()
78 JSONObject::iterator it = m_properties->find(propertyName); in getString()
93 JSONObject::iterator it = m_properties->find(propertyName); in getLong()
107 JSONObject::iterator it = m_properties->find(propertyName); in getDouble()
114 PassRefPtr<JSONObject> InspectorState::getObject(const String& propertyName) in getObject()
116 JSONObject::iterator it = m_properties->find(propertyName); in getObject()
118 m_properties->setObject(propertyName, JSONObject::create()); in getObject()
133 RefPtr<JSONObject> stateProperties = JSONObject::create(); in createAgentState()
[all …]
DInspectorState.h53 InspectorState(InspectorStateUpdateListener*, PassRefPtr<JSONObject>);
66 PassRefPtr<JSONObject> getObject(const String& propertyName);
72 …void setObject(const String& propertyName, PassRefPtr<JSONObject> value) { setValue(propertyName, … in setObject()
83 void setFromCookie(PassRefPtr<JSONObject>);
88 RefPtr<JSONObject> m_properties;
96 , m_stateObject(JSONObject::create()) in InspectorCompositeState()
116 RefPtr<JSONObject> m_stateObject;
DInspectorDOMStorageAgent.h43 class JSONObject; variable
65 …virtual void getDOMStorageItems(ErrorString*, const RefPtr<JSONObject>& storageId, RefPtr<TypeBuil…
66 …virtual void setDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String& ke…
67 …virtual void removeDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String&…
77 …PassOwnPtrWillBeRawPtr<StorageArea> findStorageArea(ErrorString*, const RefPtr<JSONObject>&, Local…
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DJsonMessageBuilder.java25 import com.google.polo.json.JSONObject;
112 public static PoloMessage outerJsonToPoloMessage(JSONObject outerMessage) in outerJsonToPoloMessage()
114 JSONObject payload; in outerJsonToPoloMessage()
161 static PairingRequestMessage getPairingRequest(JSONObject body) in getPairingRequest()
181 static PairingRequestAckMessage getPairingRequestAck(JSONObject body) in getPairingRequestAck()
201 static OptionsMessage getOptionsMessage(JSONObject body) in getOptionsMessage()
216 JSONObject enc = inEncodings.getJSONObject(i); in getOptionsMessage()
231 JSONObject enc = outEncodings.getJSONObject(i); in getOptionsMessage()
253 static ConfigurationMessage getConfigMessage(JSONObject body) in getConfigMessage()
272 static ConfigurationAckMessage getConfigAckMessage(JSONObject body) { in getConfigAckMessage()
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageBuilder.java23 import com.google.polo.json.JSONObject;
129 JSONObject outerMessage; in outerXMLToPoloMessage()
136 JSONObject payload; in outerXMLToPoloMessage()
206 PairingRequestMessage getPairingRequest(JSONObject body) in getPairingRequest()
209 JSONObject jsonObj = body.getJSONObject( in getPairingRequest()
230 PairingRequestAckMessage getPairingRequestAck(JSONObject body) in getPairingRequestAck()
233 JSONObject jsonObj = body.getJSONObject( in getPairingRequestAck()
252 OptionsMessage getOptionsMessage(JSONObject body) throws PoloException { in getOptionsMessage()
254 JSONObject jsonOptions; in getOptionsMessage()
258 JSONObject inEnc = jsonOptions.getJSONObject( in getOptionsMessage()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DLoggingCanvas.cpp45 PassRefPtr<JSONObject> logItem(const String& name);
46 PassRefPtr<JSONObject> logItemWithParams(const String& name);
51 RefPtr<JSONObject> m_logItem;
59 PassRefPtr<JSONObject> AutoLogger::logItem(const String& name) in logItem()
61 RefPtr<JSONObject> item = JSONObject::create(); in logItem()
67 PassRefPtr<JSONObject> AutoLogger::logItemWithParams(const String& name) in logItemWithParams()
69 RefPtr<JSONObject> item = logItem(name); in logItemWithParams()
70 RefPtr<JSONObject> params = JSONObject::create(); in logItemWithParams()
104 RefPtr<JSONObject> params = logger.logItemWithParams("drawPoints"); in drawPoints()
114 RefPtr<JSONObject> params = logger.logItemWithParams("drawRect"); in drawRect()
[all …]
DLoggingCanvas.h96 PassRefPtr<JSONObject> addItem(const String& name);
97 PassRefPtr<JSONObject> addItemWithParams(const String& name);
98 PassRefPtr<JSONObject> objectForSkRect(const SkRect&);
99 PassRefPtr<JSONObject> objectForSkIRect(const SkIRect&);
101 PassRefPtr<JSONObject> objectForSkPoint(const SkPoint&);
103 PassRefPtr<JSONObject> objectForSkPicture(const SkPicture&);
104 PassRefPtr<JSONObject> objectForRadius(const SkRRect& rrect, SkRRect::Corner);
107 PassRefPtr<JSONObject> objectForSkRRect(const SkRRect&);
112 PassRefPtr<JSONObject> objectForSkPath(const SkPath&);
114 PassRefPtr<JSONObject> objectForBitmapData(const SkBitmap&);
[all …]
DGraphicsLayerDebugInfo.cpp39 RefPtr<JSONObject> jsonObject = JSONObject::create(); in appendAsTraceFormat()
63 void GraphicsLayerDebugInfo::appendLayoutRects(JSONObject* jsonObject) const in appendLayoutRects()
68 RefPtr<JSONObject> rectContainer = JSONObject::create(); in appendLayoutRects()
80 void GraphicsLayerDebugInfo::appendCompositingReasons(JSONObject* jsonObject) const in appendCompositingReasons()
91 void GraphicsLayerDebugInfo::appendDebugName(JSONObject* jsonObject) const in appendDebugName()
99 void GraphicsLayerDebugInfo::appendOwnerNodeId(JSONObject* jsonObject) const in appendOwnerNodeId()
DGraphicsLayerDebugInfo.h64 void appendLayoutRects(JSONObject*) const;
65 void appendCompositingReasons(JSONObject*) const;
66 void appendDebugName(JSONObject*) const;
67 void appendOwnerNodeId(JSONObject*) const;
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
DJSONArray.java185 this.myArrayList.add(new JSONObject((Map)o, includeSuperClass)); in JSONArray()
186 } else if (!JSONObject.isStandardProperty(o.getClass())) { in JSONArray()
187 this.myArrayList.add(new JSONObject(o, includeSuperClass)); in JSONArray()
224 if (JSONObject.isStandardProperty(o.getClass())) { in JSONArray()
227 this.myArrayList.add(new JSONObject(o,includeSuperClass)); in JSONArray()
338 public JSONObject getJSONObject(int index) throws JSONException { in getJSONObject()
340 if (o instanceof JSONObject) { in getJSONObject()
341 return (JSONObject)o; in getJSONObject()
380 return JSONObject.NULL.equals(opt(index)); in isNull()
400 sb.append(JSONObject.valueToString(this.myArrayList.get(i))); in join()
[all …]
DJSONObject.java89 public class JSONObject { class
147 public JSONObject() { in JSONObject() method in JSONObject
160 public JSONObject(JSONObject jo, String[] names) throws JSONException { in JSONObject() method in JSONObject
174 public JSONObject(JSONTokener x) throws JSONException { in JSONObject() method in JSONObject
235 public JSONObject(Map map) { in JSONObject() method in JSONObject
248 public JSONObject(Map map, boolean includeSuperClass) { in JSONObject() method in JSONObject
257 this.map.put(e.getKey(), new JSONObject(e.getValue(), in JSONObject()
284 public JSONObject(Object bean) { in JSONObject() method in JSONObject
306 public JSONObject(Object bean, boolean includeSuperClass) { in JSONObject() method in JSONObject
351 map.put(key, new JSONObject((Map)result, includeSuperClass)); in populateInternalMap()
[all …]
DJSONML.java55 JSONObject newjo = null; in parse()
133 newjo = new JSONObject(); in parse()
169 newjo.accumulate(attribute, JSONObject.stringToValue((String)token)); in parse()
222 JSONObject.stringToValue((String)token) : token); in parse()
277 public static JSONObject toJSONObject(XMLTokener x) throws JSONException { in toJSONObject()
278 return (JSONObject)parse(x, false, null); in toJSONObject()
293 public static JSONObject toJSONObject(String string) throws JSONException { in toJSONObject()
307 JSONObject jo; in toString()
324 if (e instanceof JSONObject) { in toString()
326 jo = (JSONObject)e; in toString()
[all …]
DTest.java21 JSONObject j; in main()
63 return "{" + JSONObject.quote(this.aString) + ":" + in main()
64 JSONObject.doubleToString(this.aNumber) + "}"; in main()
80 j = new JSONObject(s); in main()
114 j = new JSONObject(obj); in main()
118 j = new JSONObject(s); in main()
138 .value(JSONObject.getNames(obj)) in main()
197 j = new JSONObject(obj, sa); in main()
201 …j = new JSONObject("{slashes: '///', closetag: '</script>', backslash:'\\\\', ei: {quotes: '\"\\''… in main()
206 j = new JSONObject( in main()
[all …]
DXML.java127 private static boolean parse(XMLTokener x, JSONObject context, in parse()
132 JSONObject o = null; in parse()
213 o = new JSONObject(); in parse()
229 o.accumulate(s, JSONObject.stringToValue((String)t)); in parse()
257 o.accumulate("content", JSONObject.stringToValue(s)); in parse()
298 public static JSONObject toJSONObject(String string) throws JSONException { in toJSONObject()
299 JSONObject o = new JSONObject(); in toJSONObject()
331 JSONObject jo; in toString()
337 if (o instanceof JSONObject) { in toString()
349 jo = (JSONObject)o; in toString()
DJSONWriter.java81 private JSONObject stack[];
99 this.stack = new JSONObject[maxdepth]; in JSONWriter()
211 this.writer.write(JSONObject.quote(s)); in key()
239 this.push(new JSONObject()); in object()
270 private void push(JSONObject jo) throws JSONException { in push()
321 return this.append(JSONObject.valueToString(o)); in value()
DCookieList.java49 public static JSONObject toJSONObject(String string) throws JSONException { in toJSONObject()
50 JSONObject o = new JSONObject(); in toJSONObject()
71 public static String toString(JSONObject o) throws JSONException { in toString()
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/
DVideoCaptureDeviceInfoAndroid.java23 import org.json.JSONObject;
50 JSONObject cameraDict = new JSONObject(); in getDeviceInfo()
72 JSONObject size = new JSONObject(); in getDeviceInfo()
80 JSONObject mfpsRange = new JSONObject(); in getDeviceInfo()
/external/chromium_org/third_party/WebKit/Source/platform/
DTracedValue.cpp32 m_stack.append(JSONObject::create()); in TracedValue()
62 RefPtr<JSONObject> dictionary = JSONObject::create(); in beginDictionary()
110 RefPtr<JSONObject> dictionary = JSONObject::create(); in beginDictionary()
128 JSONObject* TracedValue::currentDictionary() const in currentDictionary()
132 return static_cast<JSONObject*>(m_stack.last().get()); in currentDictionary()
DJSONValues.h45 class JSONObject; variable
80 virtual bool asObject(RefPtr<JSONObject>* output);
82 virtual PassRefPtr<JSONObject> asObject();
170 virtual PassRefPtr<JSONObject> asObject() OVERRIDE;
171 JSONObject* openAccessors();
178 virtual bool asObject(RefPtr<JSONObject>* output) OVERRIDE;
184 void setObject(const String& name, PassRefPtr<JSONObject>);
198 PassRefPtr<JSONObject> getObject(const String& name) const;
221 class PLATFORM_EXPORT JSONObject : public JSONObjectBase {
223 static PassRefPtr<JSONObject> create() in create()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
DAppRTCClient.java36 import org.json.JSONObject;
238 JSONObject roomJson = new JSONObject( in getParametersForRoomUrl()
309 JSONObject json = new JSONObject(mediaConstraintsString); in getAVConstraints()
335 JSONObject json = new JSONObject(jsonString); in constraintsFromJSON()
336 JSONObject mandatoryJSON = json.optJSONObject("mandatory"); in constraintsFromJSON()
351 JSONObject keyValueDict = optionalJSON.getJSONObject(i); in constraintsFromJSON()
372 JSONObject responseJSON = new JSONObject(response); in requestTurnServer()
390 JSONObject json = new JSONObject(pcConfig); in iceServersFromPCConfigJSON()
395 JSONObject server = servers.getJSONObject(i); in iceServersFromPCConfigJSON()
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
DHttpUrlRequestFactoryConfig.java9 import org.json.JSONObject;
38 mConfig = new JSONObject(json); in HttpUrlRequestFactoryConfig()
122 JSONObject hint = new JSONObject(); in addQuicHint()
179 private JSONObject mConfig = new JSONObject();
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
DJsoMap.java21 import org.json.JSONObject;
30 class JsoMap extends JSONObject {
63 private JsoMap(JSONObject copyFrom, String[] names) throws JSONException { in JsoMap()
151 if (o instanceof JSONObject) { in getObj()
152 JSONObject value = (JSONObject) o; in getObj()
244 void putObj(String key, JSONObject value) { in putObj()

1234