Searched refs:SQLiteTransaction (Results 1 – 11 of 11) sorted by relevance
47 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;169 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in onUpgrade()304 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in createEmptyDB()368 try (SQLiteTransaction t = new SQLiteTransaction(db); in convertShortcutsToLauncherActivities()407 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in updateFolderItemsRank()436 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in addIntegerColumn()
76 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;253 public SQLiteTransaction newTransaction() { in newTransaction()255 return new SQLiteTransaction(mOpenHelper.getWritableDatabase()); in newTransaction()376 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in deleteEmptyFolders()407 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in deleteBadAppPairs()439 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in deleteUnparentedApps()
25 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;67 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in onDowngrade()
51 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;141 try (SQLiteTransaction t = new SQLiteTransaction(target.getWritableDatabase())) { in migrateGridIfNeeded()
44 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;430 try (SQLiteTransaction t = mModel.getModelDbController().newTransaction()) { in runImpl()
28 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;42 try (SQLiteTransaction transaction = dbController.newTransaction()) { in createBackup()57 try (SQLiteTransaction transaction = model.getModelDbController().newTransaction()) { in restoreBackup()
31 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;69 try (SQLiteTransaction transaction = controller.newTransaction()) { in commit()
22 abstract class SQLiteTransaction { class
72 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;193 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in performRestore()587 SQLiteTransaction t = new SQLiteTransaction(db)) { in maybeOverrideShortcuts()
189 public static class SQLiteTransaction implements AutoCloseable { class in LauncherDbUtils192 public SQLiteTransaction(SQLiteDatabase db) { in SQLiteTransaction() method in LauncherDbUtils.SQLiteTransaction
105 LauncherDbUtils.SQLiteTransaction(db).use { transaction -> in addItemsToDb()129 LauncherDbUtils.SQLiteTransaction(dbHelper.writableDatabase).use { in migrate()