/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataDbHelper.java | 201 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 …]
|
D | ActionBatch.java | 113 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()
|
D | UpdateHandler.java | 445 final SQLiteDatabase db = MetadataDbHelper.getDb(context, record.mClientId); in downloadFinished() 789 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in compareMetadataForUpgrade() 879 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in installIfNeverRequested() 1060 MetadataDbHelper.getDb(context, clientId), wordlistId, version); in markAsBrokenOrRetrying() 1079 MetadataDbHelper.deleteEntry(MetadataDbHelper.getDb(context, clientId), in markAsBrokenOrRetrying()
|
D | DictionaryDownloadProgressBar.java | 55 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in getDownloadManagerPendingIdFromWordlistId()
|
D | MetadataHandler.java | 120 MetadataDbHelper.getDb(context, clientId), wordListId, version); in getCurrentMetadataForWordList()
|
D | DictionaryProvider.java | 273 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in getWordlistMetadataForWordlistId()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 116 SQLiteDatabase db = new MyModelDbController(23).getDb(); in testGetProfileId() 122 SQLiteDatabase db = new MyModelDbController(42).getDb(); in testMigrateProfileId() 142 SQLiteDatabase db = new MyModelDbController(42).getDb(); in testChangeDefaultColumn() 173 SQLiteDatabase db = controller.getDb(); in testSanitizeDB_bothProfiles() 184 mTask.sanitizeDB(mContext, controller, controller.getDb(), bm, mMockRestoreEventLogger); in testSanitizeDB_bothProfiles() 202 SQLiteDatabase db = controller.getDb(); in testSanitizeDB_workItemsRemoved() 213 mTask.sanitizeDB(mContext, controller, controller.getDb(), bm, mMockRestoreEventLogger); in testSanitizeDB_workItemsRemoved() 236 when(mMockController.getDb()).thenReturn(mMockDb); in givenNoPendingRestore_WhenRestoreAppWidgetIds_ThenRemoveNewWidgetIds() 256 when(mMockController.getDb()).thenReturn(mMockDb); in givenRestoreWithNonExistingWidgets_WhenRestoreAppWidgetIds_ThenRemoveNewIds() 283 when(mMockController.getDb()).thenReturn(mMockDb); in givenRestore_WhenRestoreAppWidgetIds_ThenAddNewIds() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatRestoreHelper.java | 43 GridBackupTable backupTable = new GridBackupTable(context, transaction.getDb()); in createBackup() 58 if (!tableExists(transaction.getDb(), HYBRID_HOTSEAT_BACKUP_TABLE)) { in restoreBackup() 61 GridBackupTable backupTable = new GridBackupTable(context, transaction.getDb()); in restoreBackup()
|
/packages/modules/StatsD/statsd/src/utils/ |
D | DbUtils.h | 58 sqlite3* getDb(const ConfigKey& key);
|
D | DbUtils.cpp | 213 sqlite3* getDb(const ConfigKey& key) { in getDb() function
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 191 SQLiteDatabase db = controller.getDb(); in performRestore() 508 try (Cursor cursor = controller.getDb().query( in restoreAppWidgetIds() 526 logFavoritesTable(controller.getDb(), "launcher db after remap widget ids", null, null); in restoreAppWidgetIds() 531 try (Cursor cursor = controller.getDb().query(Favorites.TABLE_NAME, in logDatabaseWidgetInfo()
|
D | LauncherDbUtils.java | 206 public SQLiteDatabase getDb() { in getDb() method in LauncherDbUtils.SQLiteTransaction
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | PreviewSurfaceRenderer.java | 232 .getModel().getModelDbController().getDb(), in loadModelData() 235 .getModel().getModelDbController().getDb(), in loadModelData()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | db_benchmark.cpp | 71 sqlite3* dbHandle = getDb(key); in BM_insertAtomsIntoDbTablesReuseConnection()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationUtil.java | 142 DbReader srcReader = new DbReader(t.getDb(), TMP_TABLE, context, validPackages); in migrateGridIfNeeded() 143 DbReader destReader = new DbReader(t.getDb(), TABLE_NAME, context, validPackages); in migrateGridIfNeeded() 148 dropTable(t.getDb(), TMP_TABLE); in migrateGridIfNeeded()
|
D | ModelDbController.java | 276 sendMetricsForFailedMigration(restoreEventLogger, getDb()); in tryMigrateDB() 358 public SQLiteDatabase getDb() { in getDb() method in ModelDbController
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | RestrictedEventMetricProducer_test.cpp | 226 sqlite3* dbHandle = dbutils::getDb(configKey); in TEST_F()
|
/packages/modules/StatsD/statsd/tests/utils/ |
D | DbUtils_test.cpp | 253 sqlite3* db = getDb(key); in TEST_F()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricsManager.cpp | 911 sqlite3* db = dbutils::getDb(mConfigKey); in enforceRestrictedDataTtls()
|