Home
last modified time | relevance | path

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

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridBackupTableTest.java8 import static com.android.launcher3.provider.LauncherDbUtils.tableExists;
50 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableCreated()
82 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnAdd()
85 assertFalse(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnAdd()
93 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnDelete()
96 assertFalse(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnDelete()
104 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRetainedOnUpdate()
113 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRetainedOnUpdate()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java58 assertTrue(CallLogDatabaseHelper.tableExists(sourceDb, "calls")); in testMigration()
59 assertTrue(CallLogDatabaseHelper.tableExists(sourceDb, "voicemail_status")); in testMigration()
80 assertFalse(CallLogDatabaseHelper.tableExists(sourceDb, "calls")); in testMigration()
81 assertFalse(CallLogDatabaseHelper.tableExists(sourceDb, "voicemail_status")); in testMigration()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java20 import static com.android.launcher3.provider.LauncherDbUtils.tableExists;
71 if (!tableExists(mDb, BACKUP_TABLE_NAME)) { in backupOrRestoreAsNeeded()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java476 if (!tableExists(contacts, LegacyConstants.CALLS_LEGACY) in migrateFromLegacyTables()
477 || !tableExists(contacts, LegacyConstants.VOICEMAIL_STATUS_LEGACY)) { in migrateFromLegacyTables()
535 static boolean tableExists(SQLiteDatabase db, String table) { in tableExists() method in CallLogDatabaseHelper
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java20 import static com.android.launcher3.provider.LauncherDbUtils.tableExists;
408 tableExists(mOpenHelper.getReadableDatabase(), Favorites.BACKUP_TABLE_NAME); in call()
581 if (!tableExists(getReadableDatabase(), Favorites.TABLE_NAME)) { in DatabaseHelper()
586 mBackupTableExists = tableExists(getReadableDatabase(), Favorites.BACKUP_TABLE_NAME); in DatabaseHelper()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java107 public static boolean tableExists(SQLiteDatabase db, String tableName) { in tableExists() method in LauncherDbUtils