Home
last modified time | relevance | path

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

123

/packages/apps/Mms/src/com/android/mms/ui/
DMessageListAdapter.java372 mColumnMsgType = cursor.getColumnIndexOrThrow( in ColumnsMap()
379 mColumnMsgId = cursor.getColumnIndexOrThrow(BaseColumns._ID); in ColumnsMap()
385 mColumnSmsAddress = cursor.getColumnIndexOrThrow(Sms.ADDRESS); in ColumnsMap()
391 mColumnSmsBody = cursor.getColumnIndexOrThrow(Sms.BODY); in ColumnsMap()
397 mColumnSmsDate = cursor.getColumnIndexOrThrow(Sms.DATE); in ColumnsMap()
403 mColumnSmsDateSent = cursor.getColumnIndexOrThrow(Sms.DATE_SENT); in ColumnsMap()
409 mColumnSmsType = cursor.getColumnIndexOrThrow(Sms.TYPE); in ColumnsMap()
415 mColumnSmsStatus = cursor.getColumnIndexOrThrow(Sms.STATUS); in ColumnsMap()
421 mColumnSmsLocked = cursor.getColumnIndexOrThrow(Sms.LOCKED); in ColumnsMap()
427 mColumnSmsErrorCode = cursor.getColumnIndexOrThrow(Sms.ERROR_CODE); in ColumnsMap()
[all …]
DManageSimMessages.java261 cursor.getColumnIndexOrThrow("address")); in copyToPhoneMemory()
262 String body = cursor.getString(cursor.getColumnIndexOrThrow("body")); in copyToPhoneMemory()
263 Long date = cursor.getLong(cursor.getColumnIndexOrThrow("date")); in copyToPhoneMemory()
278 cursor.getColumnIndexOrThrow("status")); in isIncomingMessage()
286 cursor.getString(cursor.getColumnIndexOrThrow("index_on_icc")); in deleteFromSim()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java452 int idColumn = cursor.getColumnIndexOrThrow(BluetoothShare._ID); in run()
561 String uriString = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in insertShare()
571 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)), in insertShare()
573 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)), in insertShare()
574 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)), in insertShare()
575 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.MIMETYPE)), in insertShare()
576 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)), in insertShare()
577 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION)), in insertShare()
578 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.VISIBILITY)), in insertShare()
579 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.USER_CONFIRMATION)), in insertShare()
[all …]
DBluetoothOppUtility.java74 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in queryRecord()
75 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in queryRecord()
77 .getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in queryRecord()
79 .getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in queryRecord()
81 .getColumnIndexOrThrow(BluetoothShare.CURRENT_BYTES)); in queryRecord()
83 .getColumnIndexOrThrow(BluetoothShare.TIMESTAMP)); in queryRecord()
85 .getColumnIndexOrThrow(BluetoothShare.DESTINATION)); in queryRecord()
88 .getColumnIndexOrThrow(BluetoothShare._DATA)); in queryRecord()
91 .getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in queryRecord()
97 info.mFileUri = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in queryRecord()
[all …]
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()
379 final int timestampIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in updateCompletedNotification()
[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()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java606 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in copyFromCursor()
607 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); in copyFromCursor()
608 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in copyFromCursor()
609 final int iconTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_TYPE); in copyFromCursor()
610 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in copyFromCursor()
611 … final int iconPackageIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in copyFromCursor()
612 … final int iconResourceIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in copyFromCursor()
613 … final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in copyFromCursor()
614 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in copyFromCursor()
615 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in copyFromCursor()
[all …]
DLauncherModel.java901 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in getItemsInLocalCoordinates()
902 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in getItemsInLocalCoordinates()
903 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in getItemsInLocalCoordinates()
904 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); in getItemsInLocalCoordinates()
905 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY); in getItemsInLocalCoordinates()
906 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX); in getItemsInLocalCoordinates()
907 final int spanYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANY); in getItemsInLocalCoordinates()
908 final int profileIdIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.PROFILE_ID); in getItemsInLocalCoordinates()
948 … final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in getFolderById()
949 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in getFolderById()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java528 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in getItemsInLocalCoordinates()
529 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in getItemsInLocalCoordinates()
530 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in getItemsInLocalCoordinates()
531 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); in getItemsInLocalCoordinates()
532 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY); in getItemsInLocalCoordinates()
533 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX); in getItemsInLocalCoordinates()
534 final int spanYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANY); in getItemsInLocalCoordinates()
535 final int profileIdIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.PROFILE_ID); in getItemsInLocalCoordinates()
575 … final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in getFolderById()
576 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in getFolderById()
[all …]
DLauncherProvider.java382 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in copyFromCursor()
383 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); in copyFromCursor()
384 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in copyFromCursor()
385 final int iconTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_TYPE); in copyFromCursor()
386 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in copyFromCursor()
387 … final int iconPackageIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in copyFromCursor()
388 … final int iconResourceIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in copyFromCursor()
389 … final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in copyFromCursor()
390 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in copyFromCursor()
391 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in copyFromCursor()
[all …]
/packages/apps/Music/src/com/android/music/
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 …]
DQueryBrowserActivity.java282 String selectedType = mQueryCursor.getString(mQueryCursor.getColumnIndexOrThrow( in onListItemClick()
391 String mimetype = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
399 String name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
409 int numalbums = cursor.getInt(cursor.getColumnIndexOrThrow("data1")); in bindView()
410 int numsongs = cursor.getInt(cursor.getColumnIndexOrThrow("data2")); in bindView()
419 String name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
427 name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
439 String name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
443 String displayname = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
448 name = cursor.getString(cursor.getColumnIndexOrThrow( in bindView()
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()
821 int colidx = mTrackCursor.getColumnIndexOrThrow( in removeItem()
857 int colidx = mTrackCursor.getColumnIndexOrThrow(
[all …]
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()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java240 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIA_TYPE)); in queryRecentDocuments()
242 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIAPROVIDER_URI)); in queryRecentDocuments()
291 final long id = cursor.getLong(cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_ID)); in includeDownloadFromCursor()
295 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TITLE)); in includeDownloadFromCursor()
297 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_DESCRIPTION)); in includeDownloadFromCursor()
299 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIA_TYPE)); in includeDownloadFromCursor()
305 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); in includeDownloadFromCursor()
311 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_STATUS)); in includeDownloadFromCursor()
322 final long progress = cursor.getLong(cursor.getColumnIndexOrThrow( in includeDownloadFromCursor()
344 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP)); in includeDownloadFromCursor()
/packages/apps/Calendar/src/com/android/calendar/event/
DCreateEventDialogFragment.java277 int calendarOwnerIndex = cursor.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT); in setDefaultCalendarView()
278 int accountNameIndex = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in setDefaultCalendarView()
279 int accountTypeIndex = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in setDefaultCalendarView()
305 int calendarIdIndex = cursor.getColumnIndexOrThrow(Calendars._ID); in setCalendarFields()
306 int colorIndex = cursor.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR); in setCalendarFields()
307 int calendarNameIndex = cursor.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME); in setCalendarFields()
308 int accountNameIndex = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in setCalendarFields()
309 int calendarOwnerIndex = cursor.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT); in setCalendarFields()
DEditEventView.java536 int colorColumn = cursor.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR); in bindView()
537 int nameColumn = cursor.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME); in bindView()
538 int ownerColumn = cursor.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT); in bindView()
1472 int calendarIdColumn = calendarsCursor.getColumnIndexOrThrow(Calendars._ID); in findSelectedCalendarPosition()
1494 int calendarsOwnerIndex = calendarsCursor.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT); in findDefaultCalendarPosition()
1495 int accountNameIndex = calendarsCursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in findDefaultCalendarPosition()
1496 int accountTypeIndex = calendarsCursor.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in findDefaultCalendarPosition()
1733 int idColumn = c.getColumnIndexOrThrow(Calendars._ID); in onItemSelected()
1735 int colorColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR); in onItemSelected()
1756 int maxRemindersColumn = c.getColumnIndexOrThrow(Calendars.MAX_REMINDERS); in onItemSelected()
[all …]
/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/Mms/src/com/android/mms/model/
DAudioModel.java72 path = c.getString(c.getColumnIndexOrThrow(Part._DATA)); in initModelFromUri()
73 mContentType = c.getString(c.getColumnIndexOrThrow(Part.CONTENT_TYPE)); in initModelFromUri()
75 path = c.getString(c.getColumnIndexOrThrow(Audio.Media.DATA)); in initModelFromUri()
76 mContentType = c.getString(c.getColumnIndexOrThrow( in initModelFromUri()
80 String album = c.getString(c.getColumnIndexOrThrow("album")); in initModelFromUri()
85 String artist = c.getString(c.getColumnIndexOrThrow("artist")); in initModelFromUri()
/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/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSimpleAdapter.java186 mIdColumn = c.getColumnIndexOrThrow(Calendars._ID); in initData()
187 mNameColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME); in initData()
188 mColorColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR); in initData()
189 mVisibleColumn = c.getColumnIndexOrThrow(Calendars.VISIBLE); in initData()
190 mOwnerAccountColumn = c.getColumnIndexOrThrow(Calendars.OWNER_ACCOUNT); in initData()
191 mAccountNameColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in initData()
192 mAccountTypeColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in initData()
DSelectCalendarsSyncAdapter.java112 mIdColumn = c.getColumnIndexOrThrow(Calendars._ID); in initData()
113 mNameColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_DISPLAY_NAME); in initData()
114 mColorColumn = c.getColumnIndexOrThrow(Calendars.CALENDAR_COLOR); in initData()
115 mSyncedColumn = c.getColumnIndexOrThrow(Calendars.SYNC_EVENTS); in initData()
116 mAccountNameColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in initData()
117 mAccountTypeColumn = c.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in initData()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java117 int msgType = cursor.getInt(cursor.getColumnIndexOrThrow( in scheduleRetry()
120 int retryIndex = cursor.getInt(cursor.getColumnIndexOrThrow( in scheduleRetry()
224 int columnIndex = cursor.getColumnIndexOrThrow( in scheduleRetry()
245 respStatus = cursor.getInt(cursor.getColumnIndexOrThrow(Mms.RESPONSE_STATUS)); in getResponseStatus()
263 retrieveStatus = cursor.getInt(cursor.getColumnIndexOrThrow( in getRetrieveStatus()
284 long retryAt = cursor.getLong(cursor.getColumnIndexOrThrow( in setRetryAlarm()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java64 return (int) cursor.getLong(cursor.getColumnIndexOrThrow( in getStatusIfExists()
80 return cursor.getString(cursor.getColumnIndexOrThrow(field)); in getStringField()
91 return cursor.getLong(cursor.getColumnIndexOrThrow(field)); in getLongField()
181 cursor.getColumnIndexOrThrow( in runUntilProgress()
184 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); in runUntilProgress()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java708 return c.getLong(c.getColumnIndexOrThrow("_id")); in assertGroupMembership()
716 return c.getLong(c.getColumnIndexOrThrow("_id")); in assertGroup()
724 assertTrue(c.isNull(c.getColumnIndexOrThrow(Groups.ACCOUNT_NAME))); in assertNullOrEquals()
725 assertTrue(c.isNull(c.getColumnIndexOrThrow(Groups.ACCOUNT_TYPE))); in assertNullOrEquals()
727 assertEquals(account.name, c.getString(c.getColumnIndexOrThrow(Groups.ACCOUNT_NAME))); in assertNullOrEquals()
728 assertEquals(account.type, c.getString(c.getColumnIndexOrThrow(Groups.ACCOUNT_TYPE))); in assertNullOrEquals()
734 if (value == null) assertTrue(c.isNull(c.getColumnIndexOrThrow(columnName))); in assertNullOrEquals()
735 else assertEquals((long) value, c.getLong(c.getColumnIndexOrThrow(columnName))); in assertNullOrEquals()
741 if (value == null) assertTrue(c.isNull(c.getColumnIndexOrThrow(columnName))); in assertNullOrEquals()
742 else assertEquals(value, c.getString(c.getColumnIndexOrThrow(columnName))); in assertNullOrEquals()
[all …]

123