Searched refs:getLong (Results 1 - 25 of 340) sorted by relevance

1234567891011>>

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DSyncCalendarTest.java82 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 DStreamItemPhotoEntry.java51 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 DDataStatus.java66 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);
H A DStreamItemEntry.java86 mId = getLong(cursor, StreamItems._ID);
89 mTimestamp = getLong(cursor, StreamItems.TIMESTAMP);
190 private static long getLong(Cursor cursor, String columnName) { method in class:StreamItemEntry
192 return cursor.getLong(columnIndex);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImageList.java116 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 DVideoList.java54 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 DDataRowHandlerForEmail.java60 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 DDataRowHandlerForNickname.java57 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 DDataRowHandlerForIdentity.java55 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
68 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
H A DReorderingCursorWrapper.java82 public long getLong(int column) { method in class:ReorderingCursorWrapper
83 return mCursor.getLong(column);
H A DDataRowHandlerForOrganization.java63 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 DLocalVideo.java107 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 DSummaryForAllUidLoader.java58 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 DEmptyCursor.java62 public long getLong(int column) { method in class:EmptyCursor
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothPreferences.java57 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 DDataStatus.java64 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 DEmailSyncAlarmReceiver.java79 long mailboxId = c.getLong(0);
95 long mailboxId = c.getLong(0);
/packages/apps/Browser/src/com/android/browser/
H A DDateSortedExpandableListAdapter.java86 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 DMessageMove.java132 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 DDateSortedExpandableListAdapter.java107 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 DCircleTimerView.java238 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 DBP2ProviderTests.java90 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 DEventInfoActivity.java80 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 DMockSuggestionProviderCursor.java71 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 DAlertActivity.java118 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);

Completed in 506 milliseconds

1234567891011>>