HomeSort by relevance Sort by last modified time
    Searched refs:JSONObject (Results 126 - 150 of 189) sorted by null

1 2 3 4 56 7 8

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsService.java 58 import org.json.JSONObject;
332 JSONObject jsonObj = new JSONObject();
529 JSONObject cmdObj = new JSONObject(cmd);
555 public void sendResponse(String tag, String str, JSONObject obj, ByteBuffer bbuf)
558 JSONObject jsonObj = new JSONObject();
591 public void sendResponse(String tag, JSONObject obj)
608 JSONObject obj = new JSONObject()
    [all...]
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/
SyncTestUtil.java 29 import org.json.JSONObject;
97 JSONObject aboutInfo = new JSONObject(rawJson);
100 JSONObject dataObj = detailsArray.getJSONObject(i);
104 JSONObject statObj = dataArray.getJSONObject(j);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorResourceAgent.cpp 89 static PassRefPtr<JSONObject> buildObjectForHeaders(const HTTPHeaderMap& headers)
91 RefPtr<JSONObject> headersObject = JSONObject::create();
253 RefPtr<JSONObject> headers;
325 RefPtr<JSONObject> headers = m_state->getObject(ResourceAgentState::extraRequestHeaders);
328 JSONObject::const_iterator end = headers->end();
329 for (JSONObject::const_iterator it = headers->begin(); it != end; ++it) {
370 RefPtr<JSONObject> headers = response->getObject("headers");
684 void InspectorResourceAgent::setExtraHTTPHeaders(ErrorString*, const RefPtr<JSONObject>& headers)
776 void InspectorResourceAgent::loadResourceForFrontend(ErrorString* errorString, const String& frameId, const String& url, const RefPtr<JSONObject>* requestHeader (…)
    [all...]
InjectedScript.h 85 void restartFrame(ErrorString*, const ScriptValue& callFrames, const String& callFrameId, RefPtr<JSONObject>* result);
InspectorInspectorAgent.cpp 160 void InspectorInspectorAgent::inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect, PassRefPtr<JSONObject> hints)
InspectorWorkerAgent.cpp 95 RefPtr<JSONObject> messageObject = value->asObject();
190 void InspectorWorkerAgent::sendMessageToWorker(ErrorString* error, int workerId, const RefPtr<JSONObject>& message)
InjectedScript.cpp 97 void InjectedScript::restartFrame(ErrorString* errorString, const ScriptValue& callFrames, const String& callFrameId, RefPtr<JSONObject>* result)
277 RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject();
295 RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject();
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Settings.java 38 import org.json.JSONObject;
203 private Settings(JSONObject json) {
238 final JSONObject json = toJSON();
249 * Return a JSONObject for these settings.
251 public synchronized JSONObject toJSON() {
252 final JSONObject json = new JSONObject();
320 * Create a new instance of an Settings object using a JSONObject instance created previously
327 public static Settings newInstance(JSONObject json) {
MailAppProvider.java 50 import org.json.JSONObject;
539 public AccountCacheEntry(JSONObject o) throws JSONException {
543 + "Account object could not be created from the JSONObject: "
548 + "Settings could not be created from the JSONObject: " + o);
558 public JSONObject toJSONObject() {
560 return new JSONObject()
Attachment.java 46 import org.json.JSONObject;
216 public Attachment(JSONObject srcJson) {
353 public JSONObject toJSON() throws JSONException {
354 final JSONObject result = new JSONObject();
377 final JSONObject jsonObject = toJSON();
379 jsonObject.put("partId", partId);
383 jsonObject.put(AttachmentColumns.PROVIDER_DATA, new JSONObject(providerData))
    [all...]
Account.java 43 import org.json.JSONObject;
263 JSONObject json = new JSONObject();
315 public Account buildFrom(JSONObject json) throws JSONException {
360 final JSONObject json = new JSONObject(serializedAccount);
375 * @param json {@link JSONObject} representing a valid account.
378 protected Account(JSONObject json) throws JSONException {
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
ContactLoaderTest.java 43 import org.json.JSONObject;
277 JSONObject itemJson = new JSONObject();
278 itemJson.put("email", new JSONObject().put("data1", "test@google.com"));
279 JSONObject json = new JSONObject();
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
HostAuth.java 33 import org.json.JSONObject;
256 protected JSONObject toJson() {
258 final JSONObject json = new JSONObject();
277 protected static HostAuth fromJson(final JSONObject json) {
288 final JSONObject credJson = json.optJSONObject(JSON_TAG_CREDENTIAL);
  /cts/tests/tests/media/src/android/media/cts/
ClearKeySystemTest.java 50 import org.json.JSONObject;
130 JSONObject license = new JSONObject(jsonLicenseRequest);
  /external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
RegionDataConstants.java 20 import org.json.JSONObject;
    [all...]
  /external/robolectric/lib/main/
json-20080701.jar 
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
WifiConfigurationHelper.java 30 import org.json.JSONObject;
175 JSONObject jsonConfig = jsonConfigs.getJSONObject(i);
186 * Parse a {@link JSONObject} and return the wifi configuration.
190 private static WifiConfiguration getWifiConfiguration(JSONObject jsonConfig)
  /packages/apps/Email/tests/src/com/android/emailcommon/provider/
HostAuthTests.java 25 import org.json.JSONObject;
224 final JSONObject json = new JSONObject();
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
SendersFormattingTests.java 31 import org.json.JSONObject;
279 final JSONObject json = new JSONObject(map);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
AttentionManagementVerifierActivity.java 39 import org.json.JSONObject;
221 JSONObject payload = new JSONObject(payloadData);
312 JSONObject payload = new JSONObject(payloadData);
402 JSONObject payload = new JSONObject(payloadData);
622 JSONObject payload = new JSONObject(payloadData);
    [all...]
NotificationListenerVerifierActivity.java 30 import org.json.JSONObject;
203 JSONObject payload = new JSONObject(payloadData);
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp 141 static bool copyStringProperty(const char* property, const Dictionary& source, JSONObject* destination)
150 static bool copySequenceOfStringProperty(const char* property, const Dictionary& source, JSONObject* destination)
168 RefPtr<JSONObject> jsonObject = JSONObject::create();
170 if (!copyStringProperty("kty", dict, jsonObject.get())) {
175 copyStringProperty("use", dict, jsonObject.get());
176 copySequenceOfStringProperty("key_ops", dict, jsonObject.get());
177 copyStringProperty("alg", dict, jsonObject.get());
181 jsonObject->setBoolean("ext", ext)
    [all...]
  /packages/apps/Browser/src/com/android/browser/view/
BookmarkExpandableView.java 41 import org.json.JSONObject;
259 public JSONObject saveGroupState() throws JSONException {
260 JSONObject obj = new JSONObject();
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsLayer.h 60 class JSONObject;
210 PassRefPtr<JSONObject> layerTreeAsJSON(LayerTreeFlags, RenderingContextMap&) const;
  /libcore/benchmarks/src/benchmarks/regression/
ParseBenchmark.java 31 import org.json.JSONObject;
185 new JSONObject(data);

Completed in 1677 milliseconds

1 2 3 4 56 7 8