Home
last modified time | relevance | path

Searched refs:getColumnIndex (Results 1 – 25 of 105) sorted by relevance

12345

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java324 mMessageColId = c.getColumnIndex( in setMessageColumns()
326 mMessageColDate = c.getColumnIndex( in setMessageColumns()
328 mMessageColSubject = c.getColumnIndex( in setMessageColumns()
330 mMessageColFolder = c.getColumnIndex( in setMessageColumns()
332 mMessageColRead = c.getColumnIndex( in setMessageColumns()
334 mMessageColSize = c.getColumnIndex( in setMessageColumns()
336 mMessageColFromAddress = c.getColumnIndex( in setMessageColumns()
338 mMessageColToAddress = c.getColumnIndex( in setMessageColumns()
340 mMessageColAttachment = c.getColumnIndex( in setMessageColumns()
342 mMessageColAttachmentSize = c.getColumnIndex( in setMessageColumns()
[all …]
DBluetoothMapContentObserver.java548 mContactColConvoId = c.getColumnIndex( in setConvoColunms()
550 mContactColName = c.getColumnIndex( in setConvoColunms()
552 mContactColNickname = c.getColumnIndex( in setConvoColunms()
554 mContactColBtUid = c.getColumnIndex( in setConvoColunms()
556 mContactColChatState = c.getColumnIndex( in setConvoColunms()
558 mContactColUci = c.getColumnIndex( in setConvoColunms()
560 mContactColNickname = c.getColumnIndex( in setConvoColunms()
562 mContactColLastActive = c.getColumnIndex( in setConvoColunms()
564 mContactColName = c.getColumnIndex( in setConvoColunms()
566 mContactColPresenceState = c.getColumnIndex( in setConvoColunms()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccount.java446 displayName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.NAME)); in Account()
447 senderName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.SENDER_NAME)); in Account()
448 type = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.TYPE)); in Account()
450 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME)); in Account()
452 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_ID)); in Account()
454 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_FROM_ADDRESSES))); in Account()
457 cursor.getColumnIndex(UIProvider.AccountColumns.CAPABILITIES); in Account()
465 cursor.getInt(cursor.getColumnIndex(UIProvider.AccountColumns.PROVIDER_VERSION)); in Account()
466 uri = Uri.parse(cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.URI))); in Account()
468 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.FOLDER_LIST_URI))); in Account()
[all …]
DSettings.java169 cursor.getString(cursor.getColumnIndex(SettingsColumns.SIGNATURE))); in Settings()
170 mAutoAdvance = cursor.getInt(cursor.getColumnIndex(SettingsColumns.AUTO_ADVANCE)); in Settings()
171 snapHeaders = cursor.getInt(cursor.getColumnIndex(SettingsColumns.SNAP_HEADERS)); in Settings()
172 replyBehavior = cursor.getInt(cursor.getColumnIndex(SettingsColumns.REPLY_BEHAVIOR)); in Settings()
173 convListIcon = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONV_LIST_ICON)); in Settings()
174 confirmDelete = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONFIRM_DELETE)) != 0; in Settings()
175 confirmArchive = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONFIRM_ARCHIVE)) != 0; in Settings()
176 confirmSend = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONFIRM_SEND)) != 0; in Settings()
178 cursor.getString(cursor.getColumnIndex(SettingsColumns.DEFAULT_INBOX))); in Settings()
180 cursor.getString(cursor.getColumnIndex(SettingsColumns.DEFAULT_INBOX_NAME))); in Settings()
[all …]
DAttachment.java196 name = cursor.getString(cursor.getColumnIndex(AttachmentColumns.NAME)); in Attachment()
197 size = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.SIZE)); in Attachment()
198 uri = Uri.parse(cursor.getString(cursor.getColumnIndex(AttachmentColumns.URI))); in Attachment()
199 contentType = cursor.getString(cursor.getColumnIndex(AttachmentColumns.CONTENT_TYPE)); in Attachment()
200 state = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.STATE)); in Attachment()
201 destination = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.DESTINATION)); in Attachment()
202 downloadedSize = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.DOWNLOADED_SIZE)); in Attachment()
204 cursor.getString(cursor.getColumnIndex(AttachmentColumns.CONTENT_URI))); in Attachment()
206 cursor.getString(cursor.getColumnIndex(AttachmentColumns.THUMBNAIL_URI))); in Attachment()
208 cursor.getString(cursor.getColumnIndex(AttachmentColumns.PREVIEW_INTENT_URI))); in Attachment()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DSyncCalendarTest.java81 String newTitle = cursor.getString(cursor.getColumnIndex("title")) + time.toString(); in testEditEventTitle()
82 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart")); in testEditEventTitle()
83 long dtEnd = cursor.getLong(cursor.getColumnIndex("dtend")); in testEditEventTitle()
86 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); in testEditEventTitle()
93 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { in testEditEventTitle()
94 assertEquals(cursor.getString(cursor.getColumnIndex("title")), newTitle); in testEditEventTitle()
108 String title = cursor.getString(cursor.getColumnIndex("title")); in testEditEventDate()
109 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart")); in testEditEventDate()
116 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); in testEditEventDate()
125 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { in testEditEventDate()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataHandler.java50 final int localeColumn = results.getColumnIndex(MetadataDbHelper.LOCALE_COLUMN); in makeMetadataObject()
51 final int typeColumn = results.getColumnIndex(MetadataDbHelper.TYPE_COLUMN); in makeMetadataObject()
53 results.getColumnIndex(MetadataDbHelper.DESCRIPTION_COLUMN); in makeMetadataObject()
54 final int idIndex = results.getColumnIndex(MetadataDbHelper.WORDLISTID_COLUMN); in makeMetadataObject()
55 final int updateIndex = results.getColumnIndex(MetadataDbHelper.DATE_COLUMN); in makeMetadataObject()
56 final int fileSizeIndex = results.getColumnIndex(MetadataDbHelper.FILESIZE_COLUMN); in makeMetadataObject()
58 results.getColumnIndex(MetadataDbHelper.RAW_CHECKSUM_COLUMN); in makeMetadataObject()
59 final int checksumIndex = results.getColumnIndex(MetadataDbHelper.CHECKSUM_COLUMN); in makeMetadataObject()
60 final int retryCountIndex = results.getColumnIndex(MetadataDbHelper.RETRY_COUNT_COLUMN); in makeMetadataObject()
62 results.getColumnIndex(MetadataDbHelper.LOCAL_FILENAME_COLUMN); in makeMetadataObject()
[all …]
DDictionarySettingsFragment.java309 final int idIndex = cursor.getColumnIndex(MetadataDbHelper.WORDLISTID_COLUMN); in createInstalledDictSettingsCollection()
310 final int versionIndex = cursor.getColumnIndex(MetadataDbHelper.VERSION_COLUMN); in createInstalledDictSettingsCollection()
311 final int localeIndex = cursor.getColumnIndex(MetadataDbHelper.LOCALE_COLUMN); in createInstalledDictSettingsCollection()
312 final int descriptionIndex = cursor.getColumnIndex(MetadataDbHelper.DESCRIPTION_COLUMN); in createInstalledDictSettingsCollection()
313 final int statusIndex = cursor.getColumnIndex(MetadataDbHelper.STATUS_COLUMN); in createInstalledDictSettingsCollection()
314 final int filesizeIndex = cursor.getColumnIndex(MetadataDbHelper.FILESIZE_COLUMN); in createInstalledDictSettingsCollection()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionCursor.java68 mFormatCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_FORMAT); in CursorBackedSuggestionCursor()
69 mText1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in CursorBackedSuggestionCursor()
70 mText2Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in CursorBackedSuggestionCursor()
71 mText2UrlCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in CursorBackedSuggestionCursor()
72 mIcon1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in CursorBackedSuggestionCursor()
73 mIcon2Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in CursorBackedSuggestionCursor()
74 mRefreshSpinnerCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING); in CursorBackedSuggestionCursor()
246 protected int getColumnIndex(String colName) { in getColumnIndex() method in CursorBackedSuggestionCursor
249 return mCursor.getColumnIndex(colName); in getColumnIndex()
284 int col = getColumnIndex(colName); in getStringOrNull()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
DMockUiProviderTests.java67 int folderUriIndex = cursor.getColumnIndex(UIProvider.AccountColumns.FOLDER_LIST_URI); in testGetFolders()
86 int name = foldersCursor.getColumnIndex(UIProvider.FolderColumns.NAME); in testGetFolders()
88 .getColumnIndex(UIProvider.FolderColumns.CHILD_FOLDERS_LIST_URI); in testGetFolders()
90 .getColumnIndex(UIProvider.FolderColumns.CONVERSATION_LIST_URI); in testGetFolders()
92 .getColumnIndex(UIProvider.FolderColumns.HAS_CHILDREN); in testGetFolders()
137 int name = childFoldersCursor.getColumnIndex(UIProvider.FolderColumns.NAME); in testGetFolders()
187 int subject = messageCursor.getColumnIndex(UIProvider.MessageColumns.SUBJECT); in testGetFolders()
189 .getColumnIndex(UIProvider.MessageColumns.ATTACHMENT_LIST_URI); in testGetFolders()
191 .getColumnIndex(UIProvider.MessageColumns.HAS_ATTACHMENTS); in testGetFolders()
218 int name = attachmentCursor.getColumnIndex(UIProvider.AttachmentColumns.NAME); in testGetFolders()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java168 int statusColumn = entries.getColumnIndex(Events.STATUS); in performInstanceExpansion()
169 int dtstartColumn = entries.getColumnIndex(Events.DTSTART); in performInstanceExpansion()
170 int dtendColumn = entries.getColumnIndex(Events.DTEND); in performInstanceExpansion()
171 int eventTimezoneColumn = entries.getColumnIndex(Events.EVENT_TIMEZONE); in performInstanceExpansion()
172 int durationColumn = entries.getColumnIndex(Events.DURATION); in performInstanceExpansion()
173 int rruleColumn = entries.getColumnIndex(Events.RRULE); in performInstanceExpansion()
174 int rdateColumn = entries.getColumnIndex(Events.RDATE); in performInstanceExpansion()
175 int exruleColumn = entries.getColumnIndex(Events.EXRULE); in performInstanceExpansion()
176 int exdateColumn = entries.getColumnIndex(Events.EXDATE); in performInstanceExpansion()
177 int allDayColumn = entries.getColumnIndex(Events.ALL_DAY); in performInstanceExpansion()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java125 int idIndex = data.cursor.getColumnIndex(PICASA_ID); in findPosition()
146 int idIndex = cursor.getColumnIndex(PICASA_ID); in unpackImageData()
147 int urlIndex = cursor.getColumnIndex(PICASA_URL); in unpackImageData()
148 int bucketIndex = cursor.getColumnIndex(PICASA_ALBUM_ID); in unpackImageData()
228 int idIndex = cursor.getColumnIndex(PICASA_ID); in findImages()
268 int accountIndex = cursor.getColumnIndex(PICASA_ACCOUNT); in resolveAccount()
304 int idIndex = cursor.getColumnIndex(PICASA_ID); in resolveAlbumIds()
344 int idIndex = cursor.getColumnIndex(PICASA_ID); in findAlbums()
345 int thumbIndex = cursor.getColumnIndex(PICASA_THUMB); in findAlbums()
346 int titleIndex = cursor.getColumnIndex(PICASA_TITLE); in findAlbums()
[all …]
DLocalSource.java80 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); in findAlbums()
81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in findAlbums()
82 int nameIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_DISPLAY_NAME); in findAlbums()
83 int updatedIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATE_TAKEN); in findAlbums()
143 int dataIndex = data.cursor.getColumnIndex(MediaStore.Images.Media.DATA); in findPosition()
164 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); in unpackImageData()
165 int orientationIndex = cursor.getColumnIndex(MediaStore.Images.Media.ORIENTATION); in unpackImageData()
166 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in unpackImageData()
210 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); in findImages()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java521 assertEquals("[f1, f2]", cursor.getString(cursor.getColumnIndex("projection"))); in testForwardingToDirectoryProvider()
522 assertEquals("query", cursor.getString(cursor.getColumnIndex("selection"))); in testForwardingToDirectoryProvider()
523 assertEquals("[s1, s2]", cursor.getString(cursor.getColumnIndex("selectionArgs"))); in testForwardingToDirectoryProvider()
524 assertEquals("so", cursor.getString(cursor.getColumnIndex("sortOrder"))); in testForwardingToDirectoryProvider()
525 assertEquals("account-name1", cursor.getString(cursor.getColumnIndex("accountName"))); in testForwardingToDirectoryProvider()
526 assertEquals("account-type1", cursor.getString(cursor.getColumnIndex("accountType"))); in testForwardingToDirectoryProvider()
607 row[cursor.getColumnIndex(Directory.ACCOUNT_NAME)] = accountName; in addDirectoryRow()
608 row[cursor.getColumnIndex(Directory.ACCOUNT_TYPE)] = accountType; in addDirectoryRow()
609 row[cursor.getColumnIndex(Directory.DISPLAY_NAME)] = displayName; in addDirectoryRow()
610 row[cursor.getColumnIndex(Directory.TYPE_RESOURCE_ID)] = typeResourceId; in addDirectoryRow()
[all …]
/packages/apps/InCallUI/src/com/android/incallui/
DCallerInfo.java188 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo()
194 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo()
200 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo()
206 columnIndex = cursor.getColumnIndex(PhoneLookup.LABEL); in getCallerInfo()
208 int typeColumnIndex = cursor.getColumnIndex(PhoneLookup.TYPE); in getCallerInfo()
227 columnIndex = cursor.getColumnIndex(PhoneLookup.LOOKUP_KEY); in getCallerInfo()
241 columnIndex = cursor.getColumnIndex(PhoneLookup.PHOTO_URI); in getCallerInfo()
250 columnIndex = cursor.getColumnIndex(PhoneLookup.CUSTOM_RINGTONE); in getCallerInfo()
259 columnIndex = cursor.getColumnIndex(PhoneLookup.SEND_TO_VOICEMAIL); in getCallerInfo()
452 int columnIndex = (columnName != null) ? cursor.getColumnIndex(columnName) : -1; in getColumnIndexForPersonId()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java362 call.id = cursor.getInt(cursor.getColumnIndex(CallLog.Calls._ID)); in readCallFromCursor()
363 call.date = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DATE)); in readCallFromCursor()
364 call.duration = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DURATION)); in readCallFromCursor()
365 call.number = cursor.getString(cursor.getColumnIndex(CallLog.Calls.NUMBER)); in readCallFromCursor()
366 call.type = cursor.getInt(cursor.getColumnIndex(CallLog.Calls.TYPE)); in readCallFromCursor()
368 cursor.getInt(cursor.getColumnIndex(CallLog.Calls.NUMBER_PRESENTATION)); in readCallFromCursor()
370 cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_COMPONENT_NAME)); in readCallFromCursor()
372 cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_ID)); in readCallFromCursor()
374 cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_ADDRESS)); in readCallFromCursor()
375 call.dataUsage = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DATA_USAGE)); in readCallFromCursor()
[all …]
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapContentTest.java74 c.getInt(c.getColumnIndex(BluetoothMapContract.MessageColumns.ACCOUNT_ID)) ); in printAccountInfo()
147 … String name = c.getString(c.getColumnIndex(BluetoothMapContract.FolderColumns.NAME)); in addEmailFolders()
148 long id = c.getLong(c.getColumnIndex(BluetoothMapContract.FolderColumns._ID)); in addEmailFolders()
199 long id = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns._ID)); in dumpMessageContent()
237 long id = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns._ID)); in writeMessageContent()
321 mailboxId = c.getInt(c.getColumnIndex( in callBluetoothProvider()
323 accountId = c.getInt(c.getColumnIndex( in callBluetoothProvider()
449 Long id = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns._ID)); in testGetMessages()
495 Long id = c.getLong(c.getColumnIndex(BluetoothMapContract.AccountColumns._ID)); in testAccountUpdate()
497 c.getColumnIndex(BluetoothMapContract.AccountColumns.FLAG_EXPOSE)); in testAccountUpdate()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java60 colType = cursor.getColumnIndex(Phone.TYPE); in getDisplayLabel()
61 colLabel = cursor.getColumnIndex(Phone.LABEL); in getDisplayLabel()
63 colType = cursor.getColumnIndex(Email.TYPE); in getDisplayLabel()
64 colLabel = cursor.getColumnIndex(Email.LABEL); in getDisplayLabel()
66 colType = cursor.getColumnIndex(StructuredPostal.TYPE); in getDisplayLabel()
67 colLabel = cursor.getColumnIndex(StructuredPostal.LABEL); in getDisplayLabel()
69 colType = cursor.getColumnIndex(Organization.TYPE); in getDisplayLabel()
70 colLabel = cursor.getColumnIndex(Organization.LABEL); in getDisplayLabel()
DDataStatus.java139 return cursor.getString(cursor.getColumnIndex(columnName)); in getString()
143 return cursor.getInt(cursor.getColumnIndex(columnName)); in getInt()
147 final int columnIndex = cursor.getColumnIndex(columnName); in getInt()
152 final int columnIndex = cursor.getColumnIndex(columnName); in getLong()
157 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailConversationCursor.java172 final int numMessages = getInt(getColumnIndex(ConversationColumns.NUM_MESSAGES)); in generateConversationInfo()
175 conversationInfo.firstSnippet = getString(getColumnIndex(ConversationColumns.SNIPPET)); in generateConversationInfo()
179 final boolean isRead = getInt(getColumnIndex(ConversationColumns.READ)) != 0; in generateConversationInfo()
180 … final String senderString = getString(getColumnIndex(EmailContent.MessageColumns.DISPLAY_NAME)); in generateConversationInfo()
182 final String fromString = getString(getColumnIndex(EmailContent.MessageColumns.FROM_LIST)); in generateConversationInfo()
205 final String recipientsString = getString(getColumnIndex( in generateConversationInfo()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java261 final int idColumn = insertHelper.getColumnIndex( in addDefaultBookmarks()
263 final int titleColumn = insertHelper.getColumnIndex( in addDefaultBookmarks()
265 final int urlColumn = insertHelper.getColumnIndex( in addDefaultBookmarks()
267 final int typeColumn = insertHelper.getColumnIndex( in addDefaultBookmarks()
269 final int parentColumn = insertHelper.getColumnIndex( in addDefaultBookmarks()
271 final int faviconColumn = insertHelper.getColumnIndex( in addDefaultBookmarks()
273 final int touchiconColumn = insertHelper.getColumnIndex( in addDefaultBookmarks()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DDataStatus.java145 return cursor.getString(cursor.getColumnIndex(columnName)); in getString()
149 return cursor.getInt(cursor.getColumnIndex(columnName)); in getInt()
153 final int columnIndex = cursor.getColumnIndex(columnName); in getInt()
158 final int columnIndex = cursor.getColumnIndex(columnName); in getLong()
163 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DGlobalDismissManager.java304 int sync_id_idx = cursor.getColumnIndex(Events._SYNC_ID); in syncSenderDismissCache()
428 int calendar_id_idx = eventCursor.getColumnIndex(Events.CALENDAR_ID); in lookupEventToCalendarMap()
429 int event_id_idx = eventCursor.getColumnIndex(Events._ID); in lookupEventToCalendarMap()
457 int calendar_id_idx = calendarCursor.getColumnIndex(Calendars._ID); in lookupCalendarToAccountMap()
458 int account_name_idx = calendarCursor.getColumnIndex(Calendars.ACCOUNT_NAME); in lookupCalendarToAccountMap()
459 int account_type_idx = calendarCursor.getColumnIndex(Calendars.ACCOUNT_TYPE); in lookupCalendarToAccountMap()
495 int event_id_idx = cursor.getColumnIndex(Events._ID); in syncReceiverDismissCache()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java630 if (c == null || c.getColumnIndex(Telephony.Carriers.USER_VISIBLE) == -1) { in onUpgrade()
861 String bearerStr = c.getString(c.getColumnIndex(Telephony.Carriers.BEARER)); in copyPreservedApnsToNewTable()
868 int userEditedColumnIdx = c.getColumnIndex("user_edited"); in copyPreservedApnsToNewTable()
882 val = c.getString(c.getColumnIndex(Telephony.Carriers.NUMERIC)); in copyPreservedApnsToNewTable()
930 String fromCursor = c.getString(c.getColumnIndex(key)); in getStringValueFromCursor()
937 String fromCursor = c.getString(c.getColumnIndex(key)); in getIntValueFromCursor()
1098 int edited = oldRow.getInt(oldRow.getColumnIndex( in insertAddingDefaults()
1130 String oldType = oldRow.getString(oldRow.getColumnIndex(Telephony.Carriers.TYPE)); in mergeFieldsAndUpdateDb()
1142 oldType + " old bearer=" + oldRow.getInt(oldRow.getColumnIndex( in mergeFieldsAndUpdateDb()
1144 " old profile_id=" + oldRow.getInt(oldRow.getColumnIndex( in mergeFieldsAndUpdateDb()
[all …]
/packages/apps/Music/src/com/android/music/
DMusicPicker.java302 mIdIdx = cursor.getColumnIndex(MediaStore.Audio.Media._ID); in changeCursor()
303 mTitleIdx = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE); in changeCursor()
304 mArtistIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST); in changeCursor()
305 mAlbumIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM); in changeCursor()
306 mDurationIdx = cursor.getColumnIndex(MediaStore.Audio.Media.DURATION); in changeCursor()
627 + mCursor.getLong(mCursor.getColumnIndex(MediaStore.Audio.Media._ID)) in onListItemClick()
635 long newId = mCursor.getLong(mCursor.getColumnIndex(MediaStore.Audio.Media._ID)); in setSelected()

12345