Searched refs:columnName (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_TestDataBuilder.java | 198 public boolean isNull(String columnName) { in isNull() argument 199 return mCursor.isNull(mCursor.getColumnIndex(columnName)); in isNull() 202 public long getLong(String columnName) { in getLong() argument 203 return mCursor.getLong(mCursor.getColumnIndex(columnName)); in getLong() 206 public String getString(String columnName) { in getString() argument 207 return mCursor.getString(mCursor.getColumnIndex(columnName)); in getString() 210 public void assertColumn(String columnName, long value) { in assertColumn() argument 211 assertEquals(value, mCursor.getLong(getColumnIndex(columnName))); in assertColumn() 214 public void assertColumn(String columnName, String value) { in assertColumn() argument 215 assertEquals(value, mCursor.getString(getColumnIndex(columnName))); in assertColumn() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 324 private long queryLong(Uri uri, String columnName) { in queryLong() argument 325 try (Cursor c = mResolver.query(uri, new String[] { columnName }, null, null, null)) { in queryLong() argument 331 private String queryString(Uri uri, String columnName) { in queryString() argument 332 try (Cursor c = mResolver.query(uri, new String[] { columnName }, null, null, null)) { in queryString() argument 338 private void assertStringColumn(Uri fileUri, String columnName, String expectedValue) { in assertStringColumn() argument 339 assertEquals(expectedValue, queryString(fileUri, columnName)); in assertStringColumn()
|
D | CalendarTest.java | 900 String columnName) { in getIntFromDatabase() argument 901 String[] projection = { columnName }; in getIntFromDatabase()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 140 protected String getMediaStoreColumnValue(Uri mediaStoreUri, String columnName) in getMediaStoreColumnValue() argument 142 if (!MediaStore.Files.FileColumns.MEDIA_TYPE.equals(columnName)) { in getMediaStoreColumnValue() 164 mediaStoreUri, columnName, userId); in getMediaStoreColumnValue() 166 final String str = columnName + "="; in getMediaStoreColumnValue() 172 + columnName + " for " in getMediaStoreColumnValue()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 271 String columnName) { in verifyStringColumn() argument 272 if (expectedValues.containsKey(columnName)) { in verifyStringColumn() 273 assertEquals(expectedValues.getAsString(columnName), in verifyStringColumn() 274 cursor.getString(cursor.getColumnIndex(columnName))); in verifyStringColumn() 279 String columnName) { in verifyIntegerColumn() argument 280 if (expectedValues.containsKey(columnName)) { in verifyIntegerColumn() 281 assertEquals(expectedValues.getAsInteger(columnName).intValue(), in verifyIntegerColumn() 282 cursor.getInt(cursor.getColumnIndex(columnName))); in verifyIntegerColumn() 287 String columnName) { in verifyLongColumn() argument 288 if (expectedValues.containsKey(columnName)) { in verifyLongColumn() [all …]
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | SmsTestHelper.java | 62 public void assertSmsColumnEquals(String columnName, Uri uri, String expectedValue) { in assertSmsColumnEquals() argument 68 assertThat(cursor.getString(cursor.getColumnIndex(columnName))).isEqualTo(expectedValue); in assertSmsColumnEquals()
|