Searched refs:BACKUP_TABLE_NAME (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | GridBackupTableTest.java | 6 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME; 70 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableCreated() 73 assertEquals(BACKUP_ITEM_COUNT + 1, queryNumEntries(mDb, BACKUP_TABLE_NAME)); in backupTableCreated() 102 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnAdd() 105 assertFalse(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnAdd() 113 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnDelete() 116 assertFalse(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRemovedOnDelete() 124 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRetainedOnUpdate() 133 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableRetainedOnUpdate()
|
D | BackupRestoreTest.java | 21 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME; 101 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in testOnCreateDbIfNotExists_CreatesBackup() 107 verifyTableIsFilled(BACKUP_TABLE_NAME, false); in testOnRestoreSessionWithValidCondition_PerformsRestore()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridBackupTable.java | 18 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME; 93 if (!tableExists(mDb, BACKUP_TABLE_NAME)) { in backupOrRestoreAsNeeded() 107 if (!tableExists(mDb, BACKUP_TABLE_NAME)) { in restoreToPreviewIfBackupExists() 120 copyTable(mDb, BACKUP_TABLE_NAME, toTableName, userSerial); in restoreIfBackupExists() 173 mDb.insert(BACKUP_TABLE_NAME, null, values); in encodeDBProperties() 180 try (Cursor c = mDb.query(BACKUP_TABLE_NAME, new String[] { in loadDBProperties() 207 if (!tableExists(mDb, Favorites.BACKUP_TABLE_NAME) in restoreFromRawBackupIfAvailable() 215 copyTable(mDb, Favorites.BACKUP_TABLE_NAME, Favorites.TABLE_NAME, oldProfileId); in restoreFromRawBackupIfAvailable() 224 copyTable(mDb, Favorites.TABLE_NAME, Favorites.BACKUP_TABLE_NAME, profileId); in doBackup()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherSettings.java | 131 public static final String BACKUP_TABLE_NAME = "favorites_bakup"; field in LauncherSettings.Favorites 158 + LauncherProvider.AUTHORITY + "/" + BACKUP_TABLE_NAME);
|
D | LauncherProvider.java | 419 Favorites.BACKUP_TABLE_NAME); in call() 672 databaseHelper.getReadableDatabase(), Favorites.BACKUP_TABLE_NAME); in createDatabaseHelper() 719 dropTable(db, Favorites.BACKUP_TABLE_NAME); in onAddOrDeleteOp()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 122 dropTable(db, Favorites.BACKUP_TABLE_NAME); in restoreWorkspace()
|