Home
last modified time | relevance | path

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

/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A 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()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DGridBackupTable.java20 import static com.android.launcher3.provider.LauncherDbUtils.tableExists;
101 if (!tableExists(mDb, tableName)) { in restoreFromCustomBackupTable()
162 if (!tableExists(mDb, Favorites.BACKUP_TABLE_NAME) in restoreFromRawBackupIfAvailable()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
H A DHotseatRestoreHelper.java19 import static com.android.launcher3.provider.LauncherDbUtils.tableExists;
67 if (!tableExists(transaction.getDb(), HYBRID_HOTSEAT_BACKUP_TABLE)) { in restoreBackup()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DBackupRestoreTest.java26 import static com.android.launcher3.provider.LauncherDbUtils.tableExists;
138 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in testOnCreateDbIfNotExists_CreatesBackup()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCallLogDatabaseHelper.java499 if (!tableExists(contacts, LegacyConstants.CALLS_LEGACY) in migrateFromLegacyTables()
500 || !tableExists(contacts, LegacyConstants.VOICEMAIL_STATUS_LEGACY)) { in migrateFromLegacyTables()
558 static boolean tableExists(SQLiteDatabase db, String table) { in tableExists() method in CallLogDatabaseHelper
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/provider/
H A DLauncherDbUtils.java46 public static boolean tableExists(SQLiteDatabase db, String tableName) { in tableExists() method in LauncherDbUtils
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherProvider.java21 import static com.android.launcher3.provider.LauncherDbUtils.tableExists;
408 mOpenHelper.mBackupTableExists = tableExists(mOpenHelper.getReadableDatabase(), in call()
413 mOpenHelper.mHotseatRestoreTableExists = tableExists( in call()
647 if (!tableExists(databaseHelper.getReadableDatabase(), Favorites.TABLE_NAME)) { in createDatabaseHelper()
652 databaseHelper.mHotseatRestoreTableExists = tableExists( in createDatabaseHelper()