HomeSort by relevance Sort by last modified time
    Searched refs:getLong (Results 26 - 50 of 738) 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);
  /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));
  /packages/apps/Contacts/src/com/android/contacts/util/
StreamItemEntry.java 88 mId = getLong(cursor, StreamItems._ID);
91 mTimestamp = getLong(cursor, StreamItems.TIMESTAMP);
193 private static long getLong(Cursor cursor, String columnName) {
195 return cursor.getLong(columnIndex);
  /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/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/core/java/android/os/
Build.java 482 public static final long TIME = getLong("ro.build.date.utc") * 1000;
505 private static long getLong(String property) {
  /frameworks/base/core/java/com/android/internal/widget/
ILockSettings.aidl 25 long getLong(in String key, in long defaultValue, in int userId);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RootCursorWrapper.java 108 public long getLong(int column) {
109 return mCursor.getLong(column);
  /packages/apps/Email/emailsync/src/com/android/emailsync/
EmailSyncAlarmReceiver.java 79 long mailboxId = c.getLong(0);
95 long mailboxId = c.getLong(0);
  /frameworks/ex/common/java/com/android/common/
OperationScheduler.java 165 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE);
203 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0);
214 mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0),
215 mStorage.getLong(PREFIX + "lastErrorTimeMillis", 0));
228 long time = mStorage.getLong(name, 0);
362 time.set(mStorage.getLong(key, 0));
  /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);
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DateSortedExpandableListAdapter.java 107 long date = getLong(mDateIndex);
159 /* package */ long getLong(int cursorIndex) {
160 return mCursor.getLong(cursorIndex);
183 if (getLong(mIdIndex) == childId) {
184 int bin = mDateSorter.getIndex(getLong(mDateIndex));
320 return getLong(mIdIndex);

Completed in 622 milliseconds

12 3 4 5 6 7 8 91011>>