Searched refs:getLong (Results 1 - 25 of 383) 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/Messaging/src/com/android/messaging/util/
H A DBugleGservices.java42 public abstract long getLong(final String key, final long defaultValue); method in class:BugleGservices
H A DBugleGservicesImpl.java40 public long getLong(final String key, final long defaultValue) { method in class:BugleGservicesImpl
H A DBuglePrefs.java84 public abstract long getLong(final String key, final long defaultValue); method in class:BuglePrefs
/packages/apps/Camera2/src/com/android/camera/data/
H A DVideoDataFactory.java36 long id = c.getLong(VideoDataQuery.COL_ID);
39 long creationDateInMilliSeconds = c.getLong(VideoDataQuery.COL_DATE_TAKEN);
40 long lastModifiedDateInSeconds = c.getLong(VideoDataQuery.COL_DATE_MODIFIED);
67 long sizeInBytes = c.getLong(VideoDataQuery.COL_SIZE);
70 long videoDurationMillis = c.getLong(VideoDataQuery.COL_DURATION);
H A DPhotoDataFactory.java33 long id = c.getLong(PhotoDataQuery.COL_ID);
36 long dateTakenInMilliSeconds = c.getLong(PhotoDataQuery.COL_DATE_TAKEN);
37 long dateModifiedInSeconds = c.getLong(PhotoDataQuery.COL_DATE_MODIFIED);
65 long sizeInBytes = c.getLong(PhotoDataQuery.COL_SIZE);
/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/apps/Messaging/tests/src/com/android/messaging/datamodel/
H A DFrequentContactsCursorBuilderTest.java36 assertEquals(expected.getLong(ContactUtil.INDEX_DATA_ID),
37 actual.getLong(ContactUtil.INDEX_DATA_ID));
38 assertEquals(expected.getLong(ContactUtil.INDEX_CONTACT_ID),
39 actual.getLong(ContactUtil.INDEX_CONTACT_ID));
/packages/apps/Messaging/tests/src/com/android/messaging/util/
H A DFakeBugleGservices.java31 public long getLong(final String key, final long defaultValue) { method in class:FakeBugleGservices
H A DFakeBuglePrefs.java33 public long getLong(final String key, final long defaultValue) { method in class:FakeBuglePrefs
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java59 long dataId = c.getLong(DataUpdateQuery._ID);
60 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
74 long dataId = c.getLong(DataDeleteQuery._ID);
75 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
H A DDataRowHandlerForNickname.java56 long dataId = c.getLong(DataUpdateQuery._ID);
57 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
76 long dataId = c.getLong(DataDeleteQuery._ID);
77 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
H A DDataRowHandlerForIdentity.java54 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
67 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);
/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/Messaging/src/com/android/messaging/datamodel/data/
H A DContactListItemData.java53 final long dataId = cursor.getLong(ContactUtil.INDEX_DATA_ID);
54 final long contactId = cursor.getLong(ContactUtil.INDEX_CONTACT_ID);
70 final long contactIdPrevious = cursor.getLong(ContactUtil.INDEX_CONTACT_ID);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DImportantNoticeUtilsTests.java59 public Long getLong(final String key) { method in class:ImportantNoticeUtilsTests.ImportantNoticePreferences
61 return mPref.getLong(key, 0);
87 mLastTime = getLong(KEY_TIMESTAMP_OF_CONTACTS_NOTICE);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator2.java264 mimeTypeCondition.append(c.getLong((0)));
407 if (!connectedRawContactIds.contains(cursor.getLong(0))) {
470 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID);
520 long rawContactId1 = c.getLong(AggregateExceptionQuery.RAW_CONTACT_ID1);
526 rId = c.getLong(AggregateExceptionQuery.RAW_CONTACT_ID2);
527 contactId = c.getLong(AggregateExceptionQuery.CONTACT_ID2);
528 accountId = c.getLong(AggregateExceptionQuery.ACCOUNT_ID2);
532 rId = c.getLong(AggregateExceptionQuery.RAW_CONTACT_ID1);
533 contactId = c.getLong(AggregateExceptionQuery.CONTACT_ID1);
534 accountId = c.getLong(AggregateExceptionQuer
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
H A DEmptyCursor.java62 public long getLong(int column) { method in class:EmptyCursor
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
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);
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogGroupBuilder.java130 final long firstDate = cursor.getLong(CallLogQuery.DATE);
131 final long firstRowId = cursor.getLong(CallLogQuery.ID);
153 final long currentCallId = cursor.getLong(CallLogQuery.ID);
154 final long date = cursor.getLong(CallLogQuery.DATE);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothPreferences.java61 return getSharedPreferences(context).getLong(
89 long lastDiscoverableEndTime = sharedPreferences.getLong(
100 } else if ((sharedPreferences.getLong(KEY_DISCOVERING_TIMESTAMP, 0) +
111 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);

Completed in 5856 milliseconds

1234567891011>>