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

12 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
InspectorFrontendHostFileSystem.cpp 25 RefPtr<JSONObject> message = JSONObject::create();
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
XSSAuditorDelegate.cpp 93 RefPtr<JSONObject> reportDetails = JSONObject::create();
97 RefPtr<JSONObject> reportObject = JSONObject::create();
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
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;
InspectorDOMDebuggerAgent.h 53 class JSONObject;
110 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synchronous);
111 PassRefPtr<JSONObject> preparePauseOnNativeEventData(const String& eventName, const String* targetName);
128 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion, JSONObject* description);
InspectorWorkerAgent.h 41 class JSONObject;
68 virtual void sendMessageToWorker(ErrorString*, int workerId, const RefPtr<JSONObject>& message) OVERRIDE;
  /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();
170 virtual PassRefPtr<JSONObject> asObject() OVERRIDE;
171 JSONObject* openAccessors();
178 virtual bool asObject(RefPtr<JSONObject>* output) OVERRIDE;
184 void setObject(const String& name, PassRefPtr<JSONObject>);
198 PassRefPtr<JSONObject> getObject(const String& name) const;
221 class PLATFORM_EXPORT JSONObject : public JSONObjectBase {
223 static PassRefPtr<JSONObject> create(
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
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 with a "tagName" property. If the tag has attributes, then
    [all...]
JSONObject.java 39 * A JSONObject is an unordered collection of name/value pairs. Its
45 * <code>Boolean</code>, <code>JSONArray</code>, <code>JSONObject</code>,
46 * <code>Number</code>, <code>String</code>, or the <code>JSONObject.NULL</code>
47 * object. A JSONObject constructor can be used to convert an external form
62 * myString = new JSONObject().put("JSON", "Hello, World!").toString();</pre>
89 public class JSONObject {
92 * JSONObject.NULL is equivalent to the value that JavaScript calls null,
111 * @return true if the object parameter is the JSONObject.NULL object
130 * The map where the JSONObject's properties are kept.
138 * <code>JSONObject.NULL.equals(null)</code> returns <code>true</code>
    [all...]
Cookie.java 28 * Convert a web browser cookie specification to a JSONObject and back.
67 * Convert a cookie specification string into a JSONObject. The string
75 * a JSONObject.
77 * @return A JSONObject containing "name", "value", and possibly other
81 public static JSONObject toJSONObject(String string) throws JSONException {
83 JSONObject o = new JSONObject();
109 * Convert a JSONObject into a cookie specification string. The JSONObject
111 * If the JSONObject contains "expires", "domain", "path", or "secure
    [all...]
HTTP.java 30 * Convert an HTTP header to a JSONObject and back.
40 * Convert an HTTP header string into a JSONObject. It can be a request
67 * @return A JSONObject containing the elements and attributes
71 public static JSONObject toJSONObject(String string) throws JSONException {
72 JSONObject o = new JSONObject();
108 * Convert a JSONObject into an HTTP header. A request header must contain
120 * Any other members of the JSONObject will be output as HTTP fields.
122 * @param o A JSONObject
127 public static String toString(JSONObject o) throws JSONException
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
SuggestionAnswer.java 11 import org.json.JSONObject;
57 JSONObject jsonAnswer = new JSONObject(answerContents);
101 ImageLine(JSONObject jsonLine) throws JSONException {
179 TextField(JSONObject jsonTextField) throws JSONException {
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonWireAdapter.java 21 import com.google.polo.json.JSONObject;
90 JSONObject outerMessage;
92 outerMessage = new JSONObject(outerString);
119 JSONObject outerJson;
131 * Writes a {@link JSONObject} to the output stream as a {@link String}.
136 private void writeJson(JSONObject message) throws IOException {
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
SimpleWikiHelper.java 27 import org.json.JSONObject;
148 JSONObject response = new JSONObject(content);
149 JSONObject query = response.getJSONObject("query");
150 JSONObject pages = query.getJSONObject("pages");
151 JSONObject page = pages.getJSONObject((String) pages.keys().next());
153 JSONObject revision = revisions.getJSONObject(0);
ExtendedWikiHelper.java 21 import org.json.JSONObject;
208 JSONObject response = new JSONObject(content);
209 JSONObject query = response.getJSONObject("query");
211 JSONObject word = random.getJSONObject(0);
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
SimpleWikiHelper.java 27 import org.json.JSONObject;
155 JSONObject response = new JSONObject(content);
156 JSONObject query = response.getJSONObject("query");
157 JSONObject pages = query.getJSONObject("pages");
158 JSONObject page = pages.getJSONObject((String) pages.keys().next());
160 JSONObject revision = revisions.getJSONObject(0);
  /external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
JsoMap.java 21 import org.json.JSONObject;
30 class JsoMap extends JSONObject {
63 private JsoMap(JSONObject copyFrom, String[] names) throws JSONException {
100 * Access JSONObject.get(String) which is shadowed by JsoMap.get(String).
146 // JSONObject.keys() has no type information.
151 if (o instanceof JSONObject) {
152 JSONObject value = (JSONObject) o;
239 * Save a string to JSONObject mapping into this map.
242 * @param value a JSONObject as value
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-java/
HelloLicenseServlet.java 23 import com.google.appengine.repackaged.org.json.JSONObject;
93 JSONObject json = new JSONObject(file);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsSerializer.java 44 import org.json.JSONObject;
73 JSONObject ratObj = new JSONObject();
81 JSONObject sizeObj = new JSONObject();
89 JSONObject sizeObj = new JSONObject();
97 JSONObject rectObj = new JSONObject();
106 JSONObject pointObj = new JSONObject()
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
StaticMetadataCollectionTest.java 29 import org.json.JSONObject;
60 JSONObject cameraInfo = cameraInfoGetter.getCameraInfo(id);
65 JSONObject[] templates = cameraInfoGetter.getCaptureRequestTemplates(id);
125 } else if (arr.get(0) instanceof JSONObject) {
127 dumpJsonObjectAsCtsResult(name+String.format("[%04d]",i),(JSONObject)arr.get(i));
150 private void dumpJsonObjectAsCtsResult(String name, JSONObject obj) {
159 if (obj.get(key) instanceof JSONObject) {
160 dumpJsonObjectAsCtsResult(name+"."+key, (JSONObject)obj.get(key));
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
CameraMetadataGetter.java 54 import org.json.JSONObject;
138 public JSONObject getCameraInfo(String cameraId) {
139 JSONObject staticMetadata = null;
150 public JSONObject[] getCaptureRequestTemplates(String cameraId) {
151 JSONObject[] templates = new JSONObject[TEMPLATE_IDS.length];
171 return new JSONObject[0];
249 JSONObject ratObj = new JSONObject();
257 JSONObject sizeObj = new JSONObject()
    [all...]
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
HostInfo.java 9 import org.json.JSONObject;
40 public static HostInfo create(JSONObject json) throws JSONException {
  /external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
AppRTCClient.java 36 import org.json.JSONObject;
238 JSONObject roomJson = new JSONObject(
309 JSONObject json = new JSONObject(mediaConstraintsString);
335 JSONObject json = new JSONObject(jsonString);
336 JSONObject mandatoryJSON = json.optJSONObject("mandatory");
351 JSONObject keyValueDict = optionalJSON.getJSONObject(i);
372 JSONObject responseJSON = new JSONObject(response)
    [all...]

Completed in 1141 milliseconds

12 3 4 5 6