Home
last modified time | relevance | path

Searched refs:getColumnIndexOrThrow (Results 1 – 25 of 56) sorted by relevance

123

/packages/apps/Mms/src/com/android/mms/ui/
DMessageListAdapter.java360 mColumnMsgType = cursor.getColumnIndexOrThrow( in ColumnsMap()
367 mColumnMsgId = cursor.getColumnIndexOrThrow(BaseColumns._ID); in ColumnsMap()
373 mColumnSmsAddress = cursor.getColumnIndexOrThrow(Sms.ADDRESS); in ColumnsMap()
379 mColumnSmsBody = cursor.getColumnIndexOrThrow(Sms.BODY); in ColumnsMap()
385 mColumnSmsDate = cursor.getColumnIndexOrThrow(Sms.DATE); in ColumnsMap()
391 mColumnSmsDateSent = cursor.getColumnIndexOrThrow(Sms.DATE_SENT); in ColumnsMap()
397 mColumnSmsType = cursor.getColumnIndexOrThrow(Sms.TYPE); in ColumnsMap()
403 mColumnSmsStatus = cursor.getColumnIndexOrThrow(Sms.STATUS); in ColumnsMap()
409 mColumnSmsLocked = cursor.getColumnIndexOrThrow(Sms.LOCKED); in ColumnsMap()
415 mColumnSmsErrorCode = cursor.getColumnIndexOrThrow(Sms.ERROR_CODE); in ColumnsMap()
[all …]
DUriImage.java132 filePath = c.getString(c.getColumnIndexOrThrow(Part.FILENAME)); in initFromContentUri()
135 c.getColumnIndexOrThrow(Part._DATA)); in initFromContentUri()
138 c.getColumnIndexOrThrow(Part.CONTENT_TYPE)); in initFromContentUri()
143 c.getColumnIndexOrThrow(Images.Media.MIME_TYPE)); // mime_type in initFromContentUri()
145 mContentType = c.getString(c.getColumnIndexOrThrow("mimetype")); in initFromContentUri()
DManageSimMessages.java237 cursor.getColumnIndexOrThrow("address")); in copyToPhoneMemory()
238 String body = cursor.getString(cursor.getColumnIndexOrThrow("body")); in copyToPhoneMemory()
239 Long date = cursor.getLong(cursor.getColumnIndexOrThrow("date")); in copyToPhoneMemory()
254 cursor.getColumnIndexOrThrow("status")); in isIncomingMessage()
262 cursor.getString(cursor.getColumnIndexOrThrow("index_on_icc")); in deleteFromSim()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadAdapter.java70 mIdColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_ID); in DownloadAdapter()
71 mTitleColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TITLE); in DownloadAdapter()
72 mDescriptionColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_DESCRIPTION); in DownloadAdapter()
73 mStatusColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_STATUS); in DownloadAdapter()
74 mReasonColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_REASON); in DownloadAdapter()
75 mTotalBytesColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TOTAL_SIZE_BYTES); in DownloadAdapter()
76 mMediaTypeColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIA_TYPE); in DownloadAdapter()
78 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP); in DownloadAdapter()
80 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_LOCAL_FILENAME); in DownloadAdapter()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java69 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in queryRecord()
70 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in queryRecord()
72 .getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in queryRecord()
74 .getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in queryRecord()
76 .getColumnIndexOrThrow(BluetoothShare.CURRENT_BYTES)); in queryRecord()
78 .getColumnIndexOrThrow(BluetoothShare.TIMESTAMP)); in queryRecord()
80 .getColumnIndexOrThrow(BluetoothShare.DESTINATION)); in queryRecord()
83 .getColumnIndexOrThrow(BluetoothShare._DATA)); in queryRecord()
86 .getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in queryRecord()
92 info.mFileUri = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in queryRecord()
[all …]
DBluetoothOppService.java414 int idColumn = cursor.getColumnIndexOrThrow(BluetoothShare._ID); in run()
521 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)), in insertShare()
522 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)), in insertShare()
523 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)), in insertShare()
524 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)), in insertShare()
525 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.MIMETYPE)), in insertShare()
526 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)), in insertShare()
527 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION)), in insertShare()
528 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.VISIBILITY)), in insertShare()
529 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.USER_CONFIRMATION)), in insertShare()
[all …]
DBluetoothOppTransferAdapter.java71 int status = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in bindView()
72 int dir = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in bindView()
86 cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in bindView()
95 int destinationColumnId = cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION); in bindView()
102 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in bindView()
120 int dateColumnId = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in bindView()
DBluetoothOppNotification.java229 final int timestampIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in updateActiveNotification()
230 final int directionIndex = cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION); in updateActiveNotification()
231 final int idIndex = cursor.getColumnIndexOrThrow(BluetoothShare._ID); in updateActiveNotification()
232 final int totalBytesIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES); in updateActiveNotification()
233 final int currentBytesIndex = cursor.getColumnIndexOrThrow(BluetoothShare.CURRENT_BYTES); in updateActiveNotification()
234 final int dataIndex = cursor.getColumnIndexOrThrow(BluetoothShare._DATA); in updateActiveNotification()
235 final int filenameHintIndex = cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT); in updateActiveNotification()
236 final int confirmIndex = cursor.getColumnIndexOrThrow(BluetoothShare.USER_CONFIRMATION); in updateActiveNotification()
237 final int destinationIndex = cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION); in updateActiveNotification()
377 final int timestampIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in updateCompletedNotification()
[all …]
DBluetoothOppTransferHistory.java128 mIdColumnId = mTransferCursor.getColumnIndexOrThrow(BluetoothShare._ID); in onCreate()
196 .getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in onCreateContextMenu()
231 int statusColumnId = mTransferCursor.getColumnIndexOrThrow(BluetoothShare.STATUS); in getClearableCount()
/packages/providers/PartnerBookmarksProvider/tests/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProviderTest.java48 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.ID)); in countBookmarksInFolder()
50 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.PARENT)); in countBookmarksInFolder()
52 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.TYPE)) in countBookmarksInFolder()
55 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.URL)); in countBookmarksInFolder()
57 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.TITLE)); in countBookmarksInFolder()
/packages/apps/Mms/src/com/android/mms/model/
DAudioModel.java73 path = c.getString(c.getColumnIndexOrThrow(Part._DATA)); in initModelFromUri()
74 mContentType = c.getString(c.getColumnIndexOrThrow(Part.CONTENT_TYPE)); in initModelFromUri()
76 path = c.getString(c.getColumnIndexOrThrow(Audio.Media.DATA)); in initModelFromUri()
77 mContentType = c.getString(c.getColumnIndexOrThrow( in initModelFromUri()
81 String album = c.getString(c.getColumnIndexOrThrow("album")); in initModelFromUri()
86 String artist = c.getString(c.getColumnIndexOrThrow("artist")); in initModelFromUri()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java125 int statusColumn = cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_STATUS); in hideNotification()
128 cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_VISIBILITY); in hideNotification()
144 String filename = cursor.getString(cursor.getColumnIndexOrThrow(Downloads.Impl._DATA)); in openDownload()
146 cursor.getString(cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_MIME_TYPE)); in openDownload()
171 cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE)); in sendNotificationClickedIntent()
177 cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_NOTIFICATION_CLASS)); in sendNotificationClickedIntent()
193 cursor.getLong(cursor.getColumnIndexOrThrow(Downloads.Impl._ID))}); in sendNotificationClickedIntent()
204 long downloadId = cursor.getLong(cursor.getColumnIndexOrThrow(Downloads.Impl._ID)); in sendNotificationClickedIntent()
DDownloadInfo.java113 cursor.getColumnIndexOrThrow(Downloads.Impl.RequestHeaders.COLUMN_HEADER); in readRequestHeaders()
115 cursor.getColumnIndexOrThrow(Downloads.Impl.RequestHeaders.COLUMN_VALUE); in readRequestHeaders()
136 int index = mCursor.getColumnIndexOrThrow(column); in getString()
142 return mCursor.getInt(mCursor.getColumnIndexOrThrow(column)); in getInt()
146 return mCursor.getLong(mCursor.getColumnIndexOrThrow(column)); in getLong()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java52 return (int) cursor.getLong(cursor.getColumnIndexOrThrow( in getStatusIfExists()
68 return cursor.getString(cursor.getColumnIndexOrThrow(field)); in getStringField()
79 return cursor.getLong(cursor.getColumnIndexOrThrow(field)); in getLongField()
133 cursor.getColumnIndexOrThrow( in runUntilProgress()
136 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); in runUntilProgress()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceContact.java135 final int phoneIdColumn = cursor.getColumnIndexOrThrow(Phone._ID); in getVoiceContacts()
136 final int typeColumn = cursor.getColumnIndexOrThrow(Phone.TYPE); in getVoiceContacts()
137 final int isPrimaryColumn = cursor.getColumnIndexOrThrow(Phone.IS_PRIMARY); in getVoiceContacts()
138 final int labelColumn = cursor.getColumnIndexOrThrow(Phone.LABEL); in getVoiceContacts()
139 final int nameColumn = cursor.getColumnIndexOrThrow(Phone.DISPLAY_NAME); in getVoiceContacts()
140 final int personIdColumn = cursor.getColumnIndexOrThrow(Phone.CONTACT_ID); in getVoiceContacts()
312 int column = cursor.getColumnIndexOrThrow(CallLog.Calls.NUMBER); in redialNumber()
/packages/apps/Music/src/com/android/music/
DQueryBrowserActivity.java280 String selectedType = mQueryCursor.getString(mQueryCursor.getColumnIndexOrThrow( in onListItemClick()
389 String mimetype = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
397 String name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
407 int numalbums = cursor.getInt(cursor.getColumnIndexOrThrow("data1")); in bindView()
408 int numsongs = cursor.getInt(cursor.getColumnIndexOrThrow("data2")); in bindView()
417 String name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
425 name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
437 String name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
441 String displayname = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
446 name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
DMediaPickerActivity.java99 String type = mCursor.getString(mCursor.getColumnIndexOrThrow( in onListItemClick()
109 mediaId = mCursor.getLong(mCursor.getColumnIndexOrThrow( in onListItemClick()
113 mediaId = mCursor.getLong(mCursor.getColumnIndexOrThrow( in onListItemClick()
235 mTitleIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.TITLE); in PickListAdapter()
236 mArtistIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST); in PickListAdapter()
237 mAlbumIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM); in PickListAdapter()
238 mMimeIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.MIME_TYPE); in PickListAdapter()
DArtistAlbumBrowserActivity.java340 …mCurrentArtistId = mArtistCursor.getString(mArtistCursor.getColumnIndexOrThrow(MediaStore.Audio.Ar… in onCreateContextMenu()
341 …mCurrentArtistName = mArtistCursor.getString(mArtistCursor.getColumnIndexOrThrow(MediaStore.Audio.… in onCreateContextMenu()
363 mCurrentAlbumName = c.getString(c.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); in onCreateContextMenu()
367 mArtistCursor.getColumnIndexOrThrow(MediaStore.Audio.Artists.ARTIST)); in onCreateContextMenu()
613 mGroupArtistIdIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists._ID); in getColumnIndices()
614 mGroupArtistIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists.ARTIST); in getColumnIndices()
615 … mGroupAlbumIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists.NUMBER_OF_ALBUMS); in getColumnIndices()
616 … mGroupSongIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists.NUMBER_OF_TRACKS); in getColumnIndices()
701 … String name = cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); in bindChildView()
709 …int numsongs = cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.NUMBER_OF_SONGS)… in bindChildView()
[all …]
DTrackBrowserActivity.java407 int keyidx = mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST_ID); in init()
447 int idx = mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM); in setTitle()
457 mTrackCursor.getLong(mTrackCursor.getColumnIndexOrThrow( in setTitle()
566 int colidx = mTrackCursor.getColumnIndexOrThrow( in removePlaylistItem()
661 int id_idx = mTrackCursor.getColumnIndexOrThrow( in onCreateContextMenu()
671 mCurrentAlbumName = mTrackCursor.getString(mTrackCursor.getColumnIndexOrThrow( in onCreateContextMenu()
673 mCurrentArtistNameForAlbum = mTrackCursor.getString(mTrackCursor.getColumnIndexOrThrow( in onCreateContextMenu()
675 mCurrentTrackName = mTrackCursor.getString(mTrackCursor.getColumnIndexOrThrow( in onCreateContextMenu()
820 int colidx = mTrackCursor.getColumnIndexOrThrow( in removeItem()
856 int colidx = mTrackCursor.getColumnIndexOrThrow(
[all …]
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java119 int msgType = cursor.getInt(cursor.getColumnIndexOrThrow( in scheduleRetry()
122 int retryIndex = cursor.getInt(cursor.getColumnIndexOrThrow( in scheduleRetry()
226 int columnIndex = cursor.getColumnIndexOrThrow( in scheduleRetry()
247 respStatus = cursor.getInt(cursor.getColumnIndexOrThrow(Mms.RESPONSE_STATUS)); in getResponseStatus()
265 retrieveStatus = cursor.getInt(cursor.getColumnIndexOrThrow( in getRetrieveStatus()
286 long retryAt = cursor.getLong(cursor.getColumnIndexOrThrow( in setRetryAlarm()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java350 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in getItemsInLocalCoordinates()
351 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in getItemsInLocalCoordinates()
352 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in getItemsInLocalCoordinates()
353 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); in getItemsInLocalCoordinates()
354 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY); in getItemsInLocalCoordinates()
355 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX); in getItemsInLocalCoordinates()
356 final int spanYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANY); in getItemsInLocalCoordinates()
392 … final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in getFolderById()
393 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in getFolderById()
394 … final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in getFolderById()
[all …]
DLauncherProvider.java340 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in copyFromCursor()
341 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); in copyFromCursor()
342 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in copyFromCursor()
343 final int iconTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_TYPE); in copyFromCursor()
344 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in copyFromCursor()
345 … final int iconPackageIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in copyFromCursor()
346 … final int iconResourceIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in copyFromCursor()
347 … final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in copyFromCursor()
348 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in copyFromCursor()
349 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in copyFromCursor()
[all …]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSyncAdapter.java85 mIdColumn = c.getColumnIndexOrThrow(Calendars._ID); in initData()
86 mNameColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME); in initData()
87 mColorColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR); in initData()
88 mSyncedColumn = c.getColumnIndexOrThrow(Calendars.SYNC_EVENTS); in initData()
DSelectCalendarsSimpleAdapter.java168 mIdColumn = c.getColumnIndexOrThrow(Calendars._ID); in initData()
169 mNameColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME); in initData()
170 mColorColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR); in initData()
171 mVisibleColumn = c.getColumnIndexOrThrow(Calendars.VISIBLE); in initData()
172 mOwnerAccountColumn = c.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT); in initData()
DSelectSyncedCalendarsMultiAccountAdapter.java319 int accountColumn = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in bindGroupView()
320 int accountTypeColumn = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in bindGroupView()
332 int accountColumn = groupCursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in getChildrenCursor()
333 int accountTypeColumn = groupCursor.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in getChildrenCursor()

123