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

12 3 4 5 6 7 8 91011

  /external/autotest/frontend/client/src/autotest/common/table/
ArrayDataSource.java 5 import com.google.gwt.json.client.JSONObject;
18 public class ArrayDataSource<T extends JSONObject> implements DataSource {
27 List<JSONObject> sortedData = new ArrayList<JSONObject>(data);
34 List<JSONObject> subList =
35 new UnmodifiableSublistView<JSONObject>(sortedData, startInt, size);
78 public void query(JSONObject params, DataCallback callback) {
RpcDataSource.java 10 import com.google.gwt.json.client.JSONObject;
21 public RpcQuery(JSONObject params) {
28 JSONObject pageParams = Utils.copyJSONObject(params);
48 List<JSONObject> resultData = handleJsonResult(result);
53 public void onError(JSONObject errorObject) {
71 public void onError(JSONObject errorObject) {
91 protected List<JSONObject> handleJsonResult(JSONValue result) {
92 return new JSONArrayList<JSONObject>(result.isArray());
96 public void query(JSONObject params, DataCallback callback) {
BooleanFilter.java 4 import com.google.gwt.json.client.JSONObject;
15 public void addParams(JSONObject params) {
FieldFilter.java 3 import com.google.gwt.json.client.JSONObject;
21 public void addParams(JSONObject params) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DatePickerDialogTask.java 25 import org.json.JSONObject;
49 JSONObject result = new JSONObject();
64 JSONObject result = new JSONObject();
79 JSONObject result = new JSONObject();
  /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/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
JsonBuilder.java 37 import org.json.JSONObject;
109 return JSONObject.NULL;
132 if (data instanceof JSONObject) {
321 private static JSONObject buildJsonAudioState(CallAudioState data)
323 JSONObject state = new JSONObject();
331 JSONObject dm = new JSONObject();
353 private static JSONObject buildJsonAddress(Address address)
355 JSONObject result = new JSONObject()
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyEvents.java 20 import org.json.JSONObject;
52 public JSONObject toJSON() throws JSONException {
53 JSONObject callState = new JSONObject();
101 public JSONObject toJSON() throws JSONException {
102 JSONObject preciseCallState = new JSONObject();
143 public JSONObject toJSON() throws JSONException {
144 JSONObject dataConnectionRealTimeInfo = new JSONObject();
    [all...]
  /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/autotest/frontend/client/src/autotest/common/
JsonRpcCallback.java 5 import com.google.gwt.json.client.JSONObject;
25 public void onError(JSONObject errorObject) {
40 protected String getErrorString(JSONObject errorObject) {
JsonRpcProxy.java 8 import com.google.gwt.json.client.JSONObject;
60 public void rpcCall(String method, JSONObject params, final JsonRpcCallback callback) {
61 JSONObject request = buildRequestObject(method, params);
65 protected abstract void sendRequest(JSONObject request, final JsonRpcCallback callback);
67 public static JSONObject buildRequestObject(String method, JSONObject params) {
68 JSONObject request = new JSONObject();
75 private static JSONArray processParams(JSONObject params) {
77 JSONObject newParams = new JSONObject()
    [all...]
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
AssetMatcherFactory.java 20 import org.json.JSONObject;
32 JSONObject queryObject = new JSONObject(query);
AssetFactory.java 19 import org.json.JSONObject;
35 public static AbstractAsset create(JSONObject asset)
JsonParser.java 24 import org.json.JSONObject;
31 * A helper class that creates a {@link JSONObject} from a {@link JsonReader}.
41 public static JSONObject parse(JsonReader reader) throws IOException, JSONException {
42 JSONObject output = new JSONObject();
  /external/autotest/frontend/client/src/autotest/afe/
HostSelector.java 19 import com.google.gwt.json.client.JSONObject;
65 private ArrayDataSource<JSONObject> selectedHostData =
66 new ArrayDataSource<JSONObject>(new String[] {"hostname"});
101 public void onRowClicked(int rowIndex, JSONObject row, boolean isRightClick) {
109 public void onAdd(Collection<JSONObject> objects) {
110 for (JSONObject row : objects) {
116 public void onRemove(Collection<JSONObject> objects) {
117 for (JSONObject row : objects) {
125 public void onRowClicked(int rowIndex, JSONObject row, boolean isRightClick) {
164 JSONObject params = new JSONObject()
    [all...]
TestSelector.java 18 import com.google.gwt.json.client.JSONObject;
44 public void addRow(JSONObject row);
58 public Widget createWidget(int row, int cell, JSONObject rowObject);
90 private JSONObject test;
92 public TestInfoBuilder(JSONObject test) {
121 private void writeSkipVerify(JSONObject test) {
143 private List<JSONObject> selectedTests = new ArrayList<JSONObject>();
174 for (JSONObject test : new JSONArrayList<JSONObject>(tests))
    [all...]
AbortSynchronousDialog.java 10 import com.google.gwt.json.client.JSONObject;
32 Collection<JSONObject> synchronousEntries,
66 private static String getGroupTag(JSONObject queueEntry) {
67 JSONObject job = queueEntry.get("job").isObject();
74 private String processJobs(Collection<JSONObject> synchronousEntries) {
77 for (JSONObject entry : synchronousEntries) {
84 JSONObject groupArgs = new JSONObject();
96 for (JSONObject groupParams : new JSONArrayList<JSONObject>(synchronousJobArgs))
    [all...]
HostListView.java 13 import com.google.gwt.json.client.JSONObject;
55 public void onRowClicked(int rowIndex, JSONObject row, boolean isRightClick) {
73 JSONObject params = new JSONObject();
101 Set<JSONObject> selectedSet = getSelectedHosts();
107 for (JSONObject host : selectedSet) {
113 private Set<JSONObject> getSelectedHosts() {
114 Set<JSONObject> selectedSet = selectionManager.getSelectedObjects();
123 Set<JSONObject> selectedSet = getSelectedHosts();
129 for (JSONObject jsonObj : selectedSet)
    [all...]
  /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/autotest/frontend/client/src/autotest/tko/
Plot.java 11 import com.google.gwt.json.client.JSONObject;
67 jsonObjectParams = @com.google.gwt.json.client.JSONObject::new(Lcom/google/gwt/core/client/JavaScriptObject;)(params);
68 instance.@autotest.tko.Plot::refresh(Lcom/google/gwt/json/client/JSONObject;)(jsonObjectParams);
77 showDrilldownImpl(new JSONObject(drilldownParamsJso));
82 showDrilldownImpl(new JSONObject(drilldownParamsJso));
88 protected abstract void showDrilldownImpl(JSONObject drilldownParams);
90 public void refresh(JSONObject params, final JsonRpcCallback callback) {
100 public void onError(JSONObject errorObject) {
106 public void refresh(JSONObject params) {
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
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 {

Completed in 916 milliseconds

12 3 4 5 6 7 8 91011