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

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/database/src/android/database/cts/
MatrixCursorTest.java 104 assertEquals(Long.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX));
106 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
108 assertEquals(Long.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
187 assertEquals(Short.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX));
188 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
189 assertEquals(Short.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
218 assertEquals(0, mMatrixCursor.getLong(COLUMN0_INDEX));
219 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
220 assertEquals(Long.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
248 assertEquals(-1, mMatrixCursor.getLong(COLUMN0_INDEX))
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_MediaTest.java 94 long id = c.getLong(c.getColumnIndex(Media._ID));
98 assertTrue(c.getLong(c.getColumnIndex(Media.DATE_ADDED)) > 0);
99 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED)));
108 long albumId = c.getLong(c.getColumnIndex(Media.ALBUM_ID));
113 long artistId = c.getLong(c.getColumnIndex(Media.ARTIST_ID));
116 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Media.DURATION)));
137 long id2 = c.getLong(c.getColumnIndex(Media._ID));
141 assertEquals(Audio2.DATE_MODIFIED, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED)));
149 assertTrue(albumId != c.getLong(c.getColumnIndex(Media.ALBUM_ID)));
152 assertTrue(artistId != c.getLong(c.getColumnIndex(Media.ARTIST_ID)))
    [all...]
Settings_SecureTest.java 33 * NumberFormatExceptions for getInt, getFloat, and getLong.
63 assertEquals(20, Secure.getLong(cr, "long", 20));
121 Secure.getLong(cr, NO_SUCH_SETTING);
127 Secure.getLong(cr, STRING_VALUE_SETTING);
MediaStore_Video_MediaTest.java 115 long id = c.getLong(c.getColumnIndex(Media._ID));
120 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN)));
128 assertEquals(0, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC)));
136 long realDateAdded = c.getLong(c.getColumnIndex(Media.DATE_ADDED));
138 assertEquals(dateModified, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED)));
169 assertEquals(id, c.getLong(c.getColumnIndex(Media._ID)));
173 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN)));
181 assertEquals(2, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC)));
190 assertEquals(realDateAdded, c.getLong(c.getColumnIndex(Media.DATE_ADDED)));
191 assertEquals(dateModified, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED)))
    [all...]
ContactsContract_TestDataBuilder.java 193 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID));
197 public long getLong(String columnName) {
198 return mCursor.getLong(mCursor.getColumnIndex(columnName));
206 assertEquals(value, mCursor.getLong(getColumnIndex(columnName)));
269 return getLong(RawContacts.CONTACT_ID);
334 return getLong(Data.RAW_CONTACT_ID);
338 return getLong(Data._ID);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
ChromeBrowserProviderSuggestionsCursor.java 80 long lastAccess = mCursor.getLong(
94 public long getLong(int c) {
98 long lastAccess = mCursor.getLong(
  /frameworks/base/core/tests/coretests/src/android/database/
CursorWindowTest.java 87 long int2 = window.getLong(0, 1);
92 assertEquals(1198032740000L, window.getLong(0, 3));
96 assertEquals(1198032740000L, window.getLong(0, 3));
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
MediaItemStatus.java 209 return mBundle.getLong(KEY_TIMESTAMP);
232 return mBundle.getLong(KEY_CONTENT_POSITION, -1);
242 return mBundle.getLong(KEY_CONTENT_DURATION, -1);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SettingsTest.java 77 assertThat(Settings.System.getLong(contentResolver, "property", 10L), equalTo(10L));
79 assertThat(Settings.System.getLong(contentResolver, "property"), equalTo(42L));
80 assertThat(Settings.System.getLong(contentResolver, "property", 10L), equalTo(42L));
92 Settings.System.getLong(contentResolver, "property");
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/content/
TestSharedPreferencesTest.java 48 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(3l));
76 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(3l));
97 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(3l));
119 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(666l));
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
FieldTest.java 28 assertEquals(5073258162644648461L, field.getLong(null));
ArrayTest.java 117 try { Array.getLong(booleans, 0); fail(); } catch (IllegalArgumentException expected) {}
118 assertEquals((long) bytes[0], Array.getLong(bytes, 0));
119 assertEquals((long) chars[0], Array.getLong(chars, 0));
120 try { Array.getLong(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
121 try { Array.getLong(floats, 0); fail(); } catch (IllegalArgumentException expected) {}
122 assertEquals((long) ints[0], Array.getLong(ints, 0));
123 assertEquals(longs[0], Array.getLong(longs, 0));
124 assertEquals((long) shorts[0], Array.getLong(shorts, 0));
125 try { Array.getLong(null, 0); fail(); } catch (NullPointerException expected) {}
  /packages/apps/ContactsCommon/src/com/android/contacts/common/database/
EmptyCursor.java 62 public long getLong(int column) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DataStatus.java 66 final long newTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1);
79 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1);
157 private static long getLong(Cursor cursor, String columnName, long missingValue) {
159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogGroupBuilder.java 131 final long firstDate = cursor.getLong(CallLogQuery.DATE);
132 final long firstRowId = cursor.getLong(CallLogQuery.ID);
154 final long currentCallId = cursor.getLong(CallLogQuery.ID);
155 final long date = cursor.getLong(CallLogQuery.DATE);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothPreferences.java 57 return getSharedPreferences(context).getLong(
85 long lastDiscoverableEndTime = sharedPreferences.getLong(
96 } else if ((sharedPreferences.getLong(KEY_DISCOVERING_TIMESTAMP, 0) +
107 long lastDeviceSelectedTime = sharedPreferences.getLong(
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DataStatus.java 64 final long newTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1);
77 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1);
151 private static long getLong(Cursor cursor, String columnName, long missingValue) {
153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForOrganization.java 63 long dataId = c.getLong(DataUpdateQuery._ID);
64 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
97 long dataId = c.getLong(DataUpdateQuery._ID);
98 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorState.h 61 long getLong(const String& propertyName);
62 long getLong(const String& propertyName, long defaultValue);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
AbstractTrackEncryptionBox.java 43 return new UUID(b.getLong(), b.getLong()).toString();
  /frameworks/base/core/java/android/database/
AbstractWindowedCursor.java 73 public long getLong(int columnIndex) {
75 return mWindow.getLong(mPos, columnIndex);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RootCursorWrapper.java 108 public long getLong(int column) {
109 return mCursor.getLong(column);
  /frameworks/support/v4/api21/android/support/v4/media/
MediaMetadataCompatApi21.java 34 public static long getLong(Object metadataObj, String key) {
35 return ((MediaMetadata)metadataObj).getLong(key);
  /packages/apps/Browser/src/com/android/browser/
DateSortedExpandableListAdapter.java 86 long date = getLong(mDateIndex);
140 /* package */ long getLong(int cursorIndex) {
142 return mCursor.getLong(cursorIndex);
167 if (getLong(mIdIndex) == childId) {
168 int bin = mDateSorter.getIndex(getLong(mDateIndex));
344 return getLong(mIdIndex);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
MessageMove.java 132 final long id = c.getLong(ProjectionMoveQuery.COLUMN_ID);
133 final long messageKey = c.getLong(ProjectionMoveQuery.COLUMN_MESSAGE_KEY);
135 final long srcFolderKey = c.getLong(ProjectionMoveQuery.COLUMN_SRC_FOLDER_KEY);
136 final long dstFolderKey = c.getLong(ProjectionMoveQuery.COLUMN_DST_FOLDER_KEY);
237 return moveCursor.getLong(
252 return messageCursor.getLong(0);

Completed in 628 milliseconds

12 3 4 5 6 7 8 91011>>