Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java59 assertTrue(CallLogDatabaseHelper.tableExists(sourceDb, "calls")); in testMigration()
60 assertTrue(CallLogDatabaseHelper.tableExists(sourceDb, "voicemail_status")); in testMigration()
81 assertFalse(CallLogDatabaseHelper.tableExists(sourceDb, "calls")); in testMigration()
82 assertFalse(CallLogDatabaseHelper.tableExists(sourceDb, "voicemail_status")); in testMigration()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java305 if (!tableExists(contacts, LegacyConstants.CALLS_LEGACY) in migrateFromLegacyTables()
306 || !tableExists(contacts, LegacyConstants.VOICEMAIL_STATUS_LEGACY)) { in migrateFromLegacyTables()
364 static boolean tableExists(SQLiteDatabase db, String table) { in tableExists() method in CallLogDatabaseHelper
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java581 if (!tableExists(Favorites.TABLE_NAME) || !tableExists(WorkspaceScreens.TABLE_NAME)) { in DatabaseHelper()
612 private boolean tableExists(String tableName) { in tableExists() method in LauncherProvider.DatabaseHelper