/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SlicesIndexerTest.java | 91 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))).isEqualTo(newKey); in testAlreadyIndexed_doesNotIndexAgain() 92 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE))) in testAlreadyIndexed_doesNotIndexAgain() 124 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))) in testInsertSliceData_nonPublicSlice_mockDataInserted() 126 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE))) in testInsertSliceData_nonPublicSlice_mockDataInserted() 129 cursor.getString(cursor.getColumnIndex(IndexColumns.FRAGMENT))) in testInsertSliceData_nonPublicSlice_mockDataInserted() 132 cursor.getColumnIndex(IndexColumns.SCREENTITLE))).isEqualTo(SCREEN_TITLE); in testInsertSliceData_nonPublicSlice_mockDataInserted() 134 cursor.getString(cursor.getColumnIndex(IndexColumns.KEYWORDS))) in testInsertSliceData_nonPublicSlice_mockDataInserted() 137 cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE))) in testInsertSliceData_nonPublicSlice_mockDataInserted() 140 cursor.getString(cursor.getColumnIndex(IndexColumns.CONTROLLER))) in testInsertSliceData_nonPublicSlice_mockDataInserted() 142 assertThat(cursor.getInt(cursor.getColumnIndex(IndexColumns.SLICE_TYPE))) in testInsertSliceData_nonPublicSlice_mockDataInserted() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV3Test.java | 493 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 499 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 506 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 512 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 520 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 526 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 531 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 536 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 543 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() 548 cursor.getColumnIndex( in assertDbContainsAsyncRegistrationValues() [all …]
|
D | MeasurementDbMigratorV6Test.java | 400 cursor.getColumnIndex(MeasurementTables.AsyncRegistrationContract.ID))); in assertAsyncRegistrationMigrated() 404 cursor.getColumnIndex( in assertAsyncRegistrationMigrated() 408 cursor.getColumnIndex( in assertAsyncRegistrationMigrated() 416 cursor.getString(cursor.getColumnIndex(MeasurementTables.SourceContract.ID))); in assertSourceMigrated() 420 cursor.getColumnIndex(MeasurementTables.SourceContract.EXPIRY_TIME))); in assertSourceMigrated() 424 cursor.getColumnIndex( in assertSourceMigrated() 429 cursor.getColumnIndex( in assertSourceMigrated() 434 cursor.getColumnIndex( in assertSourceMigrated() 439 cursor.getColumnIndex(MeasurementTables.SourceContract.INSTALL_TIME))); in assertSourceMigrated() 442 cursor.getColumnIndex(MeasurementTables.SourceContract.REGISTRATION_ID))); in assertSourceMigrated() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/data/ |
D | DbTestUtil.java | 179 columnsCursorExpected.getColumnIndex("name")), in assertTableSchemaEqual() 180 columnsCursorActual.getString(columnsCursorActual.getColumnIndex("name"))); in assertTableSchemaEqual() 184 columnsCursorExpected.getColumnIndex("type")), in assertTableSchemaEqual() 185 columnsCursorActual.getString(columnsCursorActual.getColumnIndex("type"))); in assertTableSchemaEqual() 189 columnsCursorExpected.getColumnIndex("notnull")), in assertTableSchemaEqual() 190 columnsCursorActual.getInt(columnsCursorActual.getColumnIndex("notnull"))); in assertTableSchemaEqual() 194 columnsCursorExpected.getColumnIndex("dflt_value")), in assertTableSchemaEqual() 196 columnsCursorActual.getColumnIndex("dflt_value"))); in assertTableSchemaEqual() 199 columnsCursorExpected.getInt(columnsCursorExpected.getColumnIndex("pk")), in assertTableSchemaEqual() 200 columnsCursorActual.getInt(columnsCursorActual.getColumnIndex("pk"))); in assertTableSchemaEqual() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/ |
D | DbTestUtil.java | 188 columnsCursorExpected.getColumnIndex("name")), in assertTableSchemaEqual() 189 columnsCursorActual.getString(columnsCursorActual.getColumnIndex("name"))); in assertTableSchemaEqual() 193 columnsCursorExpected.getColumnIndex("type")), in assertTableSchemaEqual() 194 columnsCursorActual.getString(columnsCursorActual.getColumnIndex("type"))); in assertTableSchemaEqual() 198 columnsCursorExpected.getColumnIndex("notnull")), in assertTableSchemaEqual() 199 columnsCursorActual.getInt(columnsCursorActual.getColumnIndex("notnull"))); in assertTableSchemaEqual() 203 columnsCursorExpected.getColumnIndex("dflt_value")), in assertTableSchemaEqual() 205 columnsCursorActual.getColumnIndex("dflt_value"))); in assertTableSchemaEqual() 208 columnsCursorExpected.getInt(columnsCursorExpected.getColumnIndex("pk")), in assertTableSchemaEqual() 209 columnsCursorActual.getInt(columnsCursorActual.getColumnIndex("pk"))); in assertTableSchemaEqual() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataHandler.java | 50 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/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | NutritionRecordHelper.java | 146 aggregateValue = results.getDouble(results.getColumnIndex(BIOTIN_COLUMN_NAME)); in getAggregateResult() 149 aggregateValue = results.getDouble(results.getColumnIndex(CAFFEINE_COLUMN_NAME)); in getAggregateResult() 152 aggregateValue = results.getDouble(results.getColumnIndex(CALCIUM_COLUMN_NAME)); in getAggregateResult() 155 aggregateValue = results.getDouble(results.getColumnIndex(CHLORIDE_COLUMN_NAME)); in getAggregateResult() 158 aggregateValue = results.getDouble(results.getColumnIndex(CHOLESTEROL_COLUMN_NAME)); in getAggregateResult() 161 aggregateValue = results.getDouble(results.getColumnIndex(CHROMIUM_COLUMN_NAME)); in getAggregateResult() 164 aggregateValue = results.getDouble(results.getColumnIndex(COPPER_COLUMN_NAME)); in getAggregateResult() 168 results.getDouble(results.getColumnIndex(DIETARY_FIBER_COLUMN_NAME)); in getAggregateResult() 171 aggregateValue = results.getDouble(results.getColumnIndex(ENERGY_COLUMN_NAME)); in getAggregateResult() 175 results.getDouble(results.getColumnIndex(ENERGY_FROM_FAT_COLUMN_NAME)); in getAggregateResult() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | MetadataDatabase.java | 309 || cursor.getColumnIndex("a2dp_connection_policy") == -1) { 331 if (cursor == null || cursor.getColumnIndex("last_active_time") == -1) { 362 if (cursor == null || cursor.getColumnIndex("device_type") == -1) { 382 || cursor.getColumnIndex("le_audio_connection_policy") == -1) { 402 || cursor.getColumnIndex("volume_control_connection_policy") 424 || cursor.getColumnIndex("csip_set_coordinator_connection_policy") 445 || cursor.getColumnIndex("le_call_control_connection_policy") 466 || cursor.getColumnIndex("hap_client_connection_policy") == -1) { 486 || cursor.getColumnIndex("bass_client_connection_policy") == -1) { 506 || cursor.getColumnIndex("battery_connection_policy") == -1) { [all …]
|
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 439 when(cursor.getColumnIndex(CallLog.Calls._ID)).thenReturn(CALLS_ID_COLUMN_INDEX); in mockCursor() 444 when(cursor.getColumnIndex(CallLog.Calls.DATE)).thenReturn(CALLS_DATE_COLUMN_INDEX); in mockCursor() 449 when(cursor.getColumnIndex(CallLog.Calls.DURATION)).thenReturn( in mockCursor() 455 when(cursor.getColumnIndex(CallLog.Calls.NUMBER)).thenReturn( in mockCursor() 461 when(cursor.getColumnIndex(CallLog.Calls.POST_DIAL_DIGITS)).thenReturn( in mockCursor() 468 when(cursor.getColumnIndex(CallLog.Calls.VIA_NUMBER)).thenReturn( in mockCursor() 475 when(cursor.getColumnIndex(CallLog.Calls.TYPE)).thenReturn(CALLS_TYPE_COLUMN_INDEX); in mockCursor() 480 when(cursor.getColumnIndex(CallLog.Calls.NUMBER_PRESENTATION)).thenReturn( in mockCursor() 490 when(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_COMPONENT_NAME)).thenReturn( in mockCursor() 497 when(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_ID)).thenReturn( in mockCursor() [all …]
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseAccessor.java | 153 final String key = cursor.getString(cursor.getColumnIndex(IndexColumns.KEY)); in buildSliceData() 154 final String title = cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE)); in buildSliceData() 155 final String summary = cursor.getString(cursor.getColumnIndex(IndexColumns.SUMMARY)); in buildSliceData() 157 cursor.getColumnIndex(IndexColumns.SCREENTITLE)); in buildSliceData() 158 final String keywords = cursor.getString(cursor.getColumnIndex(IndexColumns.KEYWORDS)); in buildSliceData() 159 final int iconResource = cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE)); in buildSliceData() 161 cursor.getColumnIndex(IndexColumns.FRAGMENT)); in buildSliceData() 163 cursor.getColumnIndex(IndexColumns.CONTROLLER)); in buildSliceData() 165 cursor.getColumnIndex(IndexColumns.SLICE_TYPE)); in buildSliceData() 167 cursor.getColumnIndex(IndexColumns.UNAVAILABLE_SLICE_SUBTITLE)); in buildSliceData() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastCursorAdapter.java | 91 int plmnColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.PLMN); in createFromCursor() 99 int lacColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.LAC); in createFromCursor() 107 int cidColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.CID); in createFromCursor() 117 int etwsWarningTypeColumn = cursor.getColumnIndex( in createFromCursor() 127 int cmasMessageClassColumn = cursor.getColumnIndex( in createFromCursor() 133 int cmasCategoryColumn = cursor.getColumnIndex( in createFromCursor() 142 int cmasResponseTypeColumn = cursor.getColumnIndex( in createFromCursor() 151 int cmasSeverityColumn = cursor.getColumnIndex( in createFromCursor() 160 int cmasUrgencyColumn = cursor.getColumnIndex( in createFromCursor() 169 int cmasCertaintyColumn = cursor.getColumnIndex( in createFromCursor() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CursorBackedSuggestionCursor.kt | 195 protected fun getColumnIndex(colName: String?): Int { in getColumnIndex() method 199 mCursor.getColumnIndex(colName) in getColumnIndex() 234 val col = getColumnIndex(colName) in getStringOrNull() 259 mFormatCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_FORMAT) 260 mText1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1) 261 mText2Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2) 262 mText2UrlCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL) 263 mIcon1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1) 264 mIcon2Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2) 265 mRefreshSpinnerCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING)
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 338 mMessageColId = c.getColumnIndex(BluetoothMapContract.MessageColumns._ID); in setMessageColumns() 339 mMessageColDate = c.getColumnIndex(BluetoothMapContract.MessageColumns.DATE); in setMessageColumns() 340 mMessageColSubject = c.getColumnIndex(BluetoothMapContract.MessageColumns.SUBJECT); in setMessageColumns() 341 mMessageColFolder = c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID); in setMessageColumns() 342 mMessageColRead = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_READ); in setMessageColumns() 343 mMessageColSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setMessageColumns() 345 c.getColumnIndex(BluetoothMapContract.MessageColumns.FROM_LIST); in setMessageColumns() 346 mMessageColToAddress = c.getColumnIndex(BluetoothMapContract.MessageColumns.TO_LIST); in setMessageColumns() 348 c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT); in setMessageColumns() 350 c.getColumnIndex(BluetoothMapContract.MessageColumns.ATTACHMENT_SIZE); in setMessageColumns() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/db/ |
D | BatteryEventDaoTest.java | 119 assertThat(cursor.getLong(cursor.getColumnIndex(KEY_TIMESTAMP))).isEqualTo(200L); in getAllAfter_normalFlow_returnExpectedResult() 120 assertThat(cursor.getInt(cursor.getColumnIndex(KEY_BATTERY_EVENT_TYPE))).isEqualTo(2); in getAllAfter_normalFlow_returnExpectedResult() 121 assertThat(cursor.getInt(cursor.getColumnIndex(KEY_BATTERY_LEVEL))).isEqualTo(88); in getAllAfter_normalFlow_returnExpectedResult() 145 assertThat(cursor.getLong(cursor.getColumnIndex(KEY_TIMESTAMP))).isEqualTo(100L); in getAllAfter_filterBatteryTypes_returnExpectedResult() 146 assertThat(cursor.getInt(cursor.getColumnIndex(KEY_BATTERY_EVENT_TYPE))).isEqualTo(1); in getAllAfter_filterBatteryTypes_returnExpectedResult() 147 assertThat(cursor.getInt(cursor.getColumnIndex(KEY_BATTERY_LEVEL))).isEqualTo(66); in getAllAfter_filterBatteryTypes_returnExpectedResult() 171 assertThat(cursor.getLong(cursor.getColumnIndex(KEY_TIMESTAMP))).isEqualTo(200L); in getAllAfter_filterTimestamp_returnExpectedResult() 172 assertThat(cursor.getInt(cursor.getColumnIndex(KEY_BATTERY_EVENT_TYPE))).isEqualTo(1); in getAllAfter_filterTimestamp_returnExpectedResult() 173 assertThat(cursor.getInt(cursor.getColumnIndex(KEY_BATTERY_LEVEL))).isEqualTo(88); in getAllAfter_filterTimestamp_returnExpectedResult()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | CreativeWallpaperInfo.java | 200 effectsCursor.getString(effectsCursor.getColumnIndex( 203 effectsCursor.getColumnIndex( 206 effectsCursor.getColumnIndex( 415 cursor.getColumnIndex(WallpaperInfoContract.WALLPAPER_TITLE)); 417 if (cursor.getColumnIndex(WallpaperInfoContract.WALLPAPER_AUTHOR) >= 0) { 419 cursor.getColumnIndex(WallpaperInfoContract.WALLPAPER_AUTHOR)); 422 if (cursor.getColumnIndex(WallpaperInfoContract.WALLPAPER_DESCRIPTION) >= 0) { 424 cursor.getColumnIndex(WallpaperInfoContract.WALLPAPER_DESCRIPTION)); 427 int wallpaperContentDescriptionIndex = cursor.getColumnIndex( 433 Uri thumbnailUri = Uri.parse(cursor.getString(cursor.getColumnIndex( [all …]
|
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
D | CallLogBackupAgent.java | 588 call.id = cursor.getInt(cursor.getColumnIndex(CallLog.Calls._ID)); in readCallFromCursor() 589 call.date = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DATE)); in readCallFromCursor() 590 call.duration = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DURATION)); in readCallFromCursor() 591 call.number = cursor.getString(cursor.getColumnIndex(CallLog.Calls.NUMBER)); in readCallFromCursor() 593 cursor.getColumnIndex(CallLog.Calls.POST_DIAL_DIGITS)); in readCallFromCursor() 594 call.viaNumber = cursor.getString(cursor.getColumnIndex(CallLog.Calls.VIA_NUMBER)); in readCallFromCursor() 595 call.type = cursor.getInt(cursor.getColumnIndex(CallLog.Calls.TYPE)); in readCallFromCursor() 597 cursor.getInt(cursor.getColumnIndex(CallLog.Calls.NUMBER_PRESENTATION)); in readCallFromCursor() 599 cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_COMPONENT_NAME)); in readCallFromCursor() 601 cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_ID)); in readCallFromCursor() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | SmsProviderTest.java | 208 assertEquals(mFakePdu, cursor.getString(cursor.getColumnIndex("pdu"))); in testRawTableInsert() 209 assertEquals(mFakeAddress, cursor.getString(cursor.getColumnIndex("address"))); in testRawTableInsert() 211 cursor.getString(cursor.getColumnIndex("display_originating_addr"))); in testRawTableInsert() 212 assertEquals(mFakeMessageBody, cursor.getString(cursor.getColumnIndex("message_body"))); in testRawTableInsert() 213 assertEquals(mDate, cursor.getInt(cursor.getColumnIndex("date"))); in testRawTableInsert() 214 assertEquals(mFakePort, cursor.getInt(cursor.getColumnIndex("destination_port"))); in testRawTableInsert() 215 assertEquals(mFakeRefNumber, cursor.getInt(cursor.getColumnIndex("reference_number"))); in testRawTableInsert() 216 assertEquals(mFakeSequence, cursor.getInt(cursor.getColumnIndex("sequence"))); in testRawTableInsert() 217 assertEquals(mFakeCount, cursor.getInt(cursor.getColumnIndex("count"))); in testRawTableInsert() 218 assertEquals(0, cursor.getInt(cursor.getColumnIndex("deleted"))); in testRawTableInsert() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | CequintCallerIdManager.java | 215 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/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/ |
D | GridSizeMigrationUtilTest.kt | 156 val screenIndex = c.getColumnIndex(SCREEN) in <lambda>() 157 var intentIndex = c.getColumnIndex(INTENT) in <lambda>() 185 intentIndex = c.getColumnIndex(INTENT) in <lambda>() 186 val cellXIndex = c.getColumnIndex(CELLX) in <lambda>() 187 val cellYIndex = c.getColumnIndex(CELLY) in <lambda>() 420 val screenIndex = c.getColumnIndex(SCREEN) in <lambda>() 421 val intentIndex = c.getColumnIndex(INTENT) in <lambda>() 433 val intentIndex = c.getColumnIndex(INTENT) in <lambda>() 434 val screenIndex = c.getColumnIndex(SCREEN) in <lambda>() 435 val cellXIndex = c.getColumnIndex(CELLX) in <lambda>() [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | LocalSource.java | 80 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()
|
D | PicasaSource.java | 125 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 …]
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | DocumentProvidersManager.java | 105 int titleIndex = cursor.getColumnIndex(DocumentsContract.Root.COLUMN_TITLE); in readDocumentProvidersFromCursor() 106 int summaryIndex = cursor.getColumnIndex(DocumentsContract.Root.COLUMN_SUMMARY); in readDocumentProvidersFromCursor() 107 int iconResourceIndex = cursor.getColumnIndex(DocumentsContract.Root.COLUMN_ICON); in readDocumentProvidersFromCursor() 108 int rootDocumentIndex = cursor.getColumnIndex(DocumentsContract.Root.COLUMN_ROOT_ID); in readDocumentProvidersFromCursor() 129 int flagsIndex = cursor.getColumnIndex(DocumentsContract.Root.COLUMN_FLAGS); in isDocumentProviderSupported() 142 int mimeTypesIndex = cursor.getColumnIndex(DocumentsContract.Root.COLUMN_MIME_TYPES); in isDocumentProviderSupported()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfo.java | 200 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/apps/Contacts/src/com/android/contacts/group/ |
D | GroupUtil.java | 308 groupId = cursor.getColumnIndex(Groups._ID); in GroupsProjection() 309 title = cursor.getColumnIndex(Groups.TITLE); in GroupsProjection() 310 summaryCount = cursor.getColumnIndex(Groups.SUMMARY_COUNT); in GroupsProjection() 311 systemId = cursor.getColumnIndex(Groups.SYSTEM_ID); in GroupsProjection() 312 accountName = cursor.getColumnIndex(Groups.ACCOUNT_NAME); in GroupsProjection() 313 accountType = cursor.getColumnIndex(Groups.ACCOUNT_TYPE); in GroupsProjection() 314 dataSet = cursor.getColumnIndex(Groups.DATA_SET); in GroupsProjection() 315 autoAdd = cursor.getColumnIndex(Groups.AUTO_ADD); in GroupsProjection() 316 favorites = cursor.getColumnIndex(Groups.FAVORITES); in GroupsProjection() 317 isReadOnly = cursor.getColumnIndex(Groups.GROUP_IS_READ_ONLY); in GroupsProjection() [all …]
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/ |
D | StorageUtils.java | 220 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNullValue() 224 return cursor.getString(cursor.getColumnIndex(columnName)); in getCursorString() 228 return convertBytesToUUID(cursor.getBlob(cursor.getColumnIndex(columnName))); in getCursorUUID() 232 return cursor.getInt(cursor.getColumnIndex(columnName)); in getCursorInt() 237 String value = cursor.getString(cursor.getColumnIndex(columnName)); in getIntegerAndConvertToBoolean() 245 return cursor.getLong(cursor.getColumnIndex(columnName)); in getCursorLong() 249 return cursor.getDouble(cursor.getColumnIndex(columnName)); in getCursorDouble() 253 return cursor.getBlob(cursor.getColumnIndex(columnName)); in getCursorBlob() 258 final String values = cursor.getString(cursor.getColumnIndex(columnName)); in getCursorStringList() 268 final String stringList = cursor.getString(cursor.getColumnIndex(columnName)); in getCursorIntegerList() [all …]
|