Home
last modified time | relevance | path

Searched refs:getColumnIndexOrThrow (Results 1 – 25 of 37) 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.java117 int bCol = c.getColumnIndexOrThrow("b"); in testBlob()
118 int sCol = c.getColumnIndexOrThrow("s"); in testBlob()
119 int dCol = c.getColumnIndexOrThrow("d"); in testBlob()
120 int lCol = c.getColumnIndexOrThrow("l"); in testBlob()
148 int dataColumn = c.getColumnIndexOrThrow("data"); in testCursor1()
152 int dataColumn2 = c.getColumnIndexOrThrow("junk.data"); in testCursor1()
256 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.java129 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE)); in createFromCursor()
131 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERIAL_NUMBER)); in createFromCursor()
133 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERVICE_CATEGORY)); in createFromCursor()
135 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.LANGUAGE_CODE)); in createFromCursor()
137 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_BODY)); in createFromCursor()
139 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_FORMAT)); in createFromCursor()
141 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_PRIORITY)); in createFromCursor()
239 long deliveryTime = cursor.getLong(cursor.getColumnIndexOrThrow( in createFromCursor()
241 boolean isRead = (cursor.getInt(cursor.getColumnIndexOrThrow( in createFromCursor()
/frameworks/base/core/tests/coretests/src/android/provider/
DSearchRecentSuggestionsProviderTest.java162 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in testReordering()
163 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in testReordering()
318 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in checkResultCounts()
319 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in checkResultCounts()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1165 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.TYPE))); in makeApnSetting()
1167 cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers._ID)), in makeApnSetting()
1168 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NUMERIC)), in makeApnSetting()
1169 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NAME)), in makeApnSetting()
1170 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.APN)), in makeApnSetting()
1173 cursor.getColumnIndexOrThrow(Telephony.Carriers.PROXY))), in makeApnSetting()
1174 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.PORT)), in makeApnSetting()
1177 cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSC))), in makeApnSetting()
1180 cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPROXY))), in makeApnSetting()
1181 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPORT)), in makeApnSetting()
[all …]
/frameworks/base/core/java/android/database/
DCursorWrapper.java76 public int getColumnIndexOrThrow(String columnName) in getColumnIndexOrThrow() method in CursorWrapper
78 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.java300 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() method in AbstractCursor
/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/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java248 int id = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
250 String iccId = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
252 int simSlotIndex = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
254 String displayName = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
256 String carrierName = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
258 int nameSource = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
260 int iconTint = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
262 String number = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
264 int dataRoaming = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
269 int mcc = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
[all …]
/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()
/frameworks/base/core/java/android/widget/
DCursorAdapter.java172 mRowIDColumn = cursorPresent ? c.getColumnIndexOrThrow("_id") : -1; in init()
342 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/support/v4/java/android/support/v4/widget/
DCursorAdapter.java174 mRowIDColumn = cursorPresent ? c.getColumnIndexOrThrow("_id") : -1; in init()
344 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
DSimpleCursorAdapter.java317 mFrom[i] = mCursor.getColumnIndexOrThrow(from[i]); in findColumns()
/frameworks/base/test-runner/src/android/test/mock/
DMockCursor.java46 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() method in MockCursor
/frameworks/base/core/java/android/content/
DContentQueryMap.java66 mKeyColumn = mCursor.getColumnIndexOrThrow(columnNameOfKey); in ContentQueryMap()
/frameworks/base/core/java/android/app/
DDownloadManager.java1035 int status = cursor.getInt(cursor.getColumnIndexOrThrow(COLUMN_STATUS)); in getUriForDownloadedFile()
1037 int indx = cursor.getColumnIndexOrThrow( in getUriForDownloadedFile()
1052 cursor.getColumnIndexOrThrow(COLUMN_LOCAL_FILENAME)); in getUriForDownloadedFile()
1083 return cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDIA_TYPE)); in getMimeTypeForDownloadedFile()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java86 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/base/docs/html/training/basics/data-storage/
Ddatabases.jd257 {@link android.database.Cursor#getColumnIndexOrThrow getColumnIndexOrThrow()}.
263 cursor.getColumnIndexOrThrow(FeedEntry._ID)
/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java169 mRowIdColumnIndex = cursor.getColumnIndexOrThrow("_id"); in changeCursor()

12