Home
last modified time | relevance | path

Searched refs:getDb (Results 1 – 16 of 16) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataDbHelper.java201 public static SQLiteDatabase getDb(final Context context, final String clientId) { in getDb() method in MetadataDbHelper
359 SQLiteDatabase defaultDb = MetadataDbHelper.getDb(context, null); in getMetadataUriAsString()
388 final SQLiteDatabase defaultDb = getDb(context, null); in saveLastUpdateTimeOfUri()
418 SQLiteDatabase defaultDb = getDb(context, null); in getLastUpdateDateForClient()
444 SQLiteDatabase defaultDb = getDb(context, null); in getMetadataDownloadIdAndStartDateForURI()
458 SQLiteDatabase defaultDb = getDb(context, null); in getOldestUpdateTime()
675 final SQLiteDatabase defaultDb = getDb(context, ""); in getDownloadRecordsForDownloadId()
690 getContentValuesByPendingId(getDb(context, clientId), downloadId); in getDownloadRecordsForDownloadId()
778 final Cursor results = getDb(context, clientId).query(METADATA_TABLE_NAME, in queryInstalledOrDeletingOrAvailableDictionaryMetadata()
800 final Cursor results = getDb(context, clientId).query(METADATA_TABLE_NAME, in queryCurrentMetadata()
[all …]
DActionBatch.java113 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
190 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
224 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
259 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
300 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
350 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
392 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
447 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
518 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
557 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
DUpdateHandler.java451 final SQLiteDatabase db = MetadataDbHelper.getDb(context, record.mClientId); in downloadFinished()
795 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in compareMetadataForUpgrade()
933 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in installIfNeverRequested()
1114 MetadataDbHelper.getDb(context, clientId), wordlistId, version); in markAsBrokenOrRetrying()
1133 MetadataDbHelper.deleteEntry(MetadataDbHelper.getDb(context, clientId), in markAsBrokenOrRetrying()
DDictionaryDownloadProgressBar.java55 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in getDownloadManagerPendingIdFromWordlistId()
DMetadataHandler.java120 MetadataDbHelper.getDb(context, clientId), wordListId, version); in getCurrentMetadataForWordList()
DDictionaryProvider.java273 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in getWordlistMetadataForWordlistId()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatRestoreHelper.java47 transaction.getDb(), idp.numDatabaseHotseatIcons, idp.numColumns, in createBackup()
67 if (!tableExists(transaction.getDb(), HYBRID_HOTSEAT_BACKUP_TABLE)) { in restoreBackup()
72 transaction.getDb(), idp.numDatabaseHotseatIcons, idp.numColumns, in restoreBackup()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java937 copyTable(transaction.getDb(), Favorites.TABLE_NAME, transaction.getDb(),
941 GridBackupTable backupTable = new GridBackupTable(context, transaction.getDb(),
952 && new GridSizeMigrationTask(context, transaction.getDb(), validPackages,
960 if (new MultiStepMigrationTask(validPackages, context, transaction.getDb(),
1028 context, transaction.getDb(), getValidPackages(context),
DGridSizeMigrationTaskV2.java174 DbReader srcReader = new DbReader(t.getDb(), in migrateGridIfNeeded()
178 DbReader destReader = new DbReader(t.getDb(), in migrateGridIfNeeded()
184 GridSizeMigrationTaskV2 task = new GridSizeMigrationTaskV2(context, t.getDb(), in migrateGridIfNeeded()
189 dropTable(t.getDb(), LauncherSettings.Favorites.TMP_TABLE); in migrateGridIfNeeded()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java158 public SQLiteDatabase getDb() { in getDb() method in LauncherDbUtils.SQLiteTransaction
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridBackupTableTest.java49 mDb = mModelHelper.provider.getDb(); in setUp()
DBackupRestoreTest.java80 mDb = mModelHelper.provider.getDb(); in setUp()
DGridSizeMigrationTaskTest.java50 mDb = mModelHelper.provider.getDb(); in setUp()
DGridSizeMigrationTaskV2Test.java77 mDb = mModelHelper.provider.getDb(); in setUp()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DLauncherModelHelper.java431 public SQLiteDatabase getDb() { in getDb() method in LauncherModelHelper.TestLauncherProvider
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java322 onAddOrDeleteOp(t.getDb()); in applyBatch()