Home
last modified time | relevance | path

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

123456

/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java146 int plmnColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.PLMN); in createFromCursor()
154 int lacColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.LAC); in createFromCursor()
162 int cidColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.CID); in createFromCursor()
172 int etwsWarningTypeColumn = cursor.getColumnIndex( in createFromCursor()
182 int cmasMessageClassColumn = cursor.getColumnIndex( in createFromCursor()
188 int cmasCategoryColumn = cursor.getColumnIndex( in createFromCursor()
197 int cmasResponseTypeColumn = cursor.getColumnIndex( in createFromCursor()
206 int cmasSeverityColumn = cursor.getColumnIndex( in createFromCursor()
215 int cmasUrgencyColumn = cursor.getColumnIndex( in createFromCursor()
224 int cmasCertaintyColumn = cursor.getColumnIndex( in createFromCursor()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java164 int type = c.getInt(c.getColumnIndex(SoundModelContract.KEY_TYPE)); in getKeyphraseSoundModel()
173 c.getColumnIndex(SoundModelContract.KEY_MODEL_UUID)); in getKeyphraseSoundModel()
179 byte[] data = c.getBlob(c.getColumnIndex(SoundModelContract.KEY_DATA)); in getKeyphraseSoundModel()
181 c.getColumnIndex(SoundModelContract.KEY_RECOGNITION_MODES)); in getKeyphraseSoundModel()
183 c.getString(c.getColumnIndex(SoundModelContract.KEY_USERS))); in getKeyphraseSoundModel()
185 c.getColumnIndex(SoundModelContract.KEY_LOCALE)); in getKeyphraseSoundModel()
187 c.getColumnIndex(SoundModelContract.KEY_HINT_TEXT)); in getKeyphraseSoundModel()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java195 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo()
201 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo()
207 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo()
213 columnIndex = cursor.getColumnIndex(PhoneLookup.LABEL); in getCallerInfo()
215 int typeColumnIndex = cursor.getColumnIndex(PhoneLookup.TYPE); in getCallerInfo()
247 columnIndex = cursor.getColumnIndex(PhoneLookup.LOOKUP_KEY); in getCallerInfo()
253 columnIndex = cursor.getColumnIndex(PhoneLookup.PHOTO_URI); in getCallerInfo()
266 columnIndex = cursor.getColumnIndex(PhoneLookup.CUSTOM_RINGTONE); in getCallerInfo()
279 columnIndex = cursor.getColumnIndex(PhoneLookup.SEND_TO_VOICEMAIL); in getCallerInfo()
552 int columnIndex = (columnName != null) ? cursor.getColumnIndex(columnName) : -1; in getColumnIndexForPersonId()
/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()
259 int dtstartColumn = cursor.getColumnIndex(CalendarContract.Events.DTSTART); in populateComponent()
260 int durationColumn = cursor.getColumnIndex(CalendarContract.Events.DURATION); in populateComponent()
261 int tzidColumn = cursor.getColumnIndex(CalendarContract.Events.EVENT_TIMEZONE); in populateComponent()
262 int rruleColumn = cursor.getColumnIndex(CalendarContract.Events.RRULE); in populateComponent()
263 int rdateColumn = cursor.getColumnIndex(CalendarContract.Events.RDATE); in populateComponent()
264 int exruleColumn = cursor.getColumnIndex(CalendarContract.Events.EXRULE); in populateComponent()
[all …]
/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/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java136 ret.installOrder = cur.getInt(cur.getColumnIndex("install_order")); in queryLastApp()
137 ret.packageName = cur.getString(cur.getColumnIndex("package_name")); in queryLastApp()
138 ret.className = cur.getString(cur.getColumnIndex("class_name")); in queryLastApp()
139 ret.appType = cur.getInt(cur.getColumnIndex("app_type")); in queryLastApp()
140 ret.needSignature = cur.getInt(cur.getColumnIndex("need_signature")); in queryLastApp()
141 ret.furtherProcessing = cur.getInt(cur.getColumnIndex("further_processing")); in queryLastApp()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxSessionStorage.java103 String className = cursor.getString(cursor.getColumnIndex(COLUMN_CLASS)); in getSessionFromCursor()
110 byte[] model = cursor.getBlob(cursor.getColumnIndex(COLUMN_MODEL)); in getSessionFromCursor()
138 String key = cursor.getString(cursor.getColumnIndex(COLUMN_KEY)); in getAllSessions()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java655 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues()
685 int colIndex = cursor.getColumnIndex(field); in cursorLongToContentValues()
716 int colIndex = cursor.getColumnIndex(field); in cursorDoubleToContentValues()
908 final int index = cursor.getColumnIndex(column); in cursorStringToContentValuesIfPresent()
924 final int index = cursor.getColumnIndex(column); in cursorLongToContentValuesIfPresent()
940 final int index = cursor.getColumnIndex(column); in cursorShortToContentValuesIfPresent()
956 final int index = cursor.getColumnIndex(column); in cursorIntToContentValuesIfPresent()
972 final int index = cursor.getColumnIndex(column); in cursorFloatToContentValuesIfPresent()
988 final int index = cursor.getColumnIndex(column); in cursorDoubleToContentValuesIfPresent()
1127 int i = getColumnIndex(key); in insertInternal()
[all …]
DCursorWrapper.java80 public int getColumnIndex(String columnName) { in getColumnIndex() method in CursorWrapper
81 return mCursor.getColumnIndex(columnName); in getColumnIndex()
DCursor.java180 int getColumnIndex(String columnName); in getColumnIndex() method
DAbstractCursor.java304 public int getColumnIndex(String columnName) { in getColumnIndex() method in AbstractCursor
331 final int index = getColumnIndex(columnName); in getColumnIndexOrThrow()
/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/tests/coretests/src/android/provider/
DSettingsProviderTest.java115 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri()
116 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
134 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri()
135 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
150 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri()
151 assertEquals(secondTestValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
/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()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootCursorWrapper.java53 if (cursor.getColumnIndex(COLUMN_AUTHORITY) != -1 in RootCursorWrapper()
54 || cursor.getColumnIndex(COLUMN_ROOT_ID) != -1) { in RootCursorWrapper()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java227 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor()
228 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor()
229 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor()
230 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor()
231 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor()
232 mFlagsCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_FLAGS); in changeCursor()
652 int col = cursor.getColumnIndex(columnName); in getColumnString()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java153 int status = cursor.getInt(cursor.getColumnIndex( in onReceive()
452 int index = cursor.getColumnIndex(column); in logDBColumnData()
800 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
812 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
892 int index = cursor.getColumnIndex(DownloadManager.COLUMN_ID); in removeAllCurrentDownloads()
970 int index = cursor.getColumnIndex(columnName); in verifyInt()
983 int index = cursor.getColumnIndex(columnName); in verifyString()
DDownloadManagerStressTest.java101 int status = cursor.getInt(cursor.getColumnIndex( in testMultipleDownloads()
103 String filename = cursor.getString(cursor.getColumnIndex( in testMultipleDownloads()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java112 byte[] data = c.getBlob(c.getColumnIndex( in getGenericSoundModel()
115 c.getColumnIndex(GenericSoundModelContract.KEY_VENDOR_UUID)); in getGenericSoundModel()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentInfo.java290 final int index = cursor.getColumnIndex(columnName); in getCursorString()
298 final int index = cursor.getColumnIndex(columnName); in getCursorLong()
313 final int index = cursor.getColumnIndex(columnName); in getCursorInt()
/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/support/v4/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatKitKat.java143 static int getColumnIndex(Object info) { in getColumnIndex() method in AccessibilityNodeInfoCompatKitKat.CollectionItemInfo
144 return ((AccessibilityNodeInfo.CollectionItemInfo) info).getColumnIndex(); in getColumnIndex()
/frameworks/base/core/java/android/app/
DDownloadManager.java1142 int status = cursor.getInt(cursor.getColumnIndex(COLUMN_STATUS));
1145 + cursor.getLong(cursor.getColumnIndex(COLUMN_ID)));
1483 return getReason(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS)));
1485 return translateStatus(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS)));
1509 long destinationType = getLong(getColumnIndex(Downloads.Impl.COLUMN_DESTINATION));
1513 String localPath = super.getString(getColumnIndex(COLUMN_LOCAL_FILENAME));
1521 long downloadId = getLong(getColumnIndex(Downloads.Impl._ID));
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceCategory.java89 existingItemInfo.getColumnIndex(), in onInitializeAccessibilityNodeInfo()
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchiveHelper.java279 final String mimeType = cursor.getString(cursor.getColumnIndex( in getInstanceUncheckedLocked()
283 final int columnIndex = cursor.getColumnIndex(COLUMN_LOCAL_FILE_PATH); in getInstanceUncheckedLocked()

123456