Searched defs:columnName (Results 1 - 12 of 12) sorted by relevance

/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DFieldBundle.java33 @SerializedName("columnName")
40 public FieldBundle(String fieldPath, String columnName, String affinity, boolean nonNull) { argument
42 mColumnName = columnName;
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/
H A DTestUtilsMatchers.java226 public static Matcher<Object> withCursorItemContent(final String columnName, argument
237 cursor.getString(cursor.getColumnIndex(columnName)));
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java230 public RowBuilder add(String columnName, Object value) { argument
232 if (columnName.equals(columnNames[i])) {
H A DCursor.java175 * @param columnName the name of the target column.
180 int getColumnIndex(String columnName); argument
188 * @param columnName the name of the target column.
193 int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException; argument
H A DCursorWrapper.java80 public int getColumnIndex(String columnName) { argument
81 return mCursor.getColumnIndex(columnName);
85 public int getColumnIndexOrThrow(String columnName) argument
87 return mCursor.getColumnIndexOrThrow(columnName);
H A DAbstractCursor.java305 public int getColumnIndex(String columnName) { argument
307 final int periodIndex = columnName.lastIndexOf('.');
310 Log.e(TAG, "requesting column name with table name -- " + columnName, e);
311 columnName = columnName.substring(periodIndex + 1);
317 if (columnNames[i].equalsIgnoreCase(columnName)) {
324 Log.w("AbstractCursor", "Unknown column " + columnName);
331 public int getColumnIndexOrThrow(String columnName) { argument
332 final int index = getColumnIndex(columnName);
340 throw new IllegalArgumentException("column '" + columnName
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java170 public int getColumnIndex(String columnName) { argument
183 final int periodIndex = columnName.lastIndexOf('.');
186 Log.e(TAG, "requesting column name with table name -- " + columnName, e);
187 columnName = columnName.substring(periodIndex + 1);
190 Integer i = mColumnNameMap.get(columnName);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpDatabaseTest.java70 private static int getInt(Cursor cursor, String columnName) { argument
71 return cursor.getInt(cursor.getColumnIndex(columnName));
74 private static boolean isNull(Cursor cursor, String columnName) { argument
75 return cursor.isNull(cursor.getColumnIndex(columnName));
78 private static String getString(Cursor cursor, String columnName) { argument
79 return cursor.getString(cursor.getColumnIndex(columnName));
/frameworks/base/test-mock/src/android/test/mock/
H A DMockCursor.java47 public int getColumnIndex(String columnName) { argument
52 public int getColumnIndexOrThrow(String columnName) { argument
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java713 * @param columnName The name of the column to read.
717 public static String getColumnString(Cursor cursor, String columnName) { argument
718 int col = cursor.getColumnIndex(columnName);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java456 Log.i(LOG_TAG, "columnName: " + column);
965 * @param columnName The name of the column to query
968 protected void verifyInt(Cursor cursor, String columnName, int expected) { argument
969 int index = cursor.getColumnIndex(columnName);
978 * @param columnName The name of the column to query
981 protected void verifyString(Cursor cursor, String columnName, String expected) { argument
982 int index = cursor.getColumnIndex(columnName);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DSuggestionsAdapter.java671 * @param columnName The name of the column to read.
675 public static String getColumnString(Cursor cursor, String columnName) { argument
676 int col = cursor.getColumnIndex(columnName);

Completed in 110 milliseconds