Home
last modified time | relevance | path

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

123

/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java270 int type = c.getInt(c.getColumnIndex(SoundModelContract.KEY_TYPE)); in getValidKeyphraseSoundModelForUser()
279 c.getColumnIndex(SoundModelContract.KEY_MODEL_UUID)); in getValidKeyphraseSoundModelForUser()
286 int vendorUuidColumn = c.getColumnIndex(SoundModelContract.KEY_VENDOR_UUID); in getValidKeyphraseSoundModelForUser()
291 c.getColumnIndex(SoundModelContract.KEY_KEYPHRASE_ID)); in getValidKeyphraseSoundModelForUser()
292 byte[] data = c.getBlob(c.getColumnIndex(SoundModelContract.KEY_DATA)); in getValidKeyphraseSoundModelForUser()
294 c.getColumnIndex(SoundModelContract.KEY_RECOGNITION_MODES)); in getValidKeyphraseSoundModelForUser()
296 c.getString(c.getColumnIndex(SoundModelContract.KEY_USERS))); in getValidKeyphraseSoundModelForUser()
298 c.getColumnIndex(SoundModelContract.KEY_LOCALE))); in getValidKeyphraseSoundModelForUser()
300 c.getColumnIndex(SoundModelContract.KEY_HINT_TEXT)); in getValidKeyphraseSoundModelForUser()
302 c.getColumnIndex(SoundModelContract.KEY_MODEL_VERSION)); in getValidKeyphraseSoundModelForUser()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockOptionsProviderTest.java132 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/people/java/com/android/server/people/data/
DContactsQueryHelper.java126 int idIndex = cursor.getColumnIndex(Contacts._ID); in queryContact()
130 int lookupKeyIndex = cursor.getColumnIndex(Contacts.LOOKUP_KEY); in queryContact()
136 int starredIndex = cursor.getColumnIndex(Contacts.STARRED); in queryContact()
140 int hasPhoneNumIndex = cursor.getColumnIndex(Contacts.HAS_PHONE_NUMBER); in queryContact()
144 int lastUpdatedTimestampIndex = cursor.getColumnIndex( in queryContact()
173 int phoneNumIdx = cursor.getColumnIndex( in queryPhoneNumber()
DMmsQueryHelper.java85 int msgIdIndex = cursor.getColumnIndex(Mms._ID); in querySince()
89 int dateIndex = cursor.getColumnIndex(Mms.DATE); in querySince()
93 int msgBoxIndex = cursor.getColumnIndex(Mms.MESSAGE_BOX); in querySince()
126 int typeIndex = cursor.getColumnIndex(Mms.Addr.TYPE); in getMmsAddress()
132 int addrIndex = cursor.getColumnIndex(Mms.Addr.ADDRESS); in getMmsAddress()
DCallLogQueryHelper.java76 int numberIndex = cursor.getColumnIndex(Calls.CACHED_NORMALIZED_NUMBER); in querySince()
80 int dateIndex = cursor.getColumnIndex(Calls.DATE); in querySince()
84 int durationIndex = cursor.getColumnIndex(Calls.DURATION); in querySince()
88 int typeIndex = cursor.getColumnIndex(Calls.TYPE); in querySince()
DSmsQueryHelper.java79 int msgIdIndex = cursor.getColumnIndex(Sms._ID); in querySince()
83 int dateIndex = cursor.getColumnIndex(Sms.DATE); in querySince()
87 int typeIndex = cursor.getColumnIndex(Sms.TYPE); in querySince()
91 int addressIndex = cursor.getColumnIndex(Sms.ADDRESS); in querySince()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java229 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo()
235 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo()
241 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo()
247 columnIndex = cursor.getColumnIndex(PhoneLookup.LABEL); in getCallerInfo()
249 int typeColumnIndex = cursor.getColumnIndex(PhoneLookup.TYPE); in getCallerInfo()
281 columnIndex = cursor.getColumnIndex(PhoneLookup.LOOKUP_KEY); in getCallerInfo()
287 columnIndex = cursor.getColumnIndex(PhoneLookup.PHOTO_URI); in getCallerInfo()
294 columnIndex = cursor.getColumnIndex(Data.PREFERRED_PHONE_ACCOUNT_COMPONENT_NAME); in getCallerInfo()
300 columnIndex = cursor.getColumnIndex(Data.PREFERRED_PHONE_ACCOUNT_ID); in getCallerInfo()
311 columnIndex = cursor.getColumnIndex(PhoneLookup.CUSTOM_RINGTONE); in getCallerInfo()
[all …]
/frameworks/base/telephony/java/android/telephony/
DSmsCbMessage.java644 int plmnColumn = cursor.getColumnIndex(CellBroadcasts.PLMN); in createFromCursor()
652 int lacColumn = cursor.getColumnIndex(CellBroadcasts.LAC); in createFromCursor()
660 int cidColumn = cursor.getColumnIndex(CellBroadcasts.CID); in createFromCursor()
670 int etwsWarningTypeColumn = cursor.getColumnIndex(CellBroadcasts.ETWS_WARNING_TYPE); in createFromCursor()
671 int etwsIsPrimaryColumn = cursor.getColumnIndex(CellBroadcasts.ETWS_IS_PRIMARY); in createFromCursor()
682 int cmasMessageClassColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_MESSAGE_CLASS); in createFromCursor()
687 int cmasCategoryColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_CATEGORY); in createFromCursor()
695 int cmasResponseTypeColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_RESPONSE_TYPE); in createFromCursor()
703 int cmasSeverityColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_SEVERITY); in createFromCursor()
711 int cmasUrgencyColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_URGENCY); in createFromCursor()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java73 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/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java117 byte[] data = c.getBlob(c.getColumnIndex( in getGenericSoundModel()
120 c.getColumnIndex(GenericSoundModelContract.KEY_VENDOR_UUID)); in getGenericSoundModel()
122 c.getColumnIndex(GenericSoundModelContract.KEY_MODEL_VERSION)); in getGenericSoundModel()
164 int colNameIndex = c.getColumnIndex(name); in dump()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java209 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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java153 final int indexComponent = c.getColumnIndex(IconDB.COLUMN_COMPONENT); in updateIconsPerUser()
154 final int indexLastUpdate = c.getColumnIndex(IconDB.COLUMN_LAST_UPDATED); in updateIconsPerUser()
155 final int indexVersion = c.getColumnIndex(IconDB.COLUMN_VERSION); in updateIconsPerUser()
156 final int rowIndex = c.getColumnIndex(IconDB.COLUMN_ROWID); in updateIconsPerUser()
157 final int systemStateIndex = c.getColumnIndex(IconDB.COLUMN_SYSTEM_STATE); in updateIconsPerUser()
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java140 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/
DDownloadManagerBaseTest.java442 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/
DSuggestionsAdapter.java268 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()
DCursorTreeAdapter.java412 mRowIDColumn = cursorPresent ? cursor.getColumnIndex("_id") : -1; in MyCursorHelper()
461 mRowIDColumn = cursor.getColumnIndex("_id"); in changeCursor()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java829 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues()
859 int colIndex = cursor.getColumnIndex(field); in cursorLongToContentValues()
890 int colIndex = cursor.getColumnIndex(field); in cursorDoubleToContentValues()
1080 final int index = cursor.getColumnIndex(column); in cursorStringToContentValuesIfPresent()
1096 final int index = cursor.getColumnIndex(column); in cursorLongToContentValuesIfPresent()
1112 final int index = cursor.getColumnIndex(column); in cursorShortToContentValuesIfPresent()
1128 final int index = cursor.getColumnIndex(column); in cursorIntToContentValuesIfPresent()
1144 final int index = cursor.getColumnIndex(column); in cursorFloatToContentValuesIfPresent()
1160 final int index = cursor.getColumnIndex(column); in cursorDoubleToContentValuesIfPresent()
1299 int i = getColumnIndex(key); in insertInternal()
[all …]
DCursorWrapper.java84 public int getColumnIndex(String columnName) { in getColumnIndex() method in CursorWrapper
85 return mCursor.getColumnIndex(columnName); in getColumnIndex()
DCursor.java184 int getColumnIndex(String columnName); in getColumnIndex() method
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java152 int status = cursor.getInt(cursor.getColumnIndex( in onReceive()
458 int index = cursor.getColumnIndex(column); in logDBColumnData()
806 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
818 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
898 int index = cursor.getColumnIndex(DownloadManager.COLUMN_ID); in removeAllCurrentDownloads()
972 int index = cursor.getColumnIndex(columnName); in verifyInt()
985 int index = cursor.getColumnIndex(columnName); in verifyString()
DDownloadManagerStressTest.java102 int status = cursor.getInt(cursor.getColumnIndex( in testMultipleDownloads()
104 String filename = cursor.getString(cursor.getColumnIndex( in testMultipleDownloads()
/frameworks/base/core/java/android/provider/
DFontsContract.java831 final int resultCodeColumnIndex = cursor.getColumnIndex(Columns.RESULT_CODE); in getFontFromProvider()
834 final int fileIdColumnIndex = cursor.getColumnIndex(Columns.FILE_ID); in getFontFromProvider()
835 final int ttcIndexColumnIndex = cursor.getColumnIndex(Columns.TTC_INDEX); in getFontFromProvider()
836 final int vsColumnIndex = cursor.getColumnIndex(Columns.VARIATION_SETTINGS); in getFontFromProvider()
837 final int weightColumnIndex = cursor.getColumnIndex(Columns.WEIGHT); in getFontFromProvider()
838 final int italicColumnIndex = cursor.getColumnIndex(Columns.ITALIC); in getFontFromProvider()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java124 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()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java183 mRowIDColumn = newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI); in swapCursor()
235 ? mCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI) : -1; in init()
/frameworks/base/core/java/android/app/
DDownloadManager.java1253 int status = cursor.getInt(cursor.getColumnIndex(COLUMN_STATUS)); in restartDownload()
1256 + cursor.getLong(cursor.getColumnIndex(COLUMN_ID))); in restartDownload()
1710 return getReason(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS))); in getLong()
1712 return translateStatus(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS))); in getLong()
1736 long destinationType = getLong(getColumnIndex(Downloads.Impl.COLUMN_DESTINATION)); in getLocalUri()
1740 String localPath = super.getString(getColumnIndex(COLUMN_LOCAL_FILENAME)); in getLocalUri()
1748 long downloadId = getLong(getColumnIndex(Downloads.Impl._ID)); in getLocalUri()

123