Home
last modified time | relevance | path

Searched refs:tableExists (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/database/
DVersionTable.java118 if (!tableExists(writableDatabase, TABLE_NAME)) { in removeVersion()
143 if (!tableExists(database, TABLE_NAME)) { in getVersion()
167 /* package */ static boolean tableExists(SQLiteDatabase readableDatabase, String tableName) { in tableExists() method in VersionTable
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/database/
DVersionTableTest.java91 assertThat(VersionTable.tableExists(database, "NonExistingTable")).isFalse(); in doesTableExist_nonExistingTable_returnsFalse()
98 assertThat(VersionTable.tableExists(database, table)).isTrue(); in doesTableExist_existingTable_returnsTrue()