Searched refs:BACKUP_TABLE_NAME (Results 1 – 4 of 4) 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; 50 assertTrue(tableExists(mDb, BACKUP_TABLE_NAME)); in backupTableCreated() 53 assertEquals(BACKUP_ITEM_COUNT + 1, queryNumEntries(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/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridBackupTable.java | 18 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME; 71 if (!tableExists(mDb, BACKUP_TABLE_NAME)) { in backupOrRestoreAsNeeded() 78 copyTable(Favorites.TABLE_NAME, BACKUP_TABLE_NAME); in backupOrRestoreAsNeeded() 86 copyTable(BACKUP_TABLE_NAME, Favorites.TABLE_NAME); in backupOrRestoreAsNeeded() 111 mDb.insert(BACKUP_TABLE_NAME, null, values); in encodeDBProperties() 115 try (Cursor c = mDb.query(BACKUP_TABLE_NAME, new String[] { in loadDbProperties()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 408 tableExists(mOpenHelper.getReadableDatabase(), Favorites.BACKUP_TABLE_NAME); in call() 586 mBackupTableExists = tableExists(getReadableDatabase(), Favorites.BACKUP_TABLE_NAME); in DatabaseHelper() 629 dropTable(db, Favorites.BACKUP_TABLE_NAME); in onAddOrDeleteOp()
|
D | LauncherSettings.java | 94 public static final String BACKUP_TABLE_NAME = "favorites_bakup"; field in LauncherSettings.Favorites
|