/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | 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> createEvaluateScriptDat [all...] |
H A D | 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> dat [all...] |
H A D | InspectorFrontendChannel.h | 37 virtual void sendMessageToFrontend(PassRefPtr<JSONObject> message) = 0;
|
H A D | 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> statePropertie [all...] |
H A D | 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;
|
H A D | 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*&);
|
H A D | 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> eventDat [all...] |
H A D | InspectorInspectorAgent.h | 46 class JSONObject; 82 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect, PassRefPtr<JSONObject> hints); 92 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pendingInspectData;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
H A D | 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 jsonOb [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
H A D | 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 bod [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsLayerDebugInfo.h | 64 void appendLayoutRects(JSONObject*) const; 65 void appendCompositingReasons(JSONObject*) const; 66 void appendDebugName(JSONObject*) const; 67 void appendOwnerNodeId(JSONObject*) const;
|
H A D | 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 [all...] |
H A D | GraphicsLayerDebugInfo.cpp | 39 RefPtr<JSONObject> jsonObject = JSONObject::create(); 63 void GraphicsLayerDebugInfo::appendLayoutRects(JSONObject* jsonObject) const 68 RefPtr<JSONObject> rectContainer = JSONObject::create(); 80 void GraphicsLayerDebugInfo::appendCompositingReasons(JSONObject* jsonObject) const 91 void GraphicsLayerDebugInfo::appendDebugName(JSONObject* jsonObject) const 99 void GraphicsLayerDebugInfo::appendOwnerNodeId(JSONObject* jsonObject) const
|
H A D | 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> objectForBitmapDat [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | 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 {
|
H A D | 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...] |
H A D | 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));
|
H A D | JSONML.java | 32 * JSONObject, and to covert a JSONArray or JSONObject into an XML text using 55 JSONObject newjo = null; 133 newjo = new JSONObject(); 169 newjo.accumulate(attribute, JSONObject.stringToValue((String)token)); 222 JSONObject.stringToValue((String)token) : token); 233 * attributes, then the second element will be JSONObject containing the 250 * attributes, then the second element will be JSONObject containing the 266 * JSONObject using the JsonML transform. Each XML tag is represented as 267 * a JSONObject wit [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | 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());
|
H A D | TracedValue.h | 15 class JSONObject; 47 JSONObject* currentDictionary() const;
|
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/ |
H A D | 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/ |
H A D | HttpUrlRequestFactoryConfig.java | 9 import org.json.JSONObject; 38 mConfig = new JSONObject(json); 122 JSONObject hint = new JSONObject(); 179 private JSONObject mConfig = new JSONObject();
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | InspectorFrontendHostFileSystem.cpp | 25 RefPtr<JSONObject> message = JSONObject::create();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
H A D | IncludedDependenciesTest.java | 3 import org.json.JSONObject; 17 assertEquals("value", new JSONObject("{'name':'value'}").getString("name"));
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | XSSAuditorDelegate.cpp | 93 RefPtr<JSONObject> reportDetails = JSONObject::create(); 97 RefPtr<JSONObject> reportObject = JSONObject::create();
|