Home
last modified time | relevance | path

Searched refs:idColumn (Results 1 – 16 of 16) sorted by relevance

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java90 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists._ID); in load() local
93 long id = cursor.getLong(idColumn); in load()
115 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums._ID); in load() local
120 long id = cursor.getLong(idColumn); in load()
152 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID); in load() local
158 long id = cursor.getLong(idColumn); in load()
195 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists._ID); in load() local
198 long id = cursor.getLong(idColumn); in load()
219 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Genres._ID); in load() local
222 long id = cursor.getLong(idColumn); in load()
DVideoStore.java123 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media._ID); in load() local
142 long id = cursor.getLong(idColumn); in load()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java263 int idColumn = cursor.getColumnIndexOrThrow(Calls._ID); in handleInsertsAndUpdates() local
287 long id = cursor.getLong(idColumn); in handleInsertsAndUpdates()
472 int idColumn = cursor.getColumnIndexOrThrow(AnnotatedCallLog._ID); in getAnnotatedCallLogIds() local
474 ids.add(cursor.getLong(idColumn)); in getAnnotatedCallLogIds()
514 int idColumn = cursor.getColumnIndexOrThrow(Calls._ID); in getIdsFromSystemCallLogThatMatch() local
516 ids.add(cursor.getLong(idColumn)); in getIdsFromSystemCallLogThatMatch()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java163 private final int idColumn; field in Coalescer.RowCombiner
183 idColumn = annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog._ID); in RowCombiner()
243 coalescedIdsBuilder.addCoalescedId(annotatedCallLogRow.getInt(idColumn)); in mergeRow()
297 coalescedIdsBuilder.addCoalescedId(annotatedCallLogRow.getInt(idColumn)); in mergeRow()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java77 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.MediaColumns._ID); in onCreate() local
82 new PhotoEntry(cursor.getLong(idColumn), cursor.getString(nameColumn))); in onCreate()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneCallLog.java80 int idColumn = cursor.getColumnIndex(CallLog.Calls._ID); in fromCursor() local
87 phoneCallLog.mId = cursor.getLong(idColumn); in fromCursor()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java1065 protected void assertSelection(Uri uri, ContentValues values, String idColumn, long id) { in assertSelection() argument
1066 assertSelection(uri, values, idColumn, id, null); in assertSelection()
1069 public void assertSelectionWithProjection(Uri uri, ContentValues values, String idColumn, in assertSelectionWithProjection() argument
1071 assertSelection(uri, values, idColumn, id, buildProjection(values)); in assertSelectionWithProjection()
1074 private void assertSelection(Uri uri, ContentValues values, String idColumn, long id, in assertSelection() argument
1078 if (idColumn != null) { in assertSelection()
1079 sb.append(idColumn).append("=").append(id); in assertSelection()
DLegacyContactsProviderTest.java996 String idColumn, long id) { in assertSelection() argument
997 values.put(idColumn, id); in assertSelection()
998 String qualified = legacyTable + "." + idColumn; in assertSelection()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java1319 final int idColumn = cursor.getColumnIndex(Data._ID); in getDistinctContactIdSize() local
1325 cursor.getLong(contactIdColumn != -1 ? contactIdColumn : idColumn); in getDistinctContactIdSize()
1344 final int idColumn = cursor.getColumnIndex(Data._ID); in appendDistinctNameIdList() local
1349 cursor.getLong(contactIdColumn != -1 ? contactIdColumn : idColumn); in appendDistinctNameIdList()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java162 public void setIdColumn(String idColumn) { in setIdColumn() argument
163 mIdColumn = idColumn; in setIdColumn()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java261 final int idColumn = insertHelper.getColumnIndex( in addDefaultBookmarks() local
300 insertHelper.bind(idColumn, bookmarkId); in addDefaultBookmarks()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
DPhoneLookupDataSource.java399 int idColumn = cursor.getColumnIndexOrThrow(AnnotatedCallLog._ID); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() local
402 long id = cursor.getLong(idColumn); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListAdapter.java749 protected void bindViewId(final ContactListItemView view, Cursor cursor, int idColumn) { in bindViewId() argument
752 long contactId = cursor.getLong(idColumn); in bindViewId()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java920 String[] idColumn = new String[] { BaseColumns._ID }; in getFirstLockedMessage() local
924 MmsSms.TYPE_DISCRIMINATOR_COLUMN, idColumn, in getFirstLockedMessage()
930 MmsSms.TYPE_DISCRIMINATOR_COLUMN, idColumn, in getFirstLockedMessage()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java178 int idColumn = entries.getColumnIndex(Events._ID); in performInstanceExpansion() local
220 Long eventId = Long.valueOf(entries.getLong(idColumn)); in performInstanceExpansion()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java626 int idColumn = cursor.getColumnIndexOrThrow(BluetoothShare._ID); in run() local
655 int id = cursor.getInt(idColumn); in run()