Home
last modified time | relevance | path

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

1234567

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DRcsProviderQueryTest.java166 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(1); in testCanQueryUnifiedThreads()
167 assertThat(cursor.getString(cursor.getColumnIndex(GROUP_NAME_COLUMN))).isEqualTo( in testCanQueryUnifiedThreads()
169 assertThat(cursor.getInt(cursor.getColumnIndex(ORIGINATION_TIMESTAMP_COLUMN))).isEqualTo( in testCanQueryUnifiedThreads()
171 assertThat(cursor.getString(cursor.getColumnIndex(MESSAGE_TEXT_COLUMN))).isEqualTo( in testCanQueryUnifiedThreads()
174 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreads()
175 assertThat(cursor.getString(cursor.getColumnIndex(GROUP_NAME_COLUMN))).isEqualTo(null); in testCanQueryUnifiedThreads()
176 assertThat(cursor.getInt(cursor.getColumnIndex(ORIGINATION_TIMESTAMP_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreads()
177 assertThat(cursor.getString(cursor.getColumnIndex(MESSAGE_TEXT_COLUMN))).isEqualTo(null); in testCanQueryUnifiedThreads()
179 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreads()
180 assertThat(cursor.getString(cursor.getColumnIndex(GROUP_NAME_COLUMN))).isEqualTo(null); in testCanQueryUnifiedThreads()
[all …]
DSmsProviderTest.java201 assertEquals(mFakePdu, cursor.getString(cursor.getColumnIndex("pdu"))); in testRawTableInsert()
202 assertEquals(mFakeAddress, cursor.getString(cursor.getColumnIndex("address"))); in testRawTableInsert()
204 cursor.getString(cursor.getColumnIndex("display_originating_addr"))); in testRawTableInsert()
205 assertEquals(mFakeMessageBody, cursor.getString(cursor.getColumnIndex("message_body"))); in testRawTableInsert()
206 assertEquals(mDate, cursor.getInt(cursor.getColumnIndex("date"))); in testRawTableInsert()
207 assertEquals(mFakePort, cursor.getInt(cursor.getColumnIndex("destination_port"))); in testRawTableInsert()
208 assertEquals(mFakeRefNumber, cursor.getInt(cursor.getColumnIndex("reference_number"))); in testRawTableInsert()
209 assertEquals(mFakeSequence, cursor.getInt(cursor.getColumnIndex("sequence"))); in testRawTableInsert()
210 assertEquals(mFakeCount, cursor.getInt(cursor.getColumnIndex("count"))); in testRawTableInsert()
211 assertEquals(0, cursor.getInt(cursor.getColumnIndex("deleted"))); in testRawTableInsert()
[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 …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java326 mMessageColId = c.getColumnIndex(BluetoothMapContract.MessageColumns._ID); in setMessageColumns()
327 mMessageColDate = c.getColumnIndex(BluetoothMapContract.MessageColumns.DATE); in setMessageColumns()
328 mMessageColSubject = c.getColumnIndex(BluetoothMapContract.MessageColumns.SUBJECT); in setMessageColumns()
329 mMessageColFolder = c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID); in setMessageColumns()
330 mMessageColRead = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_READ); in setMessageColumns()
331 mMessageColSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setMessageColumns()
333 c.getColumnIndex(BluetoothMapContract.MessageColumns.FROM_LIST); in setMessageColumns()
334 mMessageColToAddress = c.getColumnIndex(BluetoothMapContract.MessageColumns.TO_LIST); in setMessageColumns()
336 c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT); in setMessageColumns()
338 c.getColumnIndex(BluetoothMapContract.MessageColumns.ATTACHMENT_SIZE); in setMessageColumns()
[all …]
DBluetoothMapContentObserver.java567 c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.CONVO_ID); in setConvoColunms()
568 mContactColName = c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.NAME); in setConvoColunms()
570 c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.NICKNAME); in setConvoColunms()
571 mContactColBtUid = c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.X_BT_UID); in setConvoColunms()
573 c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.CHAT_STATE); in setConvoColunms()
574 mContactColUci = c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.UCI); in setConvoColunms()
576 c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.NICKNAME); in setConvoColunms()
578 c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.LAST_ACTIVE); in setConvoColunms()
579 mContactColName = c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.NAME); in setConvoColunms()
581 c.getColumnIndex(BluetoothMapContract.ConvoContactColumns.PRESENCE_STATE); 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.java205 name = cursor.getString(cursor.getColumnIndex(AttachmentColumns.NAME)); in Attachment()
206 size = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.SIZE)); in Attachment()
207 uri = Uri.parse(cursor.getString(cursor.getColumnIndex(AttachmentColumns.URI))); in Attachment()
208 contentType = cursor.getString(cursor.getColumnIndex(AttachmentColumns.CONTENT_TYPE)); in Attachment()
209 state = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.STATE)); in Attachment()
210 destination = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.DESTINATION)); in Attachment()
211 downloadedSize = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.DOWNLOADED_SIZE)); in Attachment()
213 cursor.getString(cursor.getColumnIndex(AttachmentColumns.CONTENT_URI))); in Attachment()
215 cursor.getString(cursor.getColumnIndex(AttachmentColumns.THUMBNAIL_URI))); in Attachment()
217 cursor.getString(cursor.getColumnIndex(AttachmentColumns.PREVIEW_INTENT_URI))); in Attachment()
[all …]
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCard.java200 mName = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.NAME)); in ContextualCard()
202 mCardType = c.getInt(c.getColumnIndex(CardDatabaseHelper.CardColumns.TYPE)); in ContextualCard()
204 mRankingScore = c.getDouble(c.getColumnIndex(CardDatabaseHelper.CardColumns.SCORE)); in ContextualCard()
206 mSliceUri = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.SLICE_URI)); in ContextualCard()
208 mCategory = c.getInt(c.getColumnIndex(CardDatabaseHelper.CardColumns.CATEGORY)); in ContextualCard()
211 c.getColumnIndex(CardDatabaseHelper.CardColumns.LOCALIZED_TO_LOCALE)); in ContextualCard()
213 mPackageName = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.PACKAGE_NAME)); in ContextualCard()
215 mAppVersion = c.getLong(c.getColumnIndex(CardDatabaseHelper.CardColumns.APP_VERSION)); in ContextualCard()
218 c.getColumnIndex(CardDatabaseHelper.CardColumns.TITLE_RES_NAME)); in ContextualCard()
220 mTitleText = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.TITLE_TEXT)); in ContextualCard()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCard.java194 mName = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.NAME)); in ContextualCard()
196 mCardType = c.getInt(c.getColumnIndex(CardDatabaseHelper.CardColumns.TYPE)); in ContextualCard()
198 mRankingScore = c.getDouble(c.getColumnIndex(CardDatabaseHelper.CardColumns.SCORE)); in ContextualCard()
200 mSliceUri = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.SLICE_URI)); in ContextualCard()
202 mCategory = c.getInt(c.getColumnIndex(CardDatabaseHelper.CardColumns.CATEGORY)); in ContextualCard()
205 c.getColumnIndex(CardDatabaseHelper.CardColumns.LOCALIZED_TO_LOCALE)); in ContextualCard()
207 mPackageName = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.PACKAGE_NAME)); in ContextualCard()
209 mAppVersion = c.getLong(c.getColumnIndex(CardDatabaseHelper.CardColumns.APP_VERSION)); in ContextualCard()
212 c.getColumnIndex(CardDatabaseHelper.CardColumns.TITLE_RES_NAME)); in ContextualCard()
214 mTitleText = c.getString(c.getColumnIndex(CardDatabaseHelper.CardColumns.TITLE_TEXT)); in ContextualCard()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesIndexerTest.java89 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))).isEqualTo(newKey); in testAlreadyIndexed_doesNotIndexAgain()
90 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE))) in testAlreadyIndexed_doesNotIndexAgain()
121 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))) in testInsertSliceData_mockDataInserted()
123 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE))) in testInsertSliceData_mockDataInserted()
126 cursor.getString(cursor.getColumnIndex(IndexColumns.FRAGMENT))) in testInsertSliceData_mockDataInserted()
129 cursor.getColumnIndex(IndexColumns.SCREENTITLE))).isEqualTo(SCREEN_TITLE); in testInsertSliceData_mockDataInserted()
131 cursor.getString(cursor.getColumnIndex(IndexColumns.KEYWORDS))) in testInsertSliceData_mockDataInserted()
134 cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE))) in testInsertSliceData_mockDataInserted()
137 cursor.getString(cursor.getColumnIndex(IndexColumns.CONTROLLER))) in testInsertSliceData_mockDataInserted()
140 cursor.getColumnIndex(IndexColumns.PLATFORM_SLICE))) in testInsertSliceData_mockDataInserted()
[all …]
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesDatabaseAccessor.java155 final String key = cursor.getString(cursor.getColumnIndex(IndexColumns.KEY)); in buildSliceData()
156 final String title = cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE)); in buildSliceData()
157 final String summary = cursor.getString(cursor.getColumnIndex(IndexColumns.SUMMARY)); in buildSliceData()
159 cursor.getColumnIndex(IndexColumns.SCREENTITLE)); in buildSliceData()
160 final String keywords = cursor.getString(cursor.getColumnIndex(IndexColumns.KEYWORDS)); in buildSliceData()
161 final int iconResource = cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE)); in buildSliceData()
163 cursor.getColumnIndex(IndexColumns.FRAGMENT)); in buildSliceData()
165 cursor.getColumnIndex(IndexColumns.CONTROLLER)); in buildSliceData()
167 cursor.getColumnIndex(IndexColumns.PLATFORM_SLICE)) == TRUE; in buildSliceData()
169 cursor.getColumnIndex(IndexColumns.SLICE_TYPE)); in buildSliceData()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSlicesDatabaseAccessor.java155 final String key = cursor.getString(cursor.getColumnIndex(IndexColumns.KEY)); in buildSliceData()
156 final String title = cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE)); in buildSliceData()
157 final String summary = cursor.getString(cursor.getColumnIndex(IndexColumns.SUMMARY)); in buildSliceData()
159 cursor.getColumnIndex(IndexColumns.SCREENTITLE)); in buildSliceData()
160 final String keywords = cursor.getString(cursor.getColumnIndex(IndexColumns.KEYWORDS)); in buildSliceData()
161 final int iconResource = cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE)); in buildSliceData()
163 cursor.getColumnIndex(IndexColumns.FRAGMENT)); in buildSliceData()
165 cursor.getColumnIndex(IndexColumns.CONTROLLER)); in buildSliceData()
167 cursor.getColumnIndex(IndexColumns.PLATFORM_SLICE)) == TRUE; in buildSliceData()
169 cursor.getColumnIndex(IndexColumns.SLICE_TYPE)); in buildSliceData()
[all …]
/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/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java398 call.id = cursor.getInt(cursor.getColumnIndex(CallLog.Calls._ID)); in readCallFromCursor()
399 call.date = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DATE)); in readCallFromCursor()
400 call.duration = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DURATION)); in readCallFromCursor()
401 call.number = cursor.getString(cursor.getColumnIndex(CallLog.Calls.NUMBER)); in readCallFromCursor()
403 cursor.getColumnIndex(CallLog.Calls.POST_DIAL_DIGITS)); in readCallFromCursor()
404 call.viaNumber = cursor.getString(cursor.getColumnIndex(CallLog.Calls.VIA_NUMBER)); in readCallFromCursor()
405 call.type = cursor.getInt(cursor.getColumnIndex(CallLog.Calls.TYPE)); in readCallFromCursor()
407 cursor.getInt(cursor.getColumnIndex(CallLog.Calls.NUMBER_PRESENTATION)); in readCallFromCursor()
409 cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_COMPONENT_NAME)); in readCallFromCursor()
411 cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_ID)); in readCallFromCursor()
[all …]
/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/apps/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java215 String city = getString(cursor, cursor.getColumnIndex(CequintColumnNames.CITY_NAME)); in lookup()
216 String state = getString(cursor, cursor.getColumnIndex(CequintColumnNames.STATE_NAME)); in lookup()
217 String stateAbbr = getString(cursor, cursor.getColumnIndex(CequintColumnNames.STATE_ABBR)); in lookup()
218 String country = getString(cursor, cursor.getColumnIndex(CequintColumnNames.COUNTRY_NAME)); in lookup()
219 String company = getString(cursor, cursor.getColumnIndex(CequintColumnNames.COMPANY)); in lookup()
220 String name = getString(cursor, cursor.getColumnIndex(CequintColumnNames.NAME)); in lookup()
221 String firstName = getString(cursor, cursor.getColumnIndex(CequintColumnNames.FIRST_NAME)); in lookup()
222 String lastName = getString(cursor, cursor.getColumnIndex(CequintColumnNames.LAST_NAME)); in lookup()
223 String photoUri = getString(cursor, cursor.getColumnIndex(CequintColumnNames.PHOTO_URI)); in lookup()
225 getString(cursor, cursor.getColumnIndex(CequintColumnNames.DISPLAY_NAME)); in lookup()
/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/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneNumber.java48 int typeColumn = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.TYPE); in fromCursor()
49 int labelColumn = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.LABEL); in fromCursor()
50 int numberColumn = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER); in fromCursor()
51 int rawDataIdColumn = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone._ID); in fromCursor()
52 int dataVersionColumn = cursor.getColumnIndex( in fromCursor()
57 int isPrimaryColumn = cursor.getColumnIndex( in fromCursor()
59 int accountNameColumn = cursor.getColumnIndex(ContactsContract.RawContacts.ACCOUNT_NAME); in fromCursor()
60 int accountTypeColumn = cursor.getColumnIndex(ContactsContract.RawContacts.ACCOUNT_TYPE); in fromCursor()
DContact.java133 int contactIdColumn = cursor.getColumnIndex( in fromCursor()
135 int starredColumn = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.STARRED); in fromCursor()
136 int pinnedColumn = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.PINNED); in fromCursor()
137 int displayNameColumn = cursor.getColumnIndex( in fromCursor()
139 int altDisplayNameColumn = cursor.getColumnIndex( in fromCursor()
141 int avatarUriColumn = cursor.getColumnIndex( in fromCursor()
143 int avatarThumbnailColumn = cursor.getColumnIndex( in fromCursor()
145 int lookupKeyColumn = cursor.getColumnIndex( in fromCursor()
/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/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java309 groupId = cursor.getColumnIndex(Groups._ID); in GroupsProjection()
310 title = cursor.getColumnIndex(Groups.TITLE); in GroupsProjection()
311 summaryCount = cursor.getColumnIndex(Groups.SUMMARY_COUNT); in GroupsProjection()
312 systemId = cursor.getColumnIndex(Groups.SYSTEM_ID); in GroupsProjection()
313 accountName = cursor.getColumnIndex(Groups.ACCOUNT_NAME); in GroupsProjection()
314 accountType = cursor.getColumnIndex(Groups.ACCOUNT_TYPE); in GroupsProjection()
315 dataSet = cursor.getColumnIndex(Groups.DATA_SET); in GroupsProjection()
316 autoAdd = cursor.getColumnIndex(Groups.AUTO_ADD); in GroupsProjection()
317 favorites = cursor.getColumnIndex(Groups.FAVORITES); in GroupsProjection()
318 isReadOnly = cursor.getColumnIndex(Groups.GROUP_IS_READ_ONLY); in GroupsProjection()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java200 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo()
216 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo()
222 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo()
228 columnIndex = cursor.getColumnIndex(PhoneLookup.LABEL); in getCallerInfo()
230 int typeColumnIndex = cursor.getColumnIndex(PhoneLookup.TYPE); in getCallerInfo()
241 columnIndex = cursor.getColumnIndex(PhoneLookup.LOOKUP_KEY); in getCallerInfo()
263 columnIndex = cursor.getColumnIndex(PhoneLookup.PHOTO_URI); in getCallerInfo()
272 columnIndex = cursor.getColumnIndex(PhoneLookup.CUSTOM_RINGTONE); in getCallerInfo()
286 columnIndex = cursor.getColumnIndex(PhoneLookup.SEND_TO_VOICEMAIL); in getCallerInfo()
429 int columnIndex = (columnName != null) ? cursor.getColumnIndex(columnName) : -1; in getColumnIndexForPersonId()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java578 assertEquals("[f1, f2]", cursor.getString(cursor.getColumnIndex("projection"))); in testForwardingToDirectoryProvider()
579 assertEquals("query", cursor.getString(cursor.getColumnIndex("selection"))); in testForwardingToDirectoryProvider()
580 assertEquals("[s1, s2]", cursor.getString(cursor.getColumnIndex("selectionArgs"))); in testForwardingToDirectoryProvider()
581 assertEquals("so", cursor.getString(cursor.getColumnIndex("sortOrder"))); in testForwardingToDirectoryProvider()
582 assertEquals("account-name1", cursor.getString(cursor.getColumnIndex("accountName"))); in testForwardingToDirectoryProvider()
583 assertEquals("account-type1", cursor.getString(cursor.getColumnIndex("accountType"))); in testForwardingToDirectoryProvider()
664 row[cursor.getColumnIndex(Directory.ACCOUNT_NAME)] = accountName; in addDirectoryRow()
665 row[cursor.getColumnIndex(Directory.ACCOUNT_TYPE)] = accountType; in addDirectoryRow()
666 row[cursor.getColumnIndex(Directory.DISPLAY_NAME)] = displayName; in addDirectoryRow()
667 row[cursor.getColumnIndex(Directory.TYPE_RESOURCE_ID)] = typeResourceId; in addDirectoryRow()
[all …]

1234567