HomeSort by relevance Sort by last modified time
    Searched full:jsonobject (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/core/inspector/
TimelineRecordFactory.h 50 static PassRefPtr<JSONObject> createGenericRecord(double startTime, int maxCallStackDepth, const String& type);
51 static PassRefPtr<JSONObject> createBackgroundRecord(double startTime, const String& thread, const String& type, PassRefPtr<JSONObject> data = 0);
53 static PassRefPtr<JSONObject> createGCEventData(size_t usedHeapSizeDelta);
55 static PassRefPtr<JSONObject> createFunctionCallData(const String& scriptName, int scriptLine);
57 static PassRefPtr<JSONObject> createEventDispatchData(const Event&);
59 static PassRefPtr<JSONObject> createGenericTimerData(int timerId);
61 static PassRefPtr<JSONObject> createTimerInstallData(int timerId, int timeout, bool singleShot);
63 static PassRefPtr<JSONObject> createXHRReadyStateChangeData(const String& url, int readyState);
65 static PassRefPtr<JSONObject> createXHRLoadData(const String& url)
    [all...]
TimelineRecordFactory.cpp 45 PassRefPtr<JSONObject> TimelineRecordFactory::createGenericRecord(double startTime, int maxCallStackDepth, const String& type)
47 RefPtr<JSONObject> record = JSONObject::create();
59 PassRefPtr<JSONObject> TimelineRecordFactory::createBackgroundRecord(double startTime, const String& threadName, const String& type, PassRefPtr<JSONObject> data)
61 RefPtr<JSONObject> record = JSONObject::create();
65 record->setObject("data", data ? data : JSONObject::create());
69 PassRefPtr<JSONObject> TimelineRecordFactory::createGCEventData(size_t usedHeapSizeDelta)
71 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());
128 RefPtr<JSONObject> stateProperties = JSONObject::create()
    [all...]
CodeGeneratorInspectorStrings.py 47 """void InspectorBackendDispatcherImpl::${domainName}_$methodName(long callId, JSONObject*$requestMessageObject)
55 RefPtr<JSONObject> result = JSONObject::create();
69 RefPtr<JSONObject> jsonMessage = JSONObject::create();
81 RefPtr<JSONObject> jsonMessage = JSONObject::create();
140 class JSONObject;
161 void sendIfActive(PassRefPtr<JSONObject> partialMessage, const ErrorString& invocationError, PassRefPtr<JSONValue> errorData);
252 void sendResponse(long callId, PassRefPtr<JSONObject> result, const ErrorString&invocationError, PassRefPtr<JSONValue> errorData)
    [all...]
InspectorDOMStorageAgent.h 43 class JSONObject;
63 virtual void getDOMStorageItems(ErrorString*, const RefPtr<JSONObject>& storageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String> > >& items);
64 virtual void setDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String& key, const String& value);
65 virtual void removeDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String& key);
79 PassOwnPtr<StorageArea> findStorageArea(ErrorString*, const RefPtr<JSONObject>&, Frame*&);
InspectorState.h 52 InspectorState(InspectorStateUpdateListener*, PassRefPtr<JSONObject>);
65 PassRefPtr<JSONObject> getObject(const String& propertyName);
71 void setObject(const String& propertyName, PassRefPtr<JSONObject> value) { setValue(propertyName, value); }
79 void setFromCookie(PassRefPtr<JSONObject>);
84 RefPtr<JSONObject> m_properties;
91 , m_stateObject(JSONObject::create())
110 RefPtr<JSONObject> m_stateObject;
InspectorDOMDebuggerAgent.cpp 165 RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListenerBreakpoints);
187 RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListenerBreakpoints);
195 RefPtr<JSONObject> eventData = JSONObject::create();
295 RefPtr<JSONObject> eventData = JSONObject::create();
305 RefPtr<JSONObject> eventData = JSONObject::create();
309 RefPtr<JSONObject> eventData = JSONObject::create()
    [all...]
InspectorTimelineAgent.h 273 void sendEvent(PassRefPtr<JSONObject>);
274 void appendRecord(PassRefPtr<JSONObject> data, const String& type, bool captureCallStack, Frame*);
275 void pushCurrentRecord(PassRefPtr<JSONObject>, const String& type, bool captureCallStack, Frame*, bool hasLowLevelDetails = false);
279 void setFrameIdentifier(JSONObject* record, Frame*);
280 void populateImageDetails(JSONObject* data, const RenderImage&);
289 void addRecordToTimeline(PassRefPtr<JSONObject>);
290 void innerAddRecordToTimeline(PassRefPtr<JSONObject>);
292 PassRefPtr<JSONObject> createRecordForEvent(const TraceEventDispatcher::TraceEvent&, const String& type, PassRefPtr<JSONObject> data = 0);
327 RefPtr<JSONObject> m_pendingFrameRecord
    [all...]
  /libcore/json/src/test/java/org/json/
JSONObjectTest.java 39 JSONObject object = new JSONObject();
108 JSONObject a = new JSONObject();
109 JSONObject b = new JSONObject();
117 JSONObject object = new JSONObject();
141 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...]
  /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);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
IncludedDependenciesTest.java 3 import org.json.JSONObject;
17 assertEquals("value", new JSONObject("{'name':'value'}").getString("name"));
  /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 {
  /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...]
  /libcore/json/src/main/java/org/json/
JSONObject.java 29 * Values may be any mix of {@link JSONObject JSONObjects}, {@link JSONArray
53 * coerced, the sentinel value {@link JSONObject#NULL} is coerced to the
69 * JSONObject#NULL}. In particular, calling {@code put(name, null)} removes the
70 * named entry from the object but {@code put(name, JSONObject.NULL)} stores an
71 * entry whose value is {@code JSONObject.NULL}.
79 public class JSONObject {
110 * Creates a {@code JSONObject} with no name/value mappings.
112 public JSONObject() {
117 * Creates a new {@code JSONObject} by copying all name/value mappings from
125 public JSONObject(Map copyFrom)
    [all...]
JSONException.java 37 * JSONObject result = new JSONObject();
  /external/robolectric/lib/main/
json-20080701.jar 
  /pdk/apps/CameraITS/service/src/com/android/camera2/its/
ItsSerializer.java 26 import org.json.JSONObject;
59 return new MetadataEntry(key.getName(), JSONObject.NULL);
66 JSONObject ratObj = new JSONObject();
73 JSONObject sizeObj = new JSONObject();
80 JSONObject rectObj = new JSONObject();
101 return new MetadataEntry(key.getName(), JSONObject.NULL);
111 JSONObject ratObj = new JSONObject()
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
ReplyFromAccount.java 29 import org.json.JSONObject;
64 public JSONObject serialize() {
65 JSONObject json = new JSONObject();
79 public static ReplyFromAccount deserialize(Account account, JSONObject json) {
99 replyFromAccount = deserialize(account, new JSONObject(stringExtra));
ListParams.java 26 import org.json.JSONObject;
91 JSONObject json = new JSONObject();
112 JSONObject json = null;
114 json = new JSONObject(serializedParams);
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
UserTest.java 22 import org.json.JSONObject;
41 JSONObject jsonObj = new JSONObject();
  /prebuilts/misc/common/json/
json-prebuilt.jar 
  /external/chromium_org/third_party/WebKit/Source/platform/
JSONValues.h 45 class JSONObject;
80 virtual bool asObject(RefPtr<JSONObject>* output);
82 virtual PassRefPtr<JSONObject> asObject();
164 virtual PassRefPtr<JSONObject> asObject();
165 JSONObject* openAccessors();
170 virtual bool asObject(RefPtr<JSONObject>* output);
176 void setObject(const String& name, PassRefPtr<JSONObject>);
190 PassRefPtr<JSONObject> getObject(const String& name) const;
213 class PLATFORM_EXPORT JSONObject : public JSONObjectBase {
215 static PassRefPtr<JSONObject> create(
    [all...]
JSONValues.cpp 126 bool JSONValue::asObject(RefPtr<JSONObject>*)
136 PassRefPtr<JSONObject> JSONValue::asObject()
255 bool JSONObjectBase::asObject(RefPtr<JSONObject>* output)
257 COMPILE_ASSERT(sizeof(JSONObject) == sizeof(JSONObjectBase), cannot_cast);
258 *output = static_cast<JSONObject*>(this);
262 PassRefPtr<JSONObject> JSONObjectBase::asObject()
267 JSONObject* JSONObjectBase::openAccessors()
269 COMPILE_ASSERT(sizeof(JSONObject) == sizeof(JSONObjectBase), cannot_cast);
270 return static_cast<JSONObject*>(this);
289 PassRefPtr<JSONObject> JSONObjectBase::getObject(const String& name) cons
    [all...]

Completed in 1126 milliseconds

1 2 3 4 5 6