Home
last modified time | relevance | path

Searched refs:getColumnIndexOrThrow (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStatementTest.java140 int numCol = c.getColumnIndexOrThrow("num"); in testStatementLongBinding()
162 int numCol = c.getColumnIndexOrThrow("num"); in testStatementStringBinding()
185 int numCol = c.getColumnIndexOrThrow("num"); in testStatementClearBindings()
207 int numCol = c.getColumnIndexOrThrow("num"); in testSimpleStringBinding()
208 int valCol = c.getColumnIndexOrThrow("value"); in testSimpleStringBinding()
232 int numCol = c.getColumnIndexOrThrow("num"); in testStatementMultipleBindings()
233 int strCol = c.getColumnIndexOrThrow("str"); in testStatementMultipleBindings()
267 int numCol = c.getColumnIndexOrThrow("num"); in run()
268 int strCol = c.getColumnIndexOrThrow("str"); in run()
316 int numCol = c.getColumnIndexOrThrow("num"); in testStatementConstraint()
DDatabaseCursorTest.java118 int bCol = c.getColumnIndexOrThrow("b"); in testBlob()
119 int sCol = c.getColumnIndexOrThrow("s"); in testBlob()
120 int dCol = c.getColumnIndexOrThrow("d"); in testBlob()
121 int lCol = c.getColumnIndexOrThrow("l"); in testBlob()
149 int dataColumn = c.getColumnIndexOrThrow("data"); in testCursor1()
153 int dataColumn2 = c.getColumnIndexOrThrow("junk.data"); in testCursor1()
257 String largeString = c.getString(c.getColumnIndexOrThrow("data")); in testLargeField()
DDatabaseGeneralTest.java110 String value = c.getString(c.getColumnIndexOrThrow("data")); in testUpdate()
134 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
143 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
157 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
166 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
175 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
195 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
204 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
338 String compareTo = c.getString(c.getColumnIndexOrThrow("numi")); in testCopyString()
339 int numiIdx = c.getColumnIndexOrThrow("numi"); in testCopyString()
[all …]
/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java131 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE)); in createFromCursor()
133 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERIAL_NUMBER)); in createFromCursor()
135 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERVICE_CATEGORY)); in createFromCursor()
137 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.LANGUAGE_CODE)); in createFromCursor()
139 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_BODY)); in createFromCursor()
141 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_FORMAT)); in createFromCursor()
143 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_PRIORITY)); in createFromCursor()
241 long deliveryTime = cursor.getLong(cursor.getColumnIndexOrThrow( in createFromCursor()
243 boolean isRead = (cursor.getInt(cursor.getColumnIndexOrThrow( in createFromCursor()
/frameworks/base/core/tests/coretests/src/android/provider/
DSearchRecentSuggestionsProviderTest.java167 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in testReordering()
168 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in testReordering()
325 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in checkResultCounts()
326 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in checkResultCounts()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java217 .getColumnIndexOrThrow(LATITUDE))); in createEntry()
219 .getColumnIndexOrThrow(LONGITUDE))); in createEntry()
247 int colIndex = cursor.getColumnIndexOrThrow(colName); in getNullableFloat()
/frameworks/base/core/java/android/database/
DCursorWrapper.java85 public int getColumnIndexOrThrow(String columnName) in getColumnIndexOrThrow() method in CursorWrapper
87 return mCursor.getColumnIndexOrThrow(columnName); in getColumnIndexOrThrow()
DCursor.java193 int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException; in getColumnIndexOrThrow() method
DCursorJoiner.java111 columns[i] = cursor.getColumnIndexOrThrow(columnNames[i]); in buildColumnIndiciesArray()
DAbstractCursor.java330 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() method in AbstractCursor
/frameworks/base/core/java/android/provider/
DSyncStateContract.java85 return c.getBlob(c.getColumnIndexOrThrow(Columns.DATA)); in get()
140 byte[] blob = c.getBlob(c.getColumnIndexOrThrow(Columns.DATA)); in getWithUri()
DDocumentsProvider.java644 return cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in getDocumentType()
1255 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in getDocumentStreamTypes()
1257 cursor.getLong(cursor.getColumnIndexOrThrow(Document.COLUMN_FLAGS)); in getDocumentStreamTypes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java266 int id = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
268 String iccId = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
270 int simSlotIndex = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
272 String displayName = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
274 String carrierName = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
276 int nameSource = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
278 int iconTint = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
280 String number = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
282 int dataRoaming = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
287 int mcc = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
[all …]
/frameworks/support/core-ui/java/android/support/v4/widget/
DCursorAdapter.java186 mRowIDColumn = cursorPresent ? c.getColumnIndexOrThrow("_id") : -1; in init()
362 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
DSimpleCursorAdapter.java322 mFrom[i] = c.getColumnIndexOrThrow(from[i]); in findColumns()
/frameworks/base/core/java/android/widget/
DCursorAdapter.java180 mRowIDColumn = cursorPresent ? c.getColumnIndexOrThrow("_id") : -1; in init()
378 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
DSimpleCursorAdapter.java333 mFrom[i] = c.getColumnIndexOrThrow(from[i]); in findColumns()
DSimpleCursorTreeAdapter.java243 fromColumns[i] = cursor.getColumnIndexOrThrow(fromColumnNames[i]); in initFromColumns()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java2011 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.TYPE))); in makeApnSetting()
2013 cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers._ID)), in makeApnSetting()
2014 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NUMERIC)), in makeApnSetting()
2015 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NAME)), in makeApnSetting()
2016 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.APN)), in makeApnSetting()
2019 cursor.getColumnIndexOrThrow(Telephony.Carriers.PROXY))), in makeApnSetting()
2020 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.PORT)), in makeApnSetting()
2023 cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSC))), in makeApnSetting()
2026 cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPROXY))), in makeApnSetting()
2027 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPORT)), in makeApnSetting()
[all …]
/frameworks/base/core/java/android/content/
DContentQueryMap.java66 mKeyColumn = mCursor.getColumnIndexOrThrow(columnNameOfKey); in ContentQueryMap()
/frameworks/base/test-runner/src/android/test/mock/
DMockCursor.java52 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() method in MockCursor
/frameworks/base/core/java/android/app/
DDownloadManager.java1117 int status = cursor.getInt(cursor.getColumnIndexOrThrow(COLUMN_STATUS));
1148 return cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDIA_TYPE));
1243 int status = cursor.getInt(cursor.getColumnIndexOrThrow(COLUMN_STATUS));
1247 oldDisplayName = cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_TITLE));
1248 mimeType = cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDIA_TYPE));
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java88 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column)); in swapCursor()
/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java70 mSortColumns[i] = mCursors[i].getColumnIndexOrThrow(sortcolumn); in SortCursor()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
DPaletteActivity.java202 cursor.getColumnIndexOrThrow(MediaStore.Images.ImageColumns._ID)); in bindView()

12