HomeSort by relevance Sort by last modified time
    Searched full:jsonarray (Results 26 - 50 of 115) sorted by null

12 3 4 5

  /libcore/json/src/test/java/org/json/
SelfUseTest.java 77 private final JSONArray array = new JSONArray() {
78 @Override public JSONArray put(int index, Object value) throws JSONException {
209 JSONArray values = new JSONArray();
ParsingTest.java 220 private JSONArray array(Object... elements) {
221 return new JSONArray(Arrays.asList(elements));
249 if (input instanceof JSONArray) {
250 JSONArray array = (JSONArray) input;
JSONStringerTest.java 231 JSONArray array = new JSONArray();
312 JSONArray array = new JSONArray();
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
Recipe.java 24 import org.json.JSONArray;
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS);
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS);
RecipeListAdapter.java 30 import org.json.JSONArray;
67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST);
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
Recipe.java 24 import org.json.JSONArray;
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS);
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS);
RecipeListAdapter.java 30 import org.json.JSONArray;
67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST);
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
Recipe.java 24 import org.json.JSONArray;
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS);
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS);
RecipeListAdapter.java 30 import org.json.JSONArray;
67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST);
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
XML.java 330 JSONArray ja;
366 if (v instanceof JSONArray) {
367 ja = (JSONArray)v;
381 } else if (v instanceof JSONArray) {
382 ja = (JSONArray)v;
386 if (v instanceof JSONArray) {
422 } else if (o instanceof JSONArray) {
423 ja = (JSONArray)o;
Test.java 20 JSONArray a;
190 System.out.println(new JSONArray(jj.toString()).toString(4));
193 JSONArray ja = new JSONArray(ar);
213 j.put("JSONArray", new JSONArray());
230 a.put(new JSONArray());
375 a = new JSONArray(" [\"<escape>\", next is an implied null , , ok,] ");
422 a = new JSONArray("[2147483647, 2147483648, 9223372036854775807, 9223372036854775808]");
463 a = new JSONArray(c)
    [all...]
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
JsonParser.java 22 import org.json.JSONArray;
57 output.put(fieldName, new JSONArray(parseArray(reader)));
StatementParser.java 21 import org.json.JSONArray;
96 JSONArray relations = statement.optJSONArray(Utils.ASSET_DESCRIPTOR_FIELD_RELATION);
AndroidAppAsset.java 19 import org.json.JSONArray;
123 JSONArray certArray = asset.optJSONArray(Utils.ANDROID_APP_ASSET_FIELD_CERT_FPS);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
VideoProvider.java 22 import org.json.JSONArray;
106 JSONArray categories = jsonObj.getJSONArray(TAG_GOOGLE_VIDEOS);
117 JSONArray videos = category.getJSONArray(TAG_MEDIA);
126 JSONArray videoUrls = video.getJSONArray(TAG_SOURCES);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
VideoProvider.java 25 import org.json.JSONArray;
76 JSONArray categories = jsonObj.getJSONArray(TAG_GOOGLE_VIDEOS);
87 JSONArray videos = category.getJSONArray(TAG_MEDIA);
96 JSONArray videoUrls = video.getJSONArray(TAG_SOURCES);
  /libcore/json/src/main/java/org/json/
JSONException.java 35 * <pre> public JSONArray toJSONObject() {
JSONStringer.java 26 * Implements {@link JSONObject#toString} and {@link JSONArray#toString}. Most
48 * {@link JSONArray#toString(int)}.
222 * @param value a {@link JSONObject}, {@link JSONArray}, String, Boolean,
232 if (value instanceof JSONArray) {
233 ((JSONArray) value).writeTo(this);
  /frameworks/base/core/java/com/android/server/backup/
AccountSyncSettingsBackupHelper.java 19 import org.json.JSONArray;
146 JSONArray accountJSONArray = new JSONArray();
161 JSONArray authoritiesJSONArray = new JSONArray();
248 JSONArray accountJSONArray = dataJSON.getJSONArray(KEY_ACCOUNTS);
332 JSONArray authorities = accountJSON.getJSONArray(KEY_ACCOUNT_AUTHORITIES);
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java 23 import com.google.polo.json.JSONArray;
206 JSONArray inEncodings = new JSONArray();
221 JSONArray outEncodings = new JSONArray();
452 JSONArray inEncsArray = new JSONArray();
458 JSONArray outEncsArray = new JSONArray();
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java 21 import com.google.polo.json.JSONArray;
264 JSONArray inEncodings = new JSONArray();
280 JSONArray outEncodings = new JSONArray();
512 JSONArray inEncsArray = new JSONArray();
520 JSONArray outEncsArray = new JSONArray();
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java 34 import org.json.JSONArray;
169 // Create a special JSONArray of our JSON contacts
170 JSONArray buffer = new JSONArray(jsonContacts);
199 final JSONArray serverContacts = new JSONArray(response);
  /frameworks/base/docs/html/sdk/api_diff/19/changes/
pkg_org.json.html 84 <A NAME="JSONArray"></A>
85 <nobr><A HREF="org.json.JSONArray.html">JSONArray</A></nobr>
  /packages/apps/Email/provider_src/com/android/email/
Preferences.java 27 import org.json.JSONArray;
238 JSONArray arr = new JSONArray(serialized);
  /development/samples/Vault/src/com/example/android/vault/
VaultProvider.java 42 import org.json.JSONArray;
273 final JSONArray children = meta.getJSONArray(KEY_CHILDREN);
343 meta.put(KEY_CHILDREN, new JSONArray());
400 final JSONArray children = meta.getJSONArray(KEY_CHILDREN);
427 final JSONArray children = meta.getJSONArray(KEY_CHILDREN);
480 final JSONArray children = meta.getJSONArray(KEY_CHILDREN);
581 * Maybe remove the given value from a {@link JSONArray}.
585 private static boolean maybeRemove(JSONArray array, long value) throws JSONException {

Completed in 213 milliseconds

12 3 4 5