Home
last modified time | relevance | path

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

12345

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DReadableArchiveTest.java109 cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)))) { in assertRowExist()
127 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument()
129 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument()
131 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
135 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument()
137 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument()
139 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
143 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument()
145 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument()
147 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
[all …]
DWriteableArchiveTest.java156 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddDirectory()
158 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testAddDirectory()
160 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testAddDirectory()
162 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory()
171 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddDirectory()
173 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testAddDirectory()
175 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testAddDirectory()
177 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory()
206 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddFile()
208 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testAddFile()
[all …]
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/
DE2eeContactKeysDatabaseHelper.java111 String deviceId = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.DEVICE_ID)); in getAllContactKeys()
112 String accountId = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.ACCOUNT_ID)); in getAllContactKeys()
114 c.getColumnIndexOrThrow(E2eeContactKeys.OWNER_PACKAGE_NAME)); in getAllContactKeys()
115 long timeUpdated = c.getLong(c.getColumnIndexOrThrow(E2eeContactKeys.TIME_UPDATED)); in getAllContactKeys()
116 byte[] keyValue = c.getBlob(c.getColumnIndexOrThrow(E2eeContactKeys.KEY_VALUE)); in getAllContactKeys()
117 String displayName = c.getString(c.getColumnIndexOrThrow( in getAllContactKeys()
119 String number = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.PHONE_NUMBER)); in getAllContactKeys()
120 String emailAddress = c.getString(c.getColumnIndexOrThrow( in getAllContactKeys()
122 int localVerificationState = c.getInt(c.getColumnIndexOrThrow( in getAllContactKeys()
124 int remoteVerificationState = c.getInt(c.getColumnIndexOrThrow( in getAllContactKeys()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DPickerDbTestUtils.java282 .that(cursor.getString(cursor.getColumnIndexOrThrow( in assertCloudAlbumCursor()
286 .that(cursor.getString(cursor.getColumnIndexOrThrow( in assertCloudAlbumCursor()
290 .that(cursor.getString(cursor.getColumnIndexOrThrow( in assertCloudAlbumCursor()
295 .that(cursor.getLong(cursor.getColumnIndexOrThrow( in assertCloudAlbumCursor()
299 .that(cursor.getLong(cursor.getColumnIndexOrThrow( in assertCloudAlbumCursor()
312 .that(cursor.getString(cursor.getColumnIndexOrThrow( in assertCloudMediaCursor()
316 .that(cursor.getString(cursor.getColumnIndexOrThrow( in assertCloudMediaCursor()
320 .that(cursor.getString(cursor.getColumnIndexOrThrow( in assertCloudMediaCursor()
329 .that(cursor.getString(cursor.getColumnIndexOrThrow( in assertCloudMediaCursor()
336 cursor.getColumnIndexOrThrow(CloudMediaProviderContract in assertCloudMediaCursor()
[all …]
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastProviderTest.java117 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.RECEIVED_TIME))) in testUpdate()
119 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_DISPLAYED))) in testUpdate()
265 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.GEOGRAPHICAL_SCOPE))) in testInsertAndQuery()
267 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.PLMN))) in testInsertAndQuery()
269 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.LAC))).isEqualTo(LAC); in testInsertAndQuery()
270 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CID))).isEqualTo(CID); in testInsertAndQuery()
271 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERIAL_NUMBER))) in testInsertAndQuery()
273 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERVICE_CATEGORY))) in testInsertAndQuery()
275 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.LANGUAGE_CODE))) in testInsertAndQuery()
277 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_BODY))) in testInsertAndQuery()
[all …]
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DFederatedTrainingTask.java323 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
328 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
333 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
338 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
342 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
347 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
352 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
357 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
362 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
367 cursor.getColumnIndexOrThrow( in readFederatedTrainingTasksFromDatabase()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/
DMediaProviderClient.kt323 cursor.getColumnIndexOrThrow( in <lambda>()
330 cursor.getColumnIndexOrThrow( in <lambda>()
337 cursor.getColumnIndexOrThrow(AvailableProviderResponse.UID.key) in <lambda>()
356 val mediaId: String = getString(getColumnIndexOrThrow(MediaResponse.MEDIA_ID.key)) in <lambda>()
357 val pickerId: Long = getLong(getColumnIndexOrThrow(MediaResponse.PICKER_ID.key)) in <lambda>()
359 getString(getColumnIndexOrThrow(MediaResponse.AUTHORITY.key)) in <lambda>()
362 getString(getColumnIndexOrThrow(MediaResponse.MEDIA_SOURCE.key)) in <lambda>()
365 Uri.parse(getString(getColumnIndexOrThrow(MediaResponse.MEDIA_URI.key))) in <lambda>()
367 Uri.parse(getString(getColumnIndexOrThrow(MediaResponse.LOADABLE_URI.key))) in <lambda>()
369 getLong(getColumnIndexOrThrow(MediaResponse.DATE_TAKEN.key)) in <lambda>()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/gridmigration/
DGridMigrationUtils.kt68 val indexCellX: Int = cursor.getColumnIndexOrThrow(Favorites.CELLX) in readDb()
69 val indexCellY: Int = cursor.getColumnIndexOrThrow(Favorites.CELLY) in readDb()
70 val indexSpanX: Int = cursor.getColumnIndexOrThrow(Favorites.SPANX) in readDb()
71 val indexSpanY: Int = cursor.getColumnIndexOrThrow(Favorites.SPANY) in readDb()
72 val indexId: Int = cursor.getColumnIndexOrThrow(Favorites._ID) in readDb()
73 val indexScreen: Int = cursor.getColumnIndexOrThrow(Favorites.SCREEN) in readDb()
74 val indexTitle: Int = cursor.getColumnIndexOrThrow(Favorites.TITLE) in readDb()
75 val indexAppWidgetId: Int = cursor.getColumnIndexOrThrow(Favorites.APPWIDGET_ID) in readDb()
76 val indexWidgetProvider: Int = cursor.getColumnIndexOrThrow(Favorites.APPWIDGET_PROVIDER) in readDb()
77 val indexIntent: Int = cursor.getColumnIndexOrThrow(Favorites.INTENT) in readDb()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java183 idColumn = annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog._ID); in RowCombiner()
184 timestampColumn = annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.TIMESTAMP); in RowCombiner()
185 numberColumn = annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.NUMBER); in RowCombiner()
187 annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.FORMATTED_NUMBER); in RowCombiner()
189 annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.NUMBER_PRESENTATION); in RowCombiner()
190 isReadColumn = annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.IS_READ); in RowCombiner()
191 isNewColumn = annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.NEW); in RowCombiner()
193 annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.GEOCODED_LOCATION); in RowCombiner()
195 annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.PHONE_ACCOUNT_COMPONENT_NAME); in RowCombiner()
197 annotatedCallLogRow.getColumnIndexOrThrow(AnnotatedCallLog.PHONE_ACCOUNT_ID); in RowCombiner()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastContentProviderTest.java240 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.GEOGRAPHICAL_SCOPE))) in testInsertQuery()
242 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.PLMN))) in testInsertQuery()
244 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.LAC))).isEqualTo(LAC); in testInsertQuery()
245 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CID))).isEqualTo(CID); in testInsertQuery()
246 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERIAL_NUMBER))) in testInsertQuery()
248 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERVICE_CATEGORY))) in testInsertQuery()
250 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.LANGUAGE_CODE))) in testInsertQuery()
252 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_BODY))) in testInsertQuery()
254 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_PRIORITY))) in testInsertQuery()
256 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.ETWS_WARNING_TYPE))) in testInsertQuery()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java263 int idColumn = cursor.getColumnIndexOrThrow(Calls._ID); in handleInsertsAndUpdates()
264 int dateColumn = cursor.getColumnIndexOrThrow(Calls.DATE); in handleInsertsAndUpdates()
265 int lastModifiedColumn = cursor.getColumnIndexOrThrow(Calls.LAST_MODIFIED); in handleInsertsAndUpdates()
266 int numberColumn = cursor.getColumnIndexOrThrow(Calls.NUMBER); in handleInsertsAndUpdates()
267 int presentationColumn = cursor.getColumnIndexOrThrow(Calls.NUMBER_PRESENTATION); in handleInsertsAndUpdates()
268 int typeColumn = cursor.getColumnIndexOrThrow(Calls.TYPE); in handleInsertsAndUpdates()
269 int countryIsoColumn = cursor.getColumnIndexOrThrow(Calls.COUNTRY_ISO); in handleInsertsAndUpdates()
270 int durationsColumn = cursor.getColumnIndexOrThrow(Calls.DURATION); in handleInsertsAndUpdates()
271 int dataUsageColumn = cursor.getColumnIndexOrThrow(Calls.DATA_USAGE); in handleInsertsAndUpdates()
272 int transcriptionColumn = cursor.getColumnIndexOrThrow(Calls.TRANSCRIPTION); in handleInsertsAndUpdates()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsDao.java223 byte[] token = cursor.getBlob(cursor.getColumnIndexOrThrow( in getEventState()
318 cursor.getColumnIndexOrThrow(QueriesContract.QueriesEntry.QUERY_ID)); in readQueryRows()
320 cursor.getColumnIndexOrThrow(QueriesContract.QueriesEntry.QUERY_DATA)); in readQueryRows()
322 cursor.getColumnIndexOrThrow(QueriesContract.QueriesEntry.TIME_MILLIS)); in readQueryRows()
324 cursor.getColumnIndexOrThrow( in readQueryRows()
326 String appPackageName = cursor.getString(cursor.getColumnIndexOrThrow( in readQueryRows()
328 String certDigest = cursor.getString(cursor.getColumnIndexOrThrow( in readQueryRows()
373 cursor.getColumnIndexOrThrow(EventsContract.EventsEntry.EVENT_ID)); in readJoinedTableRows()
375 cursor.getColumnIndexOrThrow(EventsContract.EventsEntry.ROW_INDEX)); in readJoinedTableRows()
377 cursor.getColumnIndexOrThrow(EventsContract.EventsEntry.TYPE)); in readJoinedTableRows()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java192 cursor.getColumnIndexOrThrow( in retrieveAppClassificationTopics()
196 cursor.getColumnIndexOrThrow( in retrieveAppClassificationTopics()
201 cursor.getColumnIndexOrThrow( in retrieveAppClassificationTopics()
206 cursor.getColumnIndexOrThrow( in retrieveAppClassificationTopics()
303 cursor.getColumnIndexOrThrow( in retrieveTopTopics()
307 cursor.getColumnIndexOrThrow( in retrieveTopTopics()
311 cursor.getColumnIndexOrThrow( in retrieveTopTopics()
315 cursor.getColumnIndexOrThrow( in retrieveTopTopics()
319 cursor.getColumnIndexOrThrow( in retrieveTopTopics()
323 cursor.getColumnIndexOrThrow( in retrieveTopTopics()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DJoinedTableDaoTest.java119 cursor.getColumnIndexOrThrow(JoinedTableDao.SERVICE_NAME_COL)); in testRawQuery()
120 int type = cursor.getInt(cursor.getColumnIndexOrThrow(JoinedTableDao.TYPE_COL)); in testRawQuery()
122 cursor.getColumnIndexOrThrow(JoinedTableDao.EVENT_TIME_MILLIS_COL)); in testRawQuery()
124 cursor.getColumnIndexOrThrow(JoinedTableDao.QUERY_TIME_MILLIS_COL)); in testRawQuery()
125 int eventCol1 = cursor.getInt(cursor.getColumnIndexOrThrow("eventCol1")); in testRawQuery()
126 String eventCol2 = cursor.getString(cursor.getColumnIndexOrThrow("eventCol2")); in testRawQuery()
127 double eventCol4 = cursor.getDouble(cursor.getColumnIndexOrThrow("eventCol4")); in testRawQuery()
128 int queryCol1 = cursor.getInt(cursor.getColumnIndexOrThrow("queryCol1")); in testRawQuery()
130 () -> cursor.getColumnIndexOrThrow("eventCol3")); in testRawQuery()
132 () -> cursor.getColumnIndexOrThrow("random")); in testRawQuery()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java132 mIconIndex = getColumnIndexOrThrow(Favorites.ICON); in LoaderCursor()
133 mTitleIndex = getColumnIndexOrThrow(Favorites.TITLE); in LoaderCursor()
135 mIdIndex = getColumnIndexOrThrow(Favorites._ID); in LoaderCursor()
136 mContainerIndex = getColumnIndexOrThrow(Favorites.CONTAINER); in LoaderCursor()
137 mItemTypeIndex = getColumnIndexOrThrow(Favorites.ITEM_TYPE); in LoaderCursor()
138 mScreenIndex = getColumnIndexOrThrow(Favorites.SCREEN); in LoaderCursor()
139 mCellXIndex = getColumnIndexOrThrow(Favorites.CELLX); in LoaderCursor()
140 mCellYIndex = getColumnIndexOrThrow(Favorites.CELLY); in LoaderCursor()
141 mProfileIdIndex = getColumnIndexOrThrow(Favorites.PROFILE_ID); in LoaderCursor()
142 mRestoredIndex = getColumnIndexOrThrow(Favorites.RESTORED); in LoaderCursor()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java74 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE)); in createFromCursor()
76 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERIAL_NUMBER)); in createFromCursor()
78 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERVICE_CATEGORY)); in createFromCursor()
80 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.LANGUAGE_CODE)); in createFromCursor()
82 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_BODY)); in createFromCursor()
84 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_FORMAT)); in createFromCursor()
86 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_PRIORITY)); in createFromCursor()
88 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SLOT_INDEX)); in createFromCursor()
190 long time = cursor.getLong(cursor.getColumnIndexOrThrow(timeColumn)); in createFromCursor()
194 dcs = cursor.getInt(cursor.getColumnIndexOrThrow( in createFromCursor()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java90 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists._ID); in load()
115 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums._ID); in load()
116 int artistIdColumn = cursor.getColumnIndexOrThrow( in load()
152 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID); in load()
153 … int mimeTypeColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.MIME_TYPE); in load()
154 … int artistIdColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST_ID); in load()
155 … int albumIdColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM_ID); in load()
195 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists._ID); in load()
219 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Genres._ID); in load()
255 int titleColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.TITLE); in loadData()
[all …]
DVideoStore.java123 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media._ID); in load()
127 int mimeTypeColumn = cursor.getColumnIndexOrThrow( in load()
132 relativePathColumn = cursor.getColumnIndexOrThrow(RELATIVE_PATH); in load()
133 displayNameColumn = cursor.getColumnIndexOrThrow( in load()
136 dataColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DATA); in load()
241 int titleColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.TITLE); in loadData()
242 int durationColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DURATION); in loadData()
243 … int dateTakenColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DATE_TAKEN); in loadData()
244 int latitudeColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.LATITUDE); in loadData()
245 … int longitudeColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.LONGITUDE); in loadData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppService.java754 int idColumn = cursor.getColumnIndexOrThrow(BluetoothShare._ID); in run()
833 String uriString = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in insertShare()
849 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)), in insertShare()
852 cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)), in insertShare()
853 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)), in insertShare()
854 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.MIMETYPE)), in insertShare()
855 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)), in insertShare()
856 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION)), in insertShare()
857 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.VISIBILITY)), in insertShare()
859 cursor.getColumnIndexOrThrow(BluetoothShare.USER_CONFIRMATION)), in insertShare()
[all …]
DBluetoothOppTransferAdapter.java70 int status = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in bindView()
71 int dir = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in bindView()
84 String title = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in bindView()
93 int destinationColumnId = cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION); in bindView()
100 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in bindView()
122 int dateColumnId = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in bindView()
DBluetoothOppUtility.java115 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in fillRecord()
116 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in fillRecord()
117 info.mDirection = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in fillRecord()
118 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in fillRecord()
120 cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.CURRENT_BYTES)); in fillRecord()
121 info.mTimeStamp = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP)); in fillRecord()
122 info.mDestAddr = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION)); in fillRecord()
124 info.mFileName = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)); in fillRecord()
127 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in fillRecord()
133 info.mFileUri = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in fillRecord()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DCursorToSearchResultConverter.java124 final String pkgName = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor()
126 final String title = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor()
130 final String key = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor()
132 final String iconResStr = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor()
134 final int payloadType = cursor.getInt(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor()
136 final byte[] marshalledPayload = cursor.getBlob(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor()
189 final String screenTitle = cursor.getString(cursor.getColumnIndexOrThrow( in getBreadcrumbs()
191 final String screenClass = cursor.getString(cursor.getColumnIndexOrThrow( in getBreadcrumbs()
/packages/providers/PartnerBookmarksProvider/tests/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProviderTest.java46 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.ID)); in countBookmarksInFolder()
48 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.PARENT)); in countBookmarksInFolder()
50 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.TYPE)) in countBookmarksInFolder()
53 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.URL)); in countBookmarksInFolder()
55 cursor.getColumnIndexOrThrow(PartnerBookmarksContract.Bookmarks.TITLE)); in countBookmarksInFolder()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DAlbumsCursorWrapper.java75 return getColumnIndexOrThrow(columnName); in getColumnIndex()
83 public int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException { in getColumnIndexOrThrow() method in AlbumsCursorWrapper
120 getWrappedCursor().getColumnIndexOrThrow( in getString()
175 getWrappedCursor().getColumnIndexOrThrow(columnName) in getString()
204 getWrappedCursor().getColumnIndexOrThrow(columnName) in getType()
214 getWrappedCursor().getColumnIndexOrThrow( in getMediaIdFromWrappedCursor()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoritesTileAdapter.java200 int starredColumn = cursor.getColumnIndexOrThrow(Contacts.STARRED); in saveCursorToCache()
201 int contactIdColumn = cursor.getColumnIndexOrThrow(Phone.CONTACT_ID); in saveCursorToCache()
202 int photoUriColumn = cursor.getColumnIndexOrThrow(Contacts.PHOTO_URI); in saveCursorToCache()
203 int lookupKeyColumn = cursor.getColumnIndexOrThrow(Contacts.LOOKUP_KEY); in saveCursorToCache()
204 int pinnedColumn = cursor.getColumnIndexOrThrow(Contacts.PINNED); in saveCursorToCache()
205 int nameColumn = cursor.getColumnIndexOrThrow(Contacts.DISPLAY_NAME_PRIMARY); in saveCursorToCache()
206 int nameAlternativeColumn = cursor.getColumnIndexOrThrow(Contacts.DISPLAY_NAME_ALTERNATIVE); in saveCursorToCache()
207 int isDefaultNumberColumn = cursor.getColumnIndexOrThrow(Phone.IS_SUPER_PRIMARY); in saveCursorToCache()
208 int phoneTypeColumn = cursor.getColumnIndexOrThrow(Phone.TYPE); in saveCursorToCache()
209 int phoneLabelColumn = cursor.getColumnIndexOrThrow(Phone.LABEL); in saveCursorToCache()
[all …]

12345