Home
last modified time | relevance | path

Searched refs:SQLiteTransaction (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DDatabaseHelper.java47 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()
DModelDbController.java76 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()
DDbDowngradeHelper.java25 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;
67 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in onDowngrade()
DGridSizeMigrationUtil.java51 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;
141 try (SQLiteTransaction t = new SQLiteTransaction(target.getWritableDatabase())) { in migrateGridIfNeeded()
DModelWriter.java44 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;
430 try (SQLiteTransaction t = mModel.getModelDbController().newTransaction()) { in runImpl()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatRestoreHelper.java28 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;
42 try (SQLiteTransaction transaction = dbController.newTransaction()) { in createBackup()
57 try (SQLiteTransaction transaction = model.getModelDbController().newTransaction()) { in restoreBackup()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DFavoriteItemsTransaction.java31 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;
69 try (SQLiteTransaction transaction = controller.newTransaction()) { in commit()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DSQLiteTransaction.kt22 abstract class SQLiteTransaction { class
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java72 import com.android.launcher3.provider.LauncherDbUtils.SQLiteTransaction;
193 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in performRestore()
587 SQLiteTransaction t = new SQLiteTransaction(db)) { in maybeOverrideShortcuts()
DLauncherDbUtils.java189 public static class SQLiteTransaction implements AutoCloseable { class in LauncherDbUtils
192 public SQLiteTransaction(SQLiteDatabase db) { in SQLiteTransaction() method in LauncherDbUtils.SQLiteTransaction
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/gridmigration/
DValidGridMigrationUnitTest.kt105 LauncherDbUtils.SQLiteTransaction(db).use { transaction -> in addItemsToDb()
129 LauncherDbUtils.SQLiteTransaction(dbHelper.writableDatabase).use { in migrate()