Searched refs:columnName (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/database/
H A DAbstractCursor.java275 public int getColumnIndex(String columnName) { argument
277 final int periodIndex = columnName.lastIndexOf('.');
280 Log.e(TAG, "requesting column name with table name -- " + columnName, e);
281 columnName = columnName.substring(periodIndex + 1);
287 if (columnNames[i].equalsIgnoreCase(columnName)) {
294 Log.w("AbstractCursor", "Unknown column " + columnName);
300 public int getColumnIndexOrThrow(String columnName) { argument
301 final int index = getColumnIndex(columnName);
303 throw new IllegalArgumentException("column '" + columnName
[all...]
H A DCursorWrapper.java72 public int getColumnIndex(String columnName) { argument
73 return mCursor.getColumnIndex(columnName);
76 public int getColumnIndexOrThrow(String columnName) argument
78 return mCursor.getColumnIndexOrThrow(columnName);
H A DCursor.java172 * @param columnName the name of the target column.
177 int getColumnIndex(String columnName); argument
185 * @param columnName the name of the target column.
190 int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException; argument
H A DDatabaseUtils.java1021 String columnName = cur.getString(TABLE_INFO_PRAGMA_COLUMNNAME_INDEX);
1024 mColumns.put(columnName, i);
1026 sb.append(columnName);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java165 public int getColumnIndex(String columnName) { argument
178 final int periodIndex = columnName.lastIndexOf('.');
181 Log.e(TAG, "requesting column name with table name -- " + columnName, e);
182 columnName = columnName.substring(periodIndex + 1);
185 Integer i = mColumnNameMap.get(columnName);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockCursor.java44 public int getColumnIndex(String columnName) { argument
48 public int getColumnIndexOrThrow(String columnName) { argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java484 String columnName = null;
489 columnName = RawContacts.CONTACT_ID;
495 columnName = Data.CONTACT_ID;
501 columnName = PhoneLookup._ID;
505 int columnIndex = (columnName != null) ? cursor.getColumnIndex(columnName) : -1;
506 if (VDBG) Rlog.v(TAG, "==> Using column '" + columnName
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java157 public int getColumnIndex(String columnName) {
158 TestCase.assertEquals(Contacts._ID, columnName);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java454 Log.i(LOG_TAG, "columnName: " + column);
967 * @param columnName The name of the column to query
970 protected void verifyInt(Cursor cursor, String columnName, int expected) { argument
971 int index = cursor.getColumnIndex(columnName);
980 * @param columnName The name of the column to query
983 protected void verifyString(Cursor cursor, String columnName, String expected) { argument
984 int index = cursor.getColumnIndex(columnName);
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java492 String columnName = cursor.getColumnName(i);
494 final int columnIndex = cursor.getColumnIndex(columnName);
513 builder.append(columnName).append("=").append(columnValue);
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java542 * @param columnName The name of the column to query
545 private void verifyInt(Cursor cursor, String columnName, int expected) { argument
546 int index = cursor.getColumnIndex(columnName);
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java681 * @param columnName The name of the column to read.
685 public static String getColumnString(Cursor cursor, String columnName) { argument
686 int col = cursor.getColumnIndex(columnName);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java641 * @param columnName The name of the column to read.
645 public static String getColumnString(Cursor cursor, String columnName) { argument
646 int col = cursor.getColumnIndex(columnName);

Completed in 308 milliseconds