/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/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
TestProviderTests.java | 126 flickaId = c.getLong(PONY_ID); 131 eliseId = c.getLong(PONY_ID); 175 flickaId = c.getLong(PONY_ID); 180 eliseId = c.getLong(PONY_ID);
|
/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/ |
DataRowHandlerForPhoneNumber.java | 69 long dataId = c.getLong(DataUpdateQuery._ID); 70 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); 102 long dataId = c.getLong(DataDeleteQuery._ID); 103 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
|
/cts/tests/tests/database/src/android/database/cts/ |
CursorWindowTest.java | 84 assertEquals(0, window.getLong(0, 0)); 95 assertEquals(0, window.getLong(0, 0)); 197 // Test putString, getString, getLong, getInt, isBlob 200 assertEquals(NUMBER_LONG_INTEGER, cursorWindow.getLong(0, 0)); 214 assertEquals(0, cursorWindow.getLong(0, 0)); 222 // Test putNull, getString, getLong, getDouble, getBlob, getInd, getShort, getFloat, 226 assertEquals(0, cursorWindow.getLong(0, 1)); 236 // Test putLong, getLong, getInt, getString , getShort, getFloat, getDouble, isBlob. 238 assertEquals(NUMBER_LONG_INTEGER, cursorWindow.getLong(0, 2)); 255 assertEquals(NUMBER_LONG_INTEGER, cursorWindow.getLong(0, 3)) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
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/providers/MediaProvider/src/com/android/providers/media/ |
MediaDocumentsProvider.java | 307 final long id = cursor.getLong(ImagesBucketQuery.BUCKET_ID); 329 final long id = cursor.getLong(VideosBucketQuery.BUCKET_ID); 570 final long id = cursor.getLong(ImagesBucketQuery.BUCKET_ID); 579 cursor.getLong(ImagesBucketQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); 601 final long id = cursor.getLong(ImageQuery._ID); 607 row.add(Document.COLUMN_SIZE, cursor.getLong(ImageQuery.SIZE)); 610 cursor.getLong(ImageQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); 628 final long id = cursor.getLong(VideosBucketQuery.BUCKET_ID); 637 cursor.getLong(VideosBucketQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); 659 final long id = cursor.getLong(VideoQuery._ID) [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientAlternatesAdapter.java | 229 c.getLong(Queries.Query.CONTACT_ID), 230 c.getLong(Queries.Query.DATA_ID), 248 + " CONTACT ID : " + c.getLong(Queries.Query.CONTACT_ID) 402 original.getLong(Query.CONTACT_ID), 403 original.getLong(Query.DATA_ID), 416 c.getLong(Queries.Query.DATA_ID); 430 c.getLong(Queries.Query.CONTACT_ID), 431 c.getLong(Queries.Query.DATA_ID), 444 if (cursor.getLong(Queries.Query.DATA_ID) == mCurrentId) {
|
/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/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 343 long contactId = cursor.getLong(0); 356 mSuggestedContactIds[i] = cursor.getLong(0); 385 long contactId = mDataCursor.getLong(DataQuery.CONTACT_ID); 396 long rawContactId = mDataCursor.getLong(DataQuery.RAW_CONTACT_ID); 427 long dataId = mDataCursor.getLong(DataQuery.ID); 428 long photoId = mDataCursor.getLong(DataQuery.PHOTO_ID);
|
/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);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerTest.java | 183 long playlistid = c.getLong(c.getColumnIndex(MediaStore.MediaColumns._ID)); 190 long song1a = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 192 long song1b = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 204 playlistid = c.getLong(c.getColumnIndex(MediaStore.MediaColumns._ID)); 211 long song2a = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 213 long song2b = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 265 long parent1id = c.getLong(0); 269 long parent2id = c.getLong(0);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_ArtistsTest.java | 85 long id = c.getLong(c.getColumnIndex(Artists._ID)); 116 long fid = c.getLong(c.getColumnIndex(Artists._ID));
|
MediaStore_Video_ThumbnailsTest.java | 92 long vid = c.getLong(2); 96 long id = c.getLong(0);
|
Settings_SystemTest.java | 93 assertEquals(20l, System.getLong(cr, LONG_FIELD)); 130 assertEquals(20, System.getLong(cr, "long", 20l));
|
/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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCursorWrapper.java | 129 public long getLong(int i) { 130 return wrappedCursor.getLong(i);
|
/frameworks/base/core/java/android/database/ |
CursorWrapper.java | 105 public long getLong(int columnIndex) { 106 return mCursor.getLong(columnIndex);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
FilteringCursorWrapper.java | 113 public long getLong(int column) { 114 return mCursor.getLong(column);
|
RootCursorWrapper.java | 108 public long getLong(int column) { 109 return mCursor.getLong(column);
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchService.java | 275 long clockBaseTime = prefs.getLong(Stopwatches.NOTIF_CLOCK_BASE, -1); 276 long clockElapsedTime = prefs.getLong(Stopwatches.NOTIF_CLOCK_ELAPSED, -1); 312 mStartTime = prefs.getLong(Stopwatches.PREF_START_TIME, 0); 313 mElapsedTime = prefs.getLong(Stopwatches.PREF_ACCUM_TIME, 0); 325 long lap = prefs.getLong(key, 0); 378 long intervalStartTime = prefs.getLong( 423 long accumulatedTime = prefs.getLong( 425 long intervalStartTime = prefs.getLong(
|
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
EmailSyncAlarmReceiver.java | 79 long mailboxId = c.getLong(0); 95 long mailboxId = c.getLong(0);
|