/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 112 String columnName = mQuery.columnNameLocked(i); in SQLiteCursor() local 113 mColumns[i] = columnName; in SQLiteCursor() 120 if ("_id".equals(columnName)) { in SQLiteCursor() 177 public int getColumnIndex(String columnName) { in getColumnIndex() argument 190 final int periodIndex = columnName.lastIndexOf('.'); in getColumnIndex() 193 Log.e(TAG, "requesting column name with table name -- " + columnName, e); in getColumnIndex() 194 columnName = columnName.substring(periodIndex + 1); in getColumnIndex() 197 Integer i = mColumnNameMap.get(columnName); in getColumnIndex()
|
/frameworks/base/core/java/android/database/ |
D | AbstractCursor.java | 273 public int getColumnIndex(String columnName) { in getColumnIndex() argument 275 final int periodIndex = columnName.lastIndexOf('.'); in getColumnIndex() 278 Log.e(TAG, "requesting column name with table name -- " + columnName, e); in getColumnIndex() 279 columnName = columnName.substring(periodIndex + 1); in getColumnIndex() 285 if (columnNames[i].equalsIgnoreCase(columnName)) { in getColumnIndex() 292 Log.w("AbstractCursor", "Unknown column " + columnName); in getColumnIndex() 298 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() argument 299 final int index = getColumnIndex(columnName); in getColumnIndexOrThrow() 301 throw new IllegalArgumentException("column '" + columnName + "' does not exist"); in getColumnIndexOrThrow()
|
D | CursorWrapper.java | 68 public int getColumnIndex(String columnName) { in getColumnIndex() argument 69 return mCursor.getColumnIndex(columnName); in getColumnIndex() 72 public int getColumnIndexOrThrow(String columnName) in getColumnIndexOrThrow() argument 74 return mCursor.getColumnIndexOrThrow(columnName); in getColumnIndexOrThrow()
|
D | Cursor.java | 175 int getColumnIndex(String columnName); in getColumnIndex() argument 188 int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException; in getColumnIndexOrThrow() argument
|
D | DatabaseUtils.java | 909 String columnName = cur.getString(TABLE_INFO_PRAGMA_COLUMNNAME_INDEX); in buildSQL() local 912 mColumns.put(columnName, i); in buildSQL() 914 sb.append(columnName); in buildSQL()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 459 String columnName = null; in getColumnIndexForPersonId() local 464 columnName = RawContacts.CONTACT_ID; in getColumnIndexForPersonId() 470 columnName = Data.CONTACT_ID; in getColumnIndexForPersonId() 476 columnName = PhoneLookup._ID; in getColumnIndexForPersonId() 480 int columnIndex = (columnName != null) ? cursor.getColumnIndex(columnName) : -1; in getColumnIndexForPersonId() 481 if (VDBG) Log.v(TAG, "==> Using column '" + columnName in getColumnIndexForPersonId()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockCursor.java | 44 public int getColumnIndex(String columnName) { in getColumnIndex() argument 48 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() argument
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ExportTestProvider.java | 157 public int getColumnIndex(String columnName) { 158 TestCase.assertEquals(Contacts._ID, columnName);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 975 protected void verifyInt(Cursor cursor, String columnName, int expected) { in verifyInt() argument 976 int index = cursor.getColumnIndex(columnName); in verifyInt() 988 protected void verifyString(Cursor cursor, String columnName, String expected) { in verifyString() argument 989 int index = cursor.getColumnIndex(columnName); in verifyString()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/ |
D | DownloadManagerBaseTest.java | 780 private void verifyInt(Cursor cursor, String columnName, int expected) { in verifyInt() argument 781 int index = cursor.getColumnIndex(columnName); in verifyInt()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 685 public static String getColumnString(Cursor cursor, String columnName) { in getColumnString() argument 686 int col = cursor.getColumnIndex(columnName); in getColumnString()
|