/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsEventQueryHelper.java | 82 int eventType = cursor.getInt(cursor.getColumnIndex(EVENT_TYPE_COLUMN)); in performEventQuery() 154 String newIcon = cursor.getString(cursor.getColumnIndex(NEW_ICON_URI_COLUMN)); in createNewGroupIconChangedEvent() 157 cursor.getLong(cursor.getColumnIndex(TIMESTAMP_COLUMN)), in createNewGroupIconChangedEvent() 158 cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)), in createNewGroupIconChangedEvent() 159 cursor.getInt(cursor.getColumnIndex(SOURCE_PARTICIPANT_ID_COLUMN)), in createNewGroupIconChangedEvent() 165 cursor.getLong(cursor.getColumnIndex(TIMESTAMP_COLUMN)), in createNewGroupNameChangedEvent() 166 cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)), in createNewGroupNameChangedEvent() 167 cursor.getInt(cursor.getColumnIndex(SOURCE_PARTICIPANT_ID_COLUMN)), in createNewGroupNameChangedEvent() 168 cursor.getString(cursor.getColumnIndex(NEW_NAME_COLUMN))); in createNewGroupNameChangedEvent() 174 cursor.getLong(cursor.getColumnIndex(TIMESTAMP_COLUMN)), in createNewParticipantLeftEvent() [all …]
|
D | RcsMessageStoreUtil.java | 44 return cursor.getInt(cursor.getColumnIndex(valueColumn)); in getIntValueFromTableRow() 56 return cursor.getLong(cursor.getColumnIndex(valueColumn)); in getLongValueFromTableRow() 68 return cursor.getDouble(cursor.getColumnIndex(valueColumn)); in getDoubleValueFromTableRow() 80 return cursor.getString(cursor.getColumnIndex(valueColumn)); in getStringValueFromTableRow() 92 String uriAsString = cursor.getString(cursor.getColumnIndex(valueColumn)); in getUriValueFromTableRow()
|
D | RcsThreadQueryHelper.java | 72 boolean isGroup = cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN)) in performThreadQuery() 76 int threadId = cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)); in performThreadQuery() 79 int threadId = cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)); in performThreadQuery()
|
D | RcsMessageQueryHelper.java | 90 boolean isIncoming = cursor.getInt(cursor.getColumnIndex(MESSAGE_TYPE_COLUMN)) in performMessageQuery() 92 int messageId = cursor.getInt(cursor.getColumnIndex(MESSAGE_ID_COLUMN)); in performMessageQuery() 150 participantIds[i] = cursor.getInt(cursor.getColumnIndex(RCS_PARTICIPANT_ID_COLUMN)); in getDeliveryParticipantsForMessage() 172 return cursor.getLong(cursor.getColumnIndex(columnName)); in getLongValueFromDelivery()
|
D | RcsParticipantQueryHelper.java | 52 cursor.getInt(cursor.getColumnIndex(RCS_PARTICIPANT_ID_COLUMN))); in performParticipantQuery()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockOptionsProviderTest.java | 132 cursor.getColumnIndex(NAME_COLUMN))).isEqualTo("name_a"); in testQuery_listOptions() 134 cursor.getColumnIndex(TITLE_COLUMN))).isEqualTo("title_a"); in testQuery_listOptions() 136 cursor.getColumnIndex(ID_COLUMN))).isEqualTo("id_a"); in testQuery_listOptions() 138 cursor.getColumnIndex(PREVIEW_COLUMN))) in testQuery_listOptions() 141 cursor.getColumnIndex(THUMBNAIL_COLUMN))) in testQuery_listOptions() 145 cursor.getColumnIndex(NAME_COLUMN))).isEqualTo("name_b"); in testQuery_listOptions() 147 cursor.getColumnIndex(TITLE_COLUMN))).isEqualTo("title_b"); in testQuery_listOptions() 149 cursor.getColumnIndex(ID_COLUMN))).isEqualTo("id_b"); in testQuery_listOptions() 151 cursor.getColumnIndex(PREVIEW_COLUMN))) in testQuery_listOptions() 154 cursor.getColumnIndex(THUMBNAIL_COLUMN))) in testQuery_listOptions()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 224 int type = c.getInt(c.getColumnIndex(SoundModelContract.KEY_TYPE)); in getKeyphraseSoundModel() 233 c.getColumnIndex(SoundModelContract.KEY_MODEL_UUID)); in getKeyphraseSoundModel() 240 int vendorUuidColumn = c.getColumnIndex(SoundModelContract.KEY_VENDOR_UUID); in getKeyphraseSoundModel() 244 byte[] data = c.getBlob(c.getColumnIndex(SoundModelContract.KEY_DATA)); in getKeyphraseSoundModel() 246 c.getColumnIndex(SoundModelContract.KEY_RECOGNITION_MODES)); in getKeyphraseSoundModel() 248 c.getString(c.getColumnIndex(SoundModelContract.KEY_USERS))); in getKeyphraseSoundModel() 250 c.getColumnIndex(SoundModelContract.KEY_LOCALE)); in getKeyphraseSoundModel() 252 c.getColumnIndex(SoundModelContract.KEY_HINT_TEXT)); in getKeyphraseSoundModel() 340 modelUuid = c.getString(c.getColumnIndex(SoundModelContract.KEY_MODEL_UUID)); in SoundModelRecord() 342 vendorUuid = c.getString(c.getColumnIndex(SoundModelContract.KEY_VENDOR_UUID)); in SoundModelRecord() [all …]
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CellBroadcastMessage.java | 149 int plmnColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.PLMN); in createFromCursor() 157 int lacColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.LAC); in createFromCursor() 165 int cidColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.CID); in createFromCursor() 175 int etwsWarningTypeColumn = cursor.getColumnIndex( in createFromCursor() 185 int cmasMessageClassColumn = cursor.getColumnIndex( in createFromCursor() 191 int cmasCategoryColumn = cursor.getColumnIndex( in createFromCursor() 200 int cmasResponseTypeColumn = cursor.getColumnIndex( in createFromCursor() 209 int cmasSeverityColumn = cursor.getColumnIndex( in createFromCursor() 218 int cmasUrgencyColumn = cursor.getColumnIndex( in createFromCursor() 227 int cmasCertaintyColumn = cursor.getColumnIndex( in createFromCursor()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 206 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo() 212 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo() 218 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo() 224 columnIndex = cursor.getColumnIndex(PhoneLookup.LABEL); in getCallerInfo() 226 int typeColumnIndex = cursor.getColumnIndex(PhoneLookup.TYPE); in getCallerInfo() 258 columnIndex = cursor.getColumnIndex(PhoneLookup.LOOKUP_KEY); in getCallerInfo() 264 columnIndex = cursor.getColumnIndex(PhoneLookup.PHOTO_URI); in getCallerInfo() 271 columnIndex = cursor.getColumnIndex(Data.PREFERRED_PHONE_ACCOUNT_COMPONENT_NAME); in getCallerInfo() 277 columnIndex = cursor.getColumnIndex(Data.PREFERRED_PHONE_ACCOUNT_ID); in getCallerInfo() 288 columnIndex = cursor.getColumnIndex(PhoneLookup.CUSTOM_RINGTONE); in getCallerInfo() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceSet.java | 73 int rruleColumn = cursor.getColumnIndex(CalendarContract.Events.RRULE); in RecurrenceSet() 74 int rdateColumn = cursor.getColumnIndex(CalendarContract.Events.RDATE); in RecurrenceSet() 75 int exruleColumn = cursor.getColumnIndex(CalendarContract.Events.EXRULE); in RecurrenceSet() 76 int exdateColumn = cursor.getColumnIndex(CalendarContract.Events.EXDATE); in RecurrenceSet() 257 int dtstartColumn = cursor.getColumnIndex(CalendarContract.Events.DTSTART); in populateComponent() 258 int durationColumn = cursor.getColumnIndex(CalendarContract.Events.DURATION); in populateComponent() 259 int tzidColumn = cursor.getColumnIndex(CalendarContract.Events.EVENT_TIMEZONE); in populateComponent() 260 int rruleColumn = cursor.getColumnIndex(CalendarContract.Events.RRULE); in populateComponent() 261 int rdateColumn = cursor.getColumnIndex(CalendarContract.Events.RDATE); in populateComponent() 262 int exruleColumn = cursor.getColumnIndex(CalendarContract.Events.EXRULE); in populateComponent() [all …]
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 209 String timestamp = cursor.getString(cursor.getColumnIndex(TIMESTAMP)); in createEntry() 210 String tag = cursor.getString(cursor.getColumnIndex(TAG)); in createEntry() 211 String sType = cursor.getString(cursor.getColumnIndex(ENTRY_TYPE)); in createEntry() 237 location.setTime(cursor.getLong(cursor.getColumnIndex(LOC_TIME))); in createEntry() 240 entry.setLogMsg(cursor.getString(cursor.getColumnIndex(DEBUG_INFO))); in createEntry()
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 140 ret.installOrder = cur.getInt(cur.getColumnIndex("install_order")); in queryLastApp() 141 ret.packageName = cur.getString(cur.getColumnIndex("package_name")); in queryLastApp() 142 ret.className = cur.getString(cur.getColumnIndex("class_name")); in queryLastApp() 143 ret.appType = cur.getInt(cur.getColumnIndex("app_type")); in queryLastApp() 144 ret.needSignature = cur.getInt(cur.getColumnIndex("need_signature")); in queryLastApp() 145 ret.furtherProcessing = cur.getInt(cur.getColumnIndex("further_processing")); in queryLastApp()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 442 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 454 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 494 int index = response.getColumnIndex(DownloadManager.COLUMN_ID); in getBytesDownloaded() 499 int index = response.getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR); in getBytesDownloaded() 522 int index = cursor.getColumnIndex(DownloadManager.COLUMN_ID); in removeAllCurrentDownloads()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 268 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor() 269 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor() 270 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor() 271 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor() 272 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor() 273 mFlagsCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_FLAGS); in changeCursor() 718 int col = cursor.getColumnIndex(columnName); in getColumnString()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerDbHelper.java | 112 byte[] data = c.getBlob(c.getColumnIndex( in getGenericSoundModel() 115 c.getColumnIndex(GenericSoundModelContract.KEY_VENDOR_UUID)); in getGenericSoundModel()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 747 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues() 777 int colIndex = cursor.getColumnIndex(field); in cursorLongToContentValues() 808 int colIndex = cursor.getColumnIndex(field); in cursorDoubleToContentValues() 998 final int index = cursor.getColumnIndex(column); in cursorStringToContentValuesIfPresent() 1014 final int index = cursor.getColumnIndex(column); in cursorLongToContentValuesIfPresent() 1030 final int index = cursor.getColumnIndex(column); in cursorShortToContentValuesIfPresent() 1046 final int index = cursor.getColumnIndex(column); in cursorIntToContentValuesIfPresent() 1062 final int index = cursor.getColumnIndex(column); in cursorFloatToContentValuesIfPresent() 1078 final int index = cursor.getColumnIndex(column); in cursorDoubleToContentValuesIfPresent() 1217 int i = getColumnIndex(key); in insertInternal() [all …]
|
D | CursorWrapper.java | 84 public int getColumnIndex(String columnName) { in getColumnIndex() method in CursorWrapper 85 return mCursor.getColumnIndex(columnName); in getColumnIndex()
|
D | Cursor.java | 184 int getColumnIndex(String columnName); in getColumnIndex() method
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 150 int status = cursor.getInt(cursor.getColumnIndex( in onReceive() 455 int index = cursor.getColumnIndex(column); in logDBColumnData() 803 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 815 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 895 int index = cursor.getColumnIndex(DownloadManager.COLUMN_ID); in removeAllCurrentDownloads() 969 int index = cursor.getColumnIndex(columnName); in verifyInt() 982 int index = cursor.getColumnIndex(columnName); in verifyString()
|
D | DownloadManagerStressTest.java | 102 int status = cursor.getInt(cursor.getColumnIndex( in testMultipleDownloads() 104 String filename = cursor.getString(cursor.getColumnIndex( in testMultipleDownloads()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseCursorPagerAdapter.java | 183 mRowIDColumn = newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI); in swapCursor() 235 ? mCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI) : -1; in init()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 124 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri() 125 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri() 143 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri() 144 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri() 159 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri() 160 assertEquals(secondTestValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
|
D | SearchRecentSuggestionsProviderTest.java | 169 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in testReordering() 327 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in checkResultCounts()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 824 final int resultCodeColumnIndex = cursor.getColumnIndex(Columns.RESULT_CODE); in getFontFromProvider() 827 final int fileIdColumnIndex = cursor.getColumnIndex(Columns.FILE_ID); in getFontFromProvider() 828 final int ttcIndexColumnIndex = cursor.getColumnIndex(Columns.TTC_INDEX); in getFontFromProvider() 829 final int vsColumnIndex = cursor.getColumnIndex(Columns.VARIATION_SETTINGS); in getFontFromProvider() 830 final int weightColumnIndex = cursor.getColumnIndex(Columns.WEIGHT); in getFontFromProvider() 831 final int italicColumnIndex = cursor.getColumnIndex(Columns.ITALIC); in getFontFromProvider()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 1213 int status = cursor.getInt(cursor.getColumnIndex(COLUMN_STATUS)); 1216 + cursor.getLong(cursor.getColumnIndex(COLUMN_ID))); 1617 return getReason(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS))); 1619 return translateStatus(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS))); 1643 long destinationType = getLong(getColumnIndex(Downloads.Impl.COLUMN_DESTINATION)); 1647 String localPath = super.getString(getColumnIndex(COLUMN_LOCAL_FILENAME)); 1655 long downloadId = getLong(getColumnIndex(Downloads.Impl._ID));
|