/packages/apps/Calendar/src/com/android/calendar/ |
EventInfoActivity.java | 59 mEventId = icicle.getLong(EventInfoFragment.BUNDLE_KEY_EVENT_ID); 60 mStartMillis = icicle.getLong(EventInfoFragment.BUNDLE_KEY_START_MILLIS); 61 mEndMillis = icicle.getLong(EventInfoFragment.BUNDLE_KEY_END_MILLIS);
|
/packages/apps/Browser/src/com/android/browser/ |
BookmarkDragHandler.java | 81 state.parent = item.getLong(BookmarksLoader.COLUMN_INDEX_PARENT); 103 long id = c.getLong(BookmarksLoader.COLUMN_INDEX_ID); 109 long parent = c.getLong(BookmarksLoader.COLUMN_INDEX_PARENT); 111 parent = c.getLong(BookmarksLoader.COLUMN_INDEX_ID);
|
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/Contacts/src/com/android/contacts/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/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 | 62 long dataId = c.getLong(DataUpdateQuery._ID); 63 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); 96 long dataId = c.getLong(DataUpdateQuery._ID); 97 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
|
LegacyContactImporter.java | 293 long id = c.getLong(GroupsQuery.ID); 299 insert.bindLong(GroupsInsert.DIRTY, c.getLong(GroupsQuery._SYNC_DIRTY)); 536 long id = c.getLong(PeopleQuery._ID); 544 c.getLong(PeopleQuery.LAST_TIME_CONTACTED)); 546 c.getLong(PeopleQuery.SEND_TO_VOICEMAIL)); 548 c.getLong(PeopleQuery.STARRED)); 550 c.getLong(PeopleQuery.TIMES_CONTACTED)); 573 long id = c.getLong(PeopleQuery._ID); 578 c.getLong(PeopleQuery.LAST_TIME_CONTACTED)); 580 c.getLong(PeopleQuery.SEND_TO_VOICEMAIL)) [all...] |
/frameworks/base/core/java/android/database/ |
AbstractWindowedCursor.java | 73 public long getLong(int columnIndex) { 75 return mWindow.getLong(mPos, columnIndex);
|
CursorWrapper.java | 105 public long getLong(int columnIndex) { 106 return mCursor.getLong(columnIndex);
|
/frameworks/base/core/java/android/os/ |
Build.java | 329 public static final long TIME = getLong("ro.build.date.utc") * 1000; 352 private static long getLong(String property) {
|
/packages/apps/Exchange/src/com/android/exchange/ |
EmailSyncAlarmReceiver.java | 80 long mailboxId = c.getLong(0); 97 long mailboxId = c.getLong(0);
|
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 150 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE); 175 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0); 186 mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0), 187 mStorage.getLong(PREFIX + "lastErrorTimeMillis", 0)); 200 long time = mStorage.getLong(name, 0); 334 time.set(mStorage.getLong(key, 0));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalVideo.java | 112 dateTakenInMs = cursor.getLong(INDEX_DATE_TAKEN); 116 fileSize = cursor.getLong(INDEX_SIZE_ID); 128 dateTakenInMs, cursor.getLong(INDEX_DATE_TAKEN)); 130 dateAddedInSec, cursor.getLong(INDEX_DATE_ADDED)); 132 dateModifiedInSec, cursor.getLong(INDEX_DATE_MODIFIED)); 137 fileSize = uh.update(fileSize, cursor.getLong(INDEX_SIZE_ID));
|
LocalImage.java | 120 dateTakenInMs = cursor.getLong(INDEX_DATE_TAKEN); 124 fileSize = cursor.getLong(INDEX_SIZE_ID); 138 dateTakenInMs, cursor.getLong(INDEX_DATE_TAKEN)); 140 dateAddedInSec, cursor.getLong(INDEX_DATE_ADDED)); 142 dateModifiedInSec, cursor.getLong(INDEX_DATE_MODIFIED)); 146 fileSize = uh.update(fileSize, cursor.getLong(INDEX_SIZE_ID));
|
/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);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 104 long id = c.getLong(c.getColumnIndex(Media._ID)); 109 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN))); 117 assertEquals(0, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC))); 125 long realDateAdded = c.getLong(c.getColumnIndex(Media.DATE_ADDED)); 127 assertEquals(dateModified, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED))); 158 assertEquals(id, c.getLong(c.getColumnIndex(Media._ID))); 162 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN))); 170 assertEquals(2, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC))); 179 assertEquals(realDateAdded, c.getLong(c.getColumnIndex(Media.DATE_ADDED))); 180 assertEquals(dateModified, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED))) [all...] |
MediaStore_Images_ThumbnailsTest.java | 157 long imageId = c.getLong(c.getColumnIndex(Media._ID)); 165 assertTrue(c.getLong(c.getColumnIndex(Thumbnails.WIDTH)) >= Math.min(src.getWidth(), 240)); 166 assertTrue(c.getLong(c.getColumnIndex(Thumbnails.HEIGHT)) >= Math.min(src.getHeight(), 240)); 172 assertEquals(50, c.getLong(c.getColumnIndex(Thumbnails.WIDTH))); 173 assertEquals(50, c.getLong(c.getColumnIndex(Thumbnails.HEIGHT))); 214 long id = c.getLong(c.getColumnIndex(Thumbnails._ID)); 217 assertEquals(0, c.getLong(c.getColumnIndex(Thumbnails.IMAGE_ID)));
|
BrowserTest.java | 101 value.put(colNames[i], cursor.getLong(i)); 122 value.put(SearchColumns.DATE, cursor.getLong(2)); 196 long oldDate = cursor.getLong(Browser.SEARCHES_PROJECTION_DATE_INDEX); 205 long date = cursor.getLong(Browser.SEARCHES_PROJECTION_DATE_INDEX); 346 oldTime = cursor.getLong(Browser.HISTORY_PROJECTION_DATE_INDEX); 361 assertTrue(oldTime < cursor.getLong(Browser.HISTORY_PROJECTION_DATE_INDEX)); 464 cursor.getLong(Browser.HISTORY_PROJECTION_DATE_INDEX)); 475 assertEquals(MAX_HISTORY_COUNT, cursor.getLong(Browser.HISTORY_PROJECTION_DATE_INDEX)); 488 cursor.getLong(Browser.HISTORY_PROJECTION_DATE_INDEX)); 516 assertEquals(end, cursor.getLong(Browser.HISTORY_PROJECTION_DATE_INDEX)) [all...] |
MediaStore_Images_MediaTest.java | 288 long id = c.getLong(c.getColumnIndex(Media._ID)); 291 assertEquals(0, c.getLong(c.getColumnIndex(Media.PICASA_ID))); 292 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN))); 298 assertEquals(0, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC))); 304 long realDateAdded = c.getLong(c.getColumnIndex(Media.DATE_ADDED)); 306 assertEquals(dateModified, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED))); 332 assertEquals(id, c.getLong(c.getColumnIndex(Media._ID))); 335 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN))); 341 assertEquals(2, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC))); 348 assertEquals(realDateAdded, c.getLong(c.getColumnIndex(Media.DATE_ADDED))) [all...] |
Settings_SecureTest.java | 38 * NumberFormatExceptions for getInt, getFloat, and getLong. 74 method = "getLong", 85 assertEquals(20, Secure.getLong(cr, "long", 20)); 143 Secure.getLong(cr, NO_SUCH_SETTING); 149 Secure.getLong(cr, STRING_VALUE_SETTING);
|
ContactsContract_TestDataBuilder.java | 193 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID)); 197 public long getLong(String columnName) { 198 return mCursor.getLong(mCursor.getColumnIndex(columnName)); 202 assertEquals(value, mCursor.getLong(getColumnIndex(columnName))); 265 return getLong(RawContacts.CONTACT_ID); 330 return getLong(Data.RAW_CONTACT_ID);
|
/frameworks/base/core/java/android/net/ |
Downloads.java | 252 result.id = c.getLong(DOWNLOADS_COLUMN_ID); 254 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 258 long modTime = c.getLong(DOWNLOADS_COLUMN_LAST_MODIFICATION); 268 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 448 result.id = c.getLong(DOWNLOADS_COLUMN_ID); 450 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 454 long modTime = c.getLong(DOWNLOADS_COLUMN_LAST_MODIFICATION); 457 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 618 long modified = c.getLong(DOWNLOADS_COLUMN_LAST_MODIFICATION);
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP2ProviderTests.java | 90 long insertedParentId = c.getLong(INDEX_PARENT); 108 insertedParentId = c.getLong(INDEX_PARENT); 128 insertedParentId = c.getLong(INDEX_PARENT);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionProviderCursor.java | 71 public long getLong(int column) { 72 return mRows.get(getPosition()).getLong(column); 131 public long getLong(int column) {
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertActivity.java | 209 dismissAlarm(cursor.getLong(INDEX_ROW_ID)); 212 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN); 213 long endMillis = cursor.getLong(AlertActivity.INDEX_END); 301 long eventId = mCursor.getLong(INDEX_EVENT_ID); 302 long begin = mCursor.getLong(INDEX_BEGIN); 303 long end = mCursor.getLong(INDEX_END);
|