/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | SyncCalendarTest.java | 82 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart")); 83 long dtEnd = cursor.getLong(cursor.getColumnIndex("dtend")); 86 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); 93 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { 109 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart")); 116 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); 125 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { 126 assertEquals(cursor.getLong(cursor.getColumnIndex("dtstart")), newDtStart); 127 assertEquals(cursor.getLong(cursor.getColumnIndex("dtend")), newDtEnd); 141 long dtStart = cursor.getLong(curso [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | StreamItemPhotoEntry.java | 51 mId = getLong(cursor, StreamItemPhotos._ID); 53 mPhotoFileId = getLong(cursor, StreamItemPhotos.PHOTO_FILE_ID); 121 private static long getLong(Cursor cursor, String columnName) { method in class:StreamItemPhotoEntry 123 return cursor.getLong(columnIndex);
|
H A D | StreamItemEntry.java | 88 mId = getLong(cursor, StreamItems._ID); 91 mTimestamp = getLong(cursor, StreamItems.TIMESTAMP); 193 private static long getLong(Cursor cursor, String columnName) { method in class:StreamItemEntry 195 return cursor.getLong(columnIndex);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | ImageList.java | 116 return cursor.getLong(INDEX_ID); 121 long id = cursor.getLong(INDEX_ID); 123 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN); 125 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000; 127 long miniThumbMagic = cursor.getLong(INDEX_MINI_THUMB_MAGIC);
|
H A D | VideoList.java | 54 return cursor.getLong(INDEX_ID); 59 long id = cursor.getLong(INDEX_ID); 61 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN); 63 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000; 65 long miniThumbMagic = cursor.getLong(INDEX_MIMI_THUMB_MAGIC);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForEmail.java | 60 long dataId = c.getLong(DataUpdateQuery._ID); 61 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); 75 long dataId = c.getLong(DataDeleteQuery._ID); 76 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
|
H A D | DataRowHandlerForNickname.java | 57 long dataId = c.getLong(DataUpdateQuery._ID); 58 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); 77 long dataId = c.getLong(DataDeleteQuery._ID); 78 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
|
H A D | DataRowHandlerForIdentity.java | 55 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); 68 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
|
H A D | ReorderingCursorWrapper.java | 82 public long getLong(int column) { method in class:ReorderingCursorWrapper 83 return mCursor.getLong(column);
|
H A D | 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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalVideo.java | 107 dateTakenInMs = cursor.getLong(INDEX_DATE_TAKEN); 108 dateAddedInSec = cursor.getLong(INDEX_DATE_ADDED); 109 dateModifiedInSec = cursor.getLong(INDEX_DATE_MODIFIED); 113 fileSize = cursor.getLong(INDEX_SIZE); 140 dateTakenInMs, cursor.getLong(INDEX_DATE_TAKEN)); 142 dateAddedInSec, cursor.getLong(INDEX_DATE_ADDED)); 144 dateModifiedInSec, cursor.getLong(INDEX_DATE_MODIFIED)); 149 fileSize = uh.update(fileSize, cursor.getLong(INDEX_SIZE));
|
/packages/apps/Settings/src/com/android/settings/net/ |
H A D | SummaryForAllUidLoader.java | 58 final long start = mArgs.getLong(KEY_START); 59 final long end = mArgs.getLong(KEY_END);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
H A D | EmptyCursor.java | 62 public long getLong(int column) { method in class:EmptyCursor
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | 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) { method in class:DataStatus 159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | 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/ |
H A D | 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) { method in class:DataStatus 153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex);
|
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
H A D | EmailSyncAlarmReceiver.java | 79 long mailboxId = c.getLong(0); 95 long mailboxId = c.getLong(0);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | DateSortedExpandableListAdapter.java | 86 long date = getLong(mDateIndex); 140 /* package */ long getLong(int cursorIndex) { method in class:DateSortedExpandableListAdapter 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/ |
H A D | 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/ |
H A D | DateSortedExpandableListAdapter.java | 107 long date = getLong(mDateIndex); 159 /* package */ long getLong(int cursorIndex) { method in class:DateSortedExpandableListAdapter 160 return mCursor.getLong(cursorIndex); 183 if (getLong(mIdIndex) == childId) { 184 int bin = mDateSorter.getIndex(getLong(mDateIndex)); 320 return getLong(mIdIndex);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | CircleTimerView.java | 238 mIntervalTime = prefs.getLong(key + PREF_CTV_INTERVAL, 0); 239 mIntervalStartTime = prefs.getLong(key + PREF_CTV_INTERVAL_START, -1); 240 mCurrentIntervalTime = prefs.getLong(key + PREF_CTV_CURRENT_INTERVAL, 0); 241 mAccumulatedTime = prefs.getLong(key + PREF_CTV_ACCUM_TIME, 0); 242 mMarkerTime = prefs.getLong(key + PREF_CTV_MARKER_TIME, -1);
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
H A D | BP2ProviderTests.java | 90 long insertedParentId = c.getLong(INDEX_PARENT); 108 insertedParentId = c.getLong(INDEX_PARENT); 128 insertedParentId = c.getLong(INDEX_PARENT);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventInfoActivity.java | 80 mEventId = icicle.getLong(EventInfoFragment.BUNDLE_KEY_EVENT_ID); 81 mStartMillis = icicle.getLong(EventInfoFragment.BUNDLE_KEY_START_MILLIS); 82 mEndMillis = icicle.getLong(EventInfoFragment.BUNDLE_KEY_END_MILLIS);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockSuggestionProviderCursor.java | 71 public long getLong(int column) { method in class:MockSuggestionProviderCursor 72 return mRows.get(getPosition()).getLong(column); 131 public long getLong(int column) { method in class:MockSuggestionProviderCursor.Row
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertActivity.java | 118 long eventId = mCursor.getLong(INDEX_EVENT_ID); 119 long eventStart = mCursor.getLong(INDEX_BEGIN); 183 long alarmId = cursor.getLong(INDEX_ROW_ID); 184 long eventId = cursor.getLong(AlertActivity.INDEX_EVENT_ID); 185 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN); 192 long endMillis = cursor.getLong(AlertActivity.INDEX_END);
|