HomeSort by relevance Sort by last modified time
    Searched refs:JSONObject (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/core/inspector/
TimelineRecordFactory.h 51 static PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createGenericRecord(double startTime, int maxCallStackDepth, const String& type, PassRefPtr<JSONObject> data);
52 static PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createBackgroundRecord(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 scriptLine);
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...]
InspectorFrontendChannel.h 37 virtual void sendMessageToFrontend(PassRefPtr<JSONObject> message) = 0;
TimelineRecordFactory.cpp 47 PassRefPtr<TimelineEvent> TimelineRecordFactory::createGenericRecord(double startTime, int maxCallStackDepth, const String& type, PassRefPtr<JSONObject> data)
62 PassRefPtr<TimelineEvent> TimelineRecordFactory::createBackgroundRecord(double startTime, const String& threadName, const String& type, PassRefPtr<JSONObject> data)
73 PassRefPtr<JSONObject> TimelineRecordFactory::createGCEventData(size_t usedHeapSizeDelta)
75 RefPtr<JSONObject> data = JSONObject::create();
80 PassRefPtr<JSONObject> TimelineRecordFactory::createFunctionCallData(int scriptId, const String& scriptName, int scriptLine)
82 RefPtr<JSONObject> data = JSONObject::create();
89 PassRefPtr<JSONObject> TimelineRecordFactory::createEventDispatchData(const Event& event)
91 RefPtr<JSONObject> data = JSONObject::create()
    [all...]
InspectorState.cpp 38 InspectorState::InspectorState(InspectorStateUpdateListener* listener, PassRefPtr<JSONObject> properties)
50 void InspectorState::setFromCookie(PassRefPtr<JSONObject> properties)
69 JSONObject::iterator it = m_properties->find(propertyName);
78 JSONObject::iterator it = m_properties->find(propertyName);
93 JSONObject::iterator it = m_properties->find(propertyName);
107 JSONObject::iterator it = m_properties->find(propertyName);
114 PassRefPtr<JSONObject> InspectorState::getObject(const String& propertyName)
116 JSONObject::iterator it = m_properties->find(propertyName);
118 m_properties->setObject(propertyName, JSONObject::create());
133 RefPtr<JSONObject> stateProperties = JSONObject::create()
    [all...]
InspectorState.h 53 InspectorState(InspectorStateUpdateListener*, PassRefPtr<JSONObject>);
66 PassRefPtr<JSONObject> getObject(const String& propertyName);
72 void setObject(const String& propertyName, PassRefPtr<JSONObject> value) { setValue(propertyName, value); }
83 void setFromCookie(PassRefPtr<JSONObject>);
88 RefPtr<JSONObject> m_properties;
96 , m_stateObject(JSONObject::create())
116 RefPtr<JSONObject> m_stateObject;
InspectorDOMStorageAgent.h 43 class JSONObject;
65 virtual void getDOMStorageItems(ErrorString*, const RefPtr<JSONObject>& storageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String> > >& items) OVERRIDE;
66 virtual void setDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String& key, const String& value) OVERRIDE;
67 virtual void removeDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String& key) OVERRIDE;
77 PassOwnPtrWillBeRawPtr<StorageArea> findStorageArea(ErrorString*, const RefPtr<JSONObject>&, LocalFrame*&);
InspectorDOMDebuggerAgent.cpp 184 static PassRefPtr<JSONObject> ensurePropertyObject(JSONObject* object, const String& propertyName)
186 JSONObject::iterator it = object->find(propertyName);
190 RefPtr<JSONObject> result = JSONObject::create();
210 RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListenerBreakpoints);
211 RefPtr<JSONObject> breakpointsByTarget = ensurePropertyObject(eventListenerBreakpoints.get(), eventName);
236 RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListenerBreakpoints);
237 RefPtr<JSONObject> breakpointsByTarget = ensurePropertyObject(eventListenerBreakpoints.get(), eventName);
248 RefPtr<JSONObject> eventData = JSONObject::create()
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java 23 import com.google.polo.json.JSONObject;
129 JSONObject outerMessage;
136 JSONObject payload;
185 * NOTE(mikey): These methods are implemented in terms of JSONObject
204 * @throws PoloException on error parsing the {@link JSONObject}
206 PairingRequestMessage getPairingRequest(JSONObject body)
209 JSONObject jsonObj = body.getJSONObject(
228 * @throws PoloException on error parsing the {@link JSONObject}
230 PairingRequestAckMessage getPairingRequestAck(JSONObject body)
233 JSONObject jsonObj = body.getJSONObject
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java 25 import com.google.polo.json.JSONObject;
107 * @param outerMessage a {@link JSONObject} corresponding to the
110 * @throws PoloException on error parsing the {@link JSONObject}
112 public static PoloMessage outerJsonToPoloMessage(JSONObject outerMessage)
114 JSONObject payload;
159 * @throws PoloException on error parsing the {@link JSONObject}
161 static PairingRequestMessage getPairingRequest(JSONObject body)
181 static PairingRequestAckMessage getPairingRequestAck(JSONObject body)
199 * @throws PoloException on error parsing the {@link JSONObject}
201 static OptionsMessage getOptionsMessage(JSONObject body
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsLayerDebugInfo.h 64 void appendLayoutRects(JSONObject*) const;
65 void appendCompositingReasons(JSONObject*) const;
66 void appendDebugName(JSONObject*) const;
67 void appendOwnerNodeId(JSONObject*) const;
LoggingCanvas.cpp 45 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)
61 RefPtr<JSONObject> item = JSONObject::create();
67 PassRefPtr<JSONObject> AutoLogger::logItemWithParams(const String& name)
69 RefPtr<JSONObject> item = logItem(name);
70 RefPtr<JSONObject> params = JSONObject::create()
    [all...]
GraphicsLayerDebugInfo.cpp 39 RefPtr<JSONObject> jsonObject = JSONObject::create();
40 appendLayoutRects(jsonObject.get());
41 appendCompositingReasons(jsonObject.get());
42 appendDebugName(jsonObject.get());
43 appendOwnerNodeId(jsonObject.get());
44 *out = jsonObject->toJSONString();
63 void GraphicsLayerDebugInfo::appendLayoutRects(JSONObject* jsonObject) cons
    [all...]
LoggingCanvas.h 96 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...]
  /developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 22 import org.json.JSONObject;
37 public static JSONObject loadJsonFile(Context context, String fileName) throws IOException,
45 return new JSONObject(jsonString);
  /developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 22 import org.json.JSONObject;
37 public static JSONObject loadJsonFile(Context context, String fileName) throws IOException,
45 return new JSONObject(jsonString);
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
UserTest.java 22 import org.json.JSONObject;
41 JSONObject jsonObj = new JSONObject();
  /development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
JsonUtils.java 22 import org.json.JSONObject;
37 public static JSONObject loadJsonFile(Context context, String fileName) throws IOException,
45 return new JSONObject(jsonString);
  /external/chromium_org/third_party/WebKit/Source/platform/
TracedValue.h 15 class JSONObject;
47 JSONObject* currentDictionary() const;
TracedValue.cpp 32 m_stack.append(JSONObject::create());
62 RefPtr<JSONObject> dictionary = JSONObject::create();
110 RefPtr<JSONObject> dictionary = JSONObject::create();
128 JSONObject* TracedValue::currentDictionary() const
132 return static_cast<JSONObject*>(m_stack.last().get());
  /development/samples/Vault/tests/src/com/example/android/vault/
EncryptedDocumentTest.java 24 import org.json.JSONObject;
123 final JSONObject before = new JSONObject();
128 final JSONObject after = doc.readMetadata();
162 final JSONObject before = new JSONObject();
167 final JSONObject after = doc.readMetadata();
183 final JSONObject meta1 = new JSONObject();
199 final JSONObject before = new JSONObject()
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
CookieList.java 30 * Convert a web browser cookie list string to a JSONObject and back.
37 * Convert a cookie list into a JSONObject. A cookie list is a sequence
46 * @return A JSONObject
49 public static JSONObject toJSONObject(String string) throws JSONException {
50 JSONObject o = new JSONObject();
63 * Convert a JSONObject into a cookie list. A cookie list is a sequence
67 * @param o A JSONObject
71 public static String toString(JSONObject o) throws JSONException {
JSONArray.java 41 * <code>Boolean</code>, <code>JSONArray</code>, <code>JSONObject</code>,
43 * <code>JSONObject.NULL object</code>.
185 this.myArrayList.add(new JSONObject((Map)o, includeSuperClass));
186 } else if (!JSONObject.isStandardProperty(o.getClass())) {
187 this.myArrayList.add(new JSONObject(o, includeSuperClass));
224 if (JSONObject.isStandardProperty(o.getClass())) {
227 this.myArrayList.add(new JSONObject(o,includeSuperClass));
332 * Get the JSONObject associated with an index.
334 * @return A JSONObject value.
336 * value is not a JSONObject
    [all...]
JSONWriter.java 55 * This can sometimes be easier than using a JSONObject to build a string.
81 private JSONObject stack[];
99 this.stack = new JSONObject[maxdepth];
211 this.writer.write(JSONObject.quote(s));
239 this.push(new JSONObject());
270 private void push(JSONObject jo) throws JSONException {
315 * String, JSONObject, or JSONArray, or an object with a toJSONString()
321 return this.append(JSONObject.valueToString(o));
  /external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/
VideoCaptureDeviceInfoAndroid.java 23 import org.json.JSONObject;
50 JSONObject cameraDict = new JSONObject();
72 JSONObject size = new JSONObject();
80 JSONObject mfpsRange = new JSONObject();
  /external/chromium_org/components/cronet/android/java/src/org/chromium/net/
HttpUrlRequestFactoryConfig.java 9 import org.json.JSONObject;
38 mConfig = new JSONObject(json);
122 JSONObject hint = new JSONObject();
179 private JSONObject mConfig = new JSONObject();

Completed in 462 milliseconds

1 2 3 4 5 6