Searched refs:columnName (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_TestDataBuilder.java | 197 public long getLong(String columnName) { in getLong() argument 198 return mCursor.getLong(mCursor.getColumnIndex(columnName)); in getLong() 201 public String getString(String columnName) { in getString() argument 202 return mCursor.getString(mCursor.getColumnIndex(columnName)); in getString() 205 public void assertColumn(String columnName, long value) { in assertColumn() argument 206 assertEquals(value, mCursor.getLong(getColumnIndex(columnName))); in assertColumn() 209 public void assertColumn(String columnName, String value) { in assertColumn() argument 210 assertEquals(value, mCursor.getString(getColumnIndex(columnName))); in assertColumn() 213 public void assertColumn(String columnName, byte[] value) { in assertColumn() argument 214 assertEquals(value, mCursor.getBlob(getColumnIndex(columnName))); in assertColumn() [all …]
|
D | MediaStore_FilesTest.java | 507 private void assertStringColumn(Uri fileUri, String columnName, String expectedValue) { in assertStringColumn() argument 511 int index = cursor.getColumnIndexOrThrow(columnName); in assertStringColumn()
|
D | CalendarTest.java | 899 String columnName) { in getIntFromDatabase() argument 900 String[] projection = { columnName }; in getIntFromDatabase()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 210 String columnName) { in verifyStringColumn() argument 211 if (expectedValues.containsKey(columnName)) { in verifyStringColumn() 212 assertEquals(expectedValues.getAsString(columnName), in verifyStringColumn() 213 cursor.getString(cursor.getColumnIndex(columnName))); in verifyStringColumn() 218 String columnName) { in verifyIntegerColumn() argument 219 if (expectedValues.containsKey(columnName)) { in verifyIntegerColumn() 220 assertEquals(expectedValues.getAsInteger(columnName).intValue(), in verifyIntegerColumn() 221 cursor.getInt(cursor.getColumnIndex(columnName))); in verifyIntegerColumn() 226 String columnName) { in verifyLongColumn() argument 227 if (expectedValues.containsKey(columnName)) { in verifyLongColumn() [all …]
|