Home
last modified time | relevance | path

Searched refs:BACKUP_TABLE_NAME (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DGridBackupTable.java18 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME;
128 mDb.insert(BACKUP_TABLE_NAME, null, values); in encodeDBProperties()
135 try (Cursor c = mDb.query(BACKUP_TABLE_NAME, new String[] { in loadDBProperties()
162 if (!tableExists(mDb, Favorites.BACKUP_TABLE_NAME) in restoreFromRawBackupIfAvailable()
170 copyTable(mDb, Favorites.BACKUP_TABLE_NAME, Favorites.TABLE_NAME, oldProfileId); in restoreFromRawBackupIfAvailable()
179 copyTable(mDb, Favorites.TABLE_NAME, Favorites.BACKUP_TABLE_NAME, profileId); in doBackup()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DBackupRestoreTest.java22 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME;
138 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in testOnCreateDbIfNotExists_CreatesBackup()
144 verifyTableIsFilled(BACKUP_TABLE_NAME, false); in testOnRestoreSessionWithValidCondition_PerformsRestore()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherSettings.java137 public static final String BACKUP_TABLE_NAME = "favorites_bakup"; field in LauncherSettings.Favorites
164 + LauncherProvider.AUTHORITY + "/" + BACKUP_TABLE_NAME);
H A DLauncherProvider.java409 Favorites.BACKUP_TABLE_NAME); in call()
693 dropTable(db, Favorites.BACKUP_TABLE_NAME); in onAddOrDeleteOp()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/provider/
H A DRestoreDbTask.java142 dropTable(db, Favorites.BACKUP_TABLE_NAME); in restoreWorkspace()