Searched refs:tableExists (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | GridBackupTableTest.java | 8 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/ |
D | CallLogMigrationTest.java | 58 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/ |
D | GridBackupTable.java | 20 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/ |
D | CallLogDatabaseHelper.java | 476 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/ |
D | LauncherProvider.java | 20 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/ |
D | LauncherDbUtils.java | 107 public static boolean tableExists(SQLiteDatabase db, String tableName) { in tableExists() method in LauncherDbUtils
|