/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*&);
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
BackupSharedPreference.java | 20 import org.json.JSONObject; 30 JSONObject toJson() throws JSONException;
|
SimpleBackupSharedPreference.java | 23 import org.json.JSONObject; 57 public JSONObject toJson() throws JSONException { 58 final JSONObject json = new JSONObject(); 73 public static BackupSharedPreference fromJson(final JSONObject json) throws JSONException {
|
/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 40 JSONObject object = new JSONObject(); 109 JSONObject a = new JSONObject(); 110 JSONObject b = new JSONObject(); 118 JSONObject object = new JSONObject(); 142 JSONObject object = new JSONObject(); [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
JsonObjectRequest.java | 26 import org.json.JSONObject; 31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an 32 * optional {@link JSONObject} to be passed in as part of the request body. 34 public class JsonObjectRequest extends JsonRequest<JSONObject> { 40 * @param jsonRequest A {@link JSONObject} to post with the request. Null is allowed and 45 public JsonObjectRequest(int method, String url, JSONObject jsonRequest, 46 Listener<JSONObject> listener, ErrorListener errorListener) { 55 * @see #JsonObjectRequest(int, String, JSONObject, Listener, ErrorListener) 57 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener [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...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
JsonBackedSuggestionExtras.java | 19 import org.json.JSONObject; 28 * SuggestionExtras taking values from a {@link JSONObject}. 33 private final JSONObject mExtras; 37 mExtras = new JSONObject(json); 46 mExtras = new JSONObject(); 50 mExtras.put(column, value == null ? JSONObject.NULL : value);
|
/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 {
|
/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();
|