Searched defs:columnName (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteCursor.java | 230 String columnName = mQuery.columnNameLocked(i); 231 mColumns[i] = columnName; 238 if ("_id".equals(columnName)) { 297 public int getColumnIndex(String columnName) { argument 310 final int periodIndex = columnName.lastIndexOf('.'); 313 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 314 columnName = columnName.substring(periodIndex + 1); 317 Integer i = mColumnNameMap.get(columnName);
|
/frameworks/base/core/java/android/app/ |
H A D | SuggestionsAdapter.java | 684 * @param columnName The name of the column to read. 688 public static String getColumnString(Cursor cursor, String columnName) { argument 689 int col = cursor.getColumnIndex(columnName);
|
H A D | DownloadManager.java | 893 public int getColumnIndex(String columnName) { argument 894 return Arrays.asList(COLUMNS).indexOf(columnName); 898 public int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException { argument 899 int index = getColumnIndex(columnName); 901 throw new IllegalArgumentException("No such column: " + columnName);
|
/frameworks/base/core/java/android/database/ |
H A D | Cursor.java | 169 * @param columnName the name of the target column. 174 int getColumnIndex(String columnName); argument 182 * @param columnName the name of the target column. 187 int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException; argument
|
H A D | CursorWrapper.java | 93 public int getColumnIndex(String columnName) { argument 94 return mCursor.getColumnIndex(columnName); 97 public int getColumnIndexOrThrow(String columnName) argument 99 return mCursor.getColumnIndexOrThrow(columnName);
|
H A D | AbstractCursor.java | 286 public int getColumnIndex(String columnName) { argument 288 final int periodIndex = columnName.lastIndexOf('.'); 291 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 292 columnName = columnName.substring(periodIndex + 1); 298 if (columnNames[i].equalsIgnoreCase(columnName)) { 305 Log.w("AbstractCursor", "Unknown column " + columnName); 311 public int getColumnIndexOrThrow(String columnName) { argument 312 final int index = getColumnIndex(columnName); 314 throw new IllegalArgumentException("column '" + columnName [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockCursor.java | 44 public int getColumnIndex(String columnName) { argument 48 public int getColumnIndexOrThrow(String columnName) { argument
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 458 Log.i(LOG_TAG, "columnName: " + column); 946 * @param columnName The name of the column to query 949 protected void verifyInt(Cursor cursor, String columnName, int expected) { argument 950 int index = cursor.getColumnIndex(columnName); 959 * @param columnName The name of the column to query 962 protected void verifyString(Cursor cursor, String columnName, String expected) { argument 963 int index = cursor.getColumnIndex(columnName);
|
Completed in 2355 milliseconds