HomeSort by relevance Sort by last modified time
    Searched refs:JSONObject (Results 51 - 75 of 267) sorted by null

1 23 4 5 6 7 8 91011

  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
ListParams.java 26 import org.json.JSONObject;
91 JSONObject json = new JSONObject();
112 JSONObject json = null;
114 json = new JSONObject(serializedParams);
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
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...]
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));
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...]
  /external/autotest/frontend/client/src/autotest/afe/
AfeUtils.java 16 import com.google.gwt.json.client.JSONObject;
41 public static String formatStatusCounts(JSONObject counts, String joinWith) {
67 JSONObject label = labels.get(i).isObject();
70 JSONObject atomicGroup = label.get("atomic_group").isObject();
108 public static JSONString getLockedText(JSONObject host) {
113 public static void abortHostQueueEntries(Collection<JSONObject> entries,
121 Set<JSONObject> synchronousEntries = new JSONObjectSet<JSONObject>();
122 for (JSONObject entry : entries) {
123 JSONObject job = entry.get("job").isObject()
    [all...]
HostTable.java 6 import com.google.gwt.json.client.JSONObject;
37 public void handlePage(List<JSONObject> data) {
JobDetailView.java 29 import com.google.gwt.json.client.JSONObject;
141 JSONObject params = new JSONObject();
146 JSONObject jobObject;
202 JSONObject counts = jobObject.get("status_counts").isObject();
238 public void onError(JSONObject errorObject) {
245 protected boolean isAnyEntryAbortable(JSONObject statusCounts) {
267 public void onRowClicked(int rowIndex, JSONObject row, boolean isRightClick) {
283 public void onRowClicked(int rowIndex, JSONObject row, boolean isRightClick) {
284 JSONObject host = row.get("host").isObject()
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
HalMockUtils.java 26 import org.json.JSONObject;
89 JSONObject jsonObject = new JSONObject(jsonArgs);
90 Iterator<String> iter = jsonObject.keys();
93 JSONObject field = jsonObject.optJSONObject(key);
115 public static JSONObject convertBundleToJson(Bundle bundle) throws JSONException {
118 JSONObject json = new JSONObject();
    [all...]
  /libcore/json/src/main/java/org/json/
JSONObject.java 30 * Values may be any mix of {@link JSONObject JSONObjects}, {@link JSONArray
54 * coerced, the sentinel value {@link JSONObject#NULL} is coerced to the
70 * JSONObject#NULL}. In particular, calling {@code put(name, null)} removes the
71 * named entry from the object but {@code put(name, JSONObject.NULL)} stores an
72 * entry whose value is {@code JSONObject.NULL}.
80 public class JSONObject {
111 * Creates a {@code JSONObject} with no name/value mappings.
113 public JSONObject() {
118 * Creates a new {@code JSONObject} by copying all name/value mappings from
126 public JSONObject(Map copyFrom)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapCard.java 26 import org.json.JSONObject;
65 JSONObject json = new JSONObject();
83 JSONObject json = new JSONObject();
104 JSONObject jsonPhone = new JSONObject();
126 JSONObject jsonEmail = new JSONObject();
  /device/google/contexthub/util/nanotool/
calibrationfile.h 27 #include "JSONObject.h"
37 const sp<JSONObject> GetJSONObject() const;
54 sp<JSONObject> json_root_;
  /external/autotest/frontend/client/src/autotest/common/table/
Filter.java 5 import com.google.gwt.json.client.JSONObject;
14 public abstract void addParams(JSONObject params);
JSONObjectSet.java 3 import com.google.gwt.json.client.JSONObject;
15 public class JSONObjectSet<T extends JSONObject> extends AbstractSet<T> {
28 return ((JSONObject) obj).get("id").toString();
  /external/autotest/frontend/client/src/autotest/tko/
CompositeTestSet.java 5 import com.google.gwt.json.client.JSONObject;
18 public JSONObject getInitialCondition() {
TestContextMenu.java 5 import com.google.gwt.json.client.JSONObject;
32 final JSONObject condition = tests.getCondition();
TkoUtils.java 12 import com.google.gwt.json.client.JSONObject;
48 protected static JSONObject getConditionParams(String condition) {
49 JSONObject params = new JSONObject();
58 static String getSqlCondition(JSONObject args) {
91 static void doCsvRequest(RpcDataSource dataSource, Query query, JSONObject extraParams) {
93 JSONObject arguments = query.getParams();
98 JSONObject request = JsonRpcProxy.buildRequestObject(rpcMethodName, arguments);
MetricsPlot.java 10 import com.google.gwt.json.client.JSONObject;
28 protected void showDrilldownImpl(JSONObject drilldownParams) {
33 JSONObject params = new JSONObject();
PreconfigSelector.java 11 import com.google.gwt.json.client.JSONObject;
50 JSONObject preconfigs = staticData.getData("preconfigs").isObject();
64 JSONObject params = new JSONObject();
70 JSONObject config = result.isObject();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
IncludedDependenciesTest.java 3 import org.json.JSONObject;
17 assertEquals("value", new JSONObject("{'name':'value'}").getString("name"));
  /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;
  /frameworks/base/core/java/com/android/server/backup/
AccountSyncSettingsBackupHelper.java 33 import org.json.JSONObject;
97 JSONObject dataJSON = serializeAccountSyncSettingsToJSON();
126 private JSONObject serializeAccountSyncSettingsToJSON() throws JSONException {
147 JSONObject backupJSON = new JSONObject();
161 JSONObject accountJSON = new JSONObject();
171 JSONObject authorityJSON = new JSONObject();
253 JSONObject dataJSON = new JSONObject(dataString)
    [all...]
  /external/autotest/frontend/client/src/autotest/common/
StatusSummary.java 5 import com.google.gwt.json.client.JSONObject;
17 public static StatusSummary getStatusSummary(JSONObject group, String passCountField,
33 private static int getField(JSONObject group, String field) {
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
JsonRequestTest.java 21 import org.json.JSONObject;
44 assertNotNull(JsonObjectRequest.class.getConstructor(String.class, JSONObject.class,
47 JSONObject.class, Response.Listener.class, Response.ErrorListener.class));

Completed in 1113 milliseconds

1 23 4 5 6 7 8 91011