HomeSort by relevance Sort by last modified time
    Searched refs:optLong (Results 1 - 25 of 28) sorted by null

1 2

  /libcore/json/src/test/java/org/json/
SelfUseTest.java 67 @Override public long optLong(String key, long defaultValue) {
69 return super.optLong(key, defaultValue);
98 @Override public long optLong(int index, long fallback) {
100 return super.optLong(index, fallback);
150 object.optLong("foo");
197 array.optLong(3);
JSONObjectTest.java 101 assertEquals(0, object.optLong("foo"));
102 assertEquals(Long.MAX_VALUE-1, object.optLong("foo", Long.MAX_VALUE-1));
296 assertEquals(9223372036854775806L, object.optLong("bar"));
300 assertEquals(9223372036854775806L, object.optLong("bar"));
304 assertEquals(9223372036854775806L, object.optLong("bar", 1L));
305 assertEquals(Long.MAX_VALUE, object.optLong("baz", 1L));
843 assertEquals(0L, object.optLong(null));
850 assertEquals(1L, object.optLong(null, 1L));
    [all...]
JSONArrayTest.java 228 assertEquals(0, array.optLong(0, 1L));
  /prebuilts/misc/common/json/
json-prebuilt.jar 
  /libcore/json/src/main/java/org/json/
JSONArray.java 441 public long optLong(int index) {
442 return optLong(index, 0L);
449 public long optLong(int index, long fallback) {
JSONObject.java 527 public long optLong(String name) {
528 return optLong(name, 0L);
537 public long optLong(String name, long fallback) {
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONArray.java 554 public long optLong(int index) {
555 return optLong(index, 0);
567 public long optLong(int index, long defaultValue) {
JSONObject.java 936 public long optLong(String key) {
937 return optLong(key, 0);
951 public long optLong(String key, long defaultValue) {
    [all...]
  /external/robolectric/v1/lib/main/
json-20080701.jar 
  /external/robolectric/v3/runtime/
json-20080701.jar 
  /prebuilts/tools/common/m2/repository/org/json/json/20080701/
json-20080701.jar 
  /development/samples/Vault/src/com/example/android/vault/
VaultProvider.java 251 row.add(Document.COLUMN_DOCUMENT_ID, meta.optLong(Document.COLUMN_DOCUMENT_ID));
253 row.add(Document.COLUMN_SIZE, meta.optLong(Document.COLUMN_SIZE));
256 row.add(Document.COLUMN_LAST_MODIFIED, meta.optLong(Document.COLUMN_LAST_MODIFIED));
  /prebuilts/tools/common/m2/repository/net/sf/json-lib/json-lib/2.3/
json-lib-2.3-jdk15.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/23/
android.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 

Completed in 489 milliseconds

1 2