/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 108 cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)))) { in assertRowExist() 126 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument() 128 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument() 130 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument() 134 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument() 136 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument() 138 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument() 142 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument() 144 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument() 146 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument() [all …]
|
D | WriteableArchiveTest.java | 157 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddDirectory() 159 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testAddDirectory() 161 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testAddDirectory() 163 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory() 172 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddDirectory() 174 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testAddDirectory() 176 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testAddDirectory() 178 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory() 207 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddFile() 209 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testAddFile() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 195 c.getString(c.getColumnIndexOrThrow(FileColumns.DATA))); in assertUpgrade() 197 c.getString(c.getColumnIndexOrThrow(FileColumns.OWNER_PACKAGE_NAME))); in assertUpgrade() 198 assertEquals("0", c.getString(c.getColumnIndexOrThrow(FileColumns.IS_DOWNLOAD))); in assertUpgrade() 205 c.getString(c.getColumnIndexOrThrow(FileColumns.DATA))); in assertUpgrade() 207 c.getString(c.getColumnIndexOrThrow(FileColumns.OWNER_PACKAGE_NAME))); in assertUpgrade() 208 assertEquals("0", c.getString(c.getColumnIndexOrThrow(FileColumns.IS_DOWNLOAD))); in assertUpgrade() 215 c.getString(c.getColumnIndexOrThrow(FileColumns.DATA))); in assertUpgrade() 217 c.getString(c.getColumnIndexOrThrow(FileColumns.MIME_TYPE))); in assertUpgrade() 219 c.getString(c.getColumnIndexOrThrow(FileColumns.OWNER_PACKAGE_NAME))); in assertUpgrade() 220 assertEquals("1", c.getString(c.getColumnIndexOrThrow(FileColumns.IS_DOWNLOAD))); in assertUpgrade() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/ |
D | SystemCallLogDataSource.java | 263 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/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | Coalescer.java | 183 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/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 91 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists._ID); in load() 116 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums._ID); in load() 117 int artistIdColumn = cursor.getColumnIndexOrThrow( in load() 153 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID); in load() 154 … int mimeTypeColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.MIME_TYPE); in load() 155 … int artistIdColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST_ID); in load() 156 … int albumIdColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM_ID); in load() 196 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists._ID); in load() 220 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Genres._ID); in load() 256 int titleColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.TITLE); in loadData() [all …]
|
D | VideoStore.java | 122 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media._ID); in load() 126 int mimeTypeColumn = cursor.getColumnIndexOrThrow( in load() 131 relativePathColumn = cursor.getColumnIndexOrThrow(RELATIVE_PATH); in load() 132 displayNameColumn = cursor.getColumnIndexOrThrow( in load() 135 dataColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DATA); in load() 240 int titleColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.TITLE); in loadData() 241 int durationColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DURATION); in loadData() 242 … int dateTakenColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DATE_TAKEN); in loadData() 243 int latitudeColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.LATITUDE); in loadData() 244 … int longitudeColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.LONGITUDE); in loadData() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppService.java | 632 int idColumn = cursor.getColumnIndexOrThrow(BluetoothShare._ID); in run() 716 String uriString = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in insertShare() 726 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)), uri, in insertShare() 727 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)), in insertShare() 728 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)), in insertShare() 729 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.MIMETYPE)), in insertShare() 730 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)), in insertShare() 731 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION)), in insertShare() 732 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.VISIBILITY)), in insertShare() 733 cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.USER_CONFIRMATION)), in insertShare() [all …]
|
D | BluetoothOppUtility.java | 100 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in fillRecord() 101 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in fillRecord() 102 info.mDirection = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in fillRecord() 103 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in fillRecord() 105 cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.CURRENT_BYTES)); in fillRecord() 106 info.mTimeStamp = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP)); in fillRecord() 107 info.mDestAddr = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION)); in fillRecord() 109 info.mFileName = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)); in fillRecord() 112 cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in fillRecord() 118 info.mFileUri = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in fillRecord() [all …]
|
D | BluetoothOppNotification.java | 265 final int timestampIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in updateActiveNotification() 266 final int directionIndex = cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION); in updateActiveNotification() 267 final int idIndex = cursor.getColumnIndexOrThrow(BluetoothShare._ID); in updateActiveNotification() 268 final int totalBytesIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES); in updateActiveNotification() 269 final int currentBytesIndex = cursor.getColumnIndexOrThrow(BluetoothShare.CURRENT_BYTES); in updateActiveNotification() 270 final int dataIndex = cursor.getColumnIndexOrThrow(BluetoothShare._DATA); in updateActiveNotification() 271 final int filenameHintIndex = cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT); in updateActiveNotification() 272 final int confirmIndex = cursor.getColumnIndexOrThrow(BluetoothShare.USER_CONFIRMATION); in updateActiveNotification() 273 final int destinationIndex = cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION); in updateActiveNotification() 414 final int timestampIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in updateCompletedNotification() [all …]
|
D | BluetoothOppTransferAdapter.java | 71 int status = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in bindView() 72 int dir = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in bindView() 85 String title = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT)); in bindView() 94 int destinationColumnId = cursor.getColumnIndexOrThrow(BluetoothShare.DESTINATION); in bindView() 101 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in bindView() 119 int dateColumnId = cursor.getColumnIndexOrThrow(BluetoothShare.TIMESTAMP); in bindView()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | ImportDataTask.java | 139 final int idIndex = c.getColumnIndexOrThrow(Favorites._ID); in importWorkspaceItems() 140 final int intentIndex = c.getColumnIndexOrThrow(Favorites.INTENT); in importWorkspaceItems() 141 final int titleIndex = c.getColumnIndexOrThrow(Favorites.TITLE); in importWorkspaceItems() 142 final int containerIndex = c.getColumnIndexOrThrow(Favorites.CONTAINER); in importWorkspaceItems() 143 final int itemTypeIndex = c.getColumnIndexOrThrow(Favorites.ITEM_TYPE); in importWorkspaceItems() 144 final int widgetProviderIndex = c.getColumnIndexOrThrow(Favorites.APPWIDGET_PROVIDER); in importWorkspaceItems() 145 final int screenIndex = c.getColumnIndexOrThrow(Favorites.SCREEN); in importWorkspaceItems() 146 final int cellXIndex = c.getColumnIndexOrThrow(Favorites.CELLX); in importWorkspaceItems() 147 final int cellYIndex = c.getColumnIndexOrThrow(Favorites.CELLY); in importWorkspaceItems() 148 final int spanXIndex = c.getColumnIndexOrThrow(Favorites.SPANX); in importWorkspaceItems() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 106 iconIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in LoaderCursor() 107 iconPackageIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in LoaderCursor() 108 iconResourceIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in LoaderCursor() 109 titleIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in LoaderCursor() 111 idIndex = getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in LoaderCursor() 112 containerIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in LoaderCursor() 113 itemTypeIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in LoaderCursor() 114 screenIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in LoaderCursor() 115 cellXIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); in LoaderCursor() 116 cellYIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY); in LoaderCursor() [all …]
|
D | GridSizeMigrationTask.java | 613 final int indexId = c.getColumnIndexOrThrow(Favorites._ID); 614 final int indexItemType = c.getColumnIndexOrThrow(Favorites.ITEM_TYPE); 615 final int indexIntent = c.getColumnIndexOrThrow(Favorites.INTENT); 616 final int indexScreen = c.getColumnIndexOrThrow(Favorites.SCREEN); 684 final int indexId = c.getColumnIndexOrThrow(Favorites._ID); 685 final int indexItemType = c.getColumnIndexOrThrow(Favorites.ITEM_TYPE); 686 final int indexCellX = c.getColumnIndexOrThrow(Favorites.CELLX); 687 final int indexCellY = c.getColumnIndexOrThrow(Favorites.CELLY); 688 final int indexSpanX = c.getColumnIndexOrThrow(Favorites.SPANX); 689 final int indexSpanY = c.getColumnIndexOrThrow(Favorites.SPANY); [all …]
|
D | LoaderTask.java | 295 final int appWidgetIdIndex = c.getColumnIndexOrThrow( in loadWorkspace() 297 final int appWidgetProviderIndex = c.getColumnIndexOrThrow( in loadWorkspace() 299 final int spanXIndex = c.getColumnIndexOrThrow in loadWorkspace() 301 final int spanYIndex = c.getColumnIndexOrThrow( in loadWorkspace() 303 final int rankIndex = c.getColumnIndexOrThrow( in loadWorkspace() 305 final int optionsIndex = c.getColumnIndexOrThrow( in loadWorkspace()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | CursorToSearchResultConverter.java | 122 final String pkgName = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor() 124 final String title = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor() 128 final String key = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor() 130 final String iconResStr = cursor.getString(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor() 132 final int payloadType = cursor.getInt(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor() 134 final byte[] marshalledPayload = cursor.getBlob(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor() 183 final String screenTitle = cursor.getString(cursor.getColumnIndexOrThrow( in getBreadcrumbs() 185 final String screenClass = cursor.getString(cursor.getColumnIndexOrThrow( in getBreadcrumbs()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoritesTileAdapter.java | 200 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 …]
|
/packages/providers/PartnerBookmarksProvider/tests/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProviderTest.java | 48 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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 401 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIA_TYPE)); in queryRecentDocuments() 403 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIAPROVIDER_URI)); in queryRecentDocuments() 486 rawFilesCursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in includeSearchFilesFromSharedStorage() 492 rawFilesCursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)); in includeSearchFilesFromSharedStorage() 568 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_LOCAL_FILENAME)); in getFileForDocId() 613 final long id = cursor.getLong(cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_ID)); in includeDownloadFromCursor() 617 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TITLE)); in includeDownloadFromCursor() 619 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_DESCRIPTION)); in includeDownloadFromCursor() 621 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIA_TYPE)); in includeDownloadFromCursor() 632 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIAPROVIDER_URI)); in includeDownloadFromCursor() [all …]
|
D | OpenHelper.java | 173 final int uid = cursor.getInt(cursor.getColumnIndexOrThrow(Constants.UID)); in getOriginatingUid() 198 return cursor.getString(cursor.getColumnIndexOrThrow(column)); in getCursorString() 202 final String uriString = cursor.getString(cursor.getColumnIndexOrThrow(column)); in getCursorUri() 207 return new File(cursor.getString(cursor.getColumnIndexOrThrow(column))); in getCursorFile()
|
D | DownloadInfo.java | 117 cursor.getColumnIndexOrThrow(Downloads.Impl.RequestHeaders.COLUMN_HEADER); in readRequestHeaders() 119 cursor.getColumnIndexOrThrow(Downloads.Impl.RequestHeaders.COLUMN_VALUE); in readRequestHeaders() 140 int index = mCursor.getColumnIndexOrThrow(column); in getString() 146 return mCursor.getInt(mCursor.getColumnIndexOrThrow(column)); in getInt() 150 return mCursor.getLong(mCursor.getColumnIndexOrThrow(column)); in getLong()
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
D | PhoneNumberInteraction.java | 288 int contactIdColumn = cursor.getColumnIndexOrThrow(Phone.CONTACT_ID); in onLoadComplete() 289 int isSuperPrimaryColumn = cursor.getColumnIndexOrThrow(Phone.IS_SUPER_PRIMARY); in onLoadComplete() 290 int phoneNumberColumn = cursor.getColumnIndexOrThrow(Phone.NUMBER); in onLoadComplete() 291 int phoneIdColumn = cursor.getColumnIndexOrThrow(Phone._ID); in onLoadComplete() 292 int accountTypeColumn = cursor.getColumnIndexOrThrow(RawContacts.ACCOUNT_TYPE); in onLoadComplete() 293 int dataSetColumn = cursor.getColumnIndexOrThrow(RawContacts.DATA_SET); in onLoadComplete() 294 int phoneTypeColumn = cursor.getColumnIndexOrThrow(Phone.TYPE); in onLoadComplete() 295 int phoneLabelColumn = cursor.getColumnIndexOrThrow(Phone.LABEL); in onLoadComplete() 296 int phoneMimeTpeColumn = cursor.getColumnIndexOrThrow(Phone.MIMETYPE); in onLoadComplete()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 67 return (int) cursor.getLong(cursor.getColumnIndexOrThrow( in getStatusIfExists() 83 return cursor.getString(cursor.getColumnIndexOrThrow(field)); in getStringField() 94 return cursor.getLong(cursor.getColumnIndexOrThrow(field)); in getLongField() 184 cursor.getColumnIndexOrThrow( in runUntilProgress() 187 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); in runUntilProgress()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/ |
D | PhoneLookupDataSource.java | 340 int numberColumn = cursor.getColumnIndexOrThrow(AnnotatedCallLog.NUMBER); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog() 399 int idColumn = cursor.getColumnIndexOrThrow(AnnotatedCallLog._ID); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() 400 int numberColumn = cursor.getColumnIndexOrThrow(AnnotatedCallLog.NUMBER); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() 458 cursor.getColumnIndexOrThrow(PhoneLookupHistory.NORMALIZED_NUMBER); in queryPhoneLookupHistoryForNumbers() 460 cursor.getColumnIndexOrThrow(PhoneLookupHistory.PHONE_LOOKUP_INFO); in queryPhoneLookupHistoryForNumbers()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | DatabaseIndexingManager.java | 263 authority = enabledResults.getString(enabledResults.getColumnIndexOrThrow( in updateDataInDatabase() 265 final String key = enabledResults.getString(enabledResults.getColumnIndexOrThrow( in updateDataInDatabase() 284 authority = disabledResults.getString(disabledResults.getColumnIndexOrThrow( in updateDataInDatabase() 287 final String key = disabledResults.getString(disabledResults.getColumnIndexOrThrow( in updateDataInDatabase()
|