Home
last modified time | relevance | path

Searched defs:dbHelper (Results 1 – 25 of 134) sorted by relevance

123456

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/
DDbHelperTest.java120 DbHelper dbHelper = new DbHelper(sContext, databaseName, 1); in testGetDbFileSize() local
147 DbHelper dbHelper = spy(DbTestUtil.getDbHelperForTest()); in testOnUpgrade_topicsV7Migration() local
170 DbHelper dbHelper = spy(DbTestUtil.getDbHelperForTest()); in testOnUpgrade_topicsV8Migration() local
199 DbHelper dbHelper = new DbHelper(sContext, dbName, /* dbVersion */ 7); in testOnUpgrade_topicsV8Migration_loggedTopicColumnExist() local
209 DbHelper dbHelper = spy(DbTestUtil.getDbHelperForTest()); in testOnUpgrade_topicsV9Migration() local
240 DbHelper dbHelper = spy(DbTestUtil.getDbHelperForTest()); in testOnUpgrade_topicsMigration_V7_V8_V9() local
285 DbHelper dbHelper = spy(DbTestUtil.getDbHelperForTest()); in testOnDowngrade() local
294 DbHelper dbHelper = spy(DbTestUtil.getDbHelperForTest()); in testSafeGetReadableDatabase_exceptionOccurs_validatesErrorLogging() local
312 DbHelper dbHelper = spy(DbTestUtil.getDbHelperForTest()); in testSafeGetWriteDatabase_exceptionOccurs_validatesErrorLogging() local
336 DbHelper dbHelper = new DbHelper(sContext, dbName, DATABASE_VERSION_7); in testOnUpgrade_measurementMigration_tablesExist() local
[all …]
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbFuture.java76 public AddScheduleFuture(DvrDatabaseHelper dbHelper) { in AddScheduleFuture()
89 public UpdateScheduleFuture(DvrDatabaseHelper dbHelper) { in UpdateScheduleFuture()
102 public DeleteScheduleFuture(DvrDatabaseHelper dbHelper) { in DeleteScheduleFuture()
125 public DvrQueryScheduleFuture create(DvrDatabaseHelper dbHelper); in create()
129 public DvrQueryScheduleFuture(DvrDatabaseHelper dbHelper, @Provided DvrFlags dvrFlags) { in DvrQueryScheduleFuture()
162 public AddSeriesRecordingFuture(DvrDatabaseHelper dbHelper) { in AddSeriesRecordingFuture()
175 public UpdateSeriesRecordingFuture(DvrDatabaseHelper dbHelper) { in UpdateSeriesRecordingFuture()
188 public DeleteSeriesRecordingFuture(DvrDatabaseHelper dbHelper) { in DeleteSeriesRecordingFuture()
204 public DvrQuerySeriesRecordingFuture(DvrDatabaseHelper dbHelper) { in DvrQuerySeriesRecordingFuture()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DFederatedComputeDbHelperTest.java90 FederatedComputeDbHelper dbHelper = FederatedComputeDbHelper.getInstanceForTest(mContext); in onCreate() local
117 FederatedComputeDbHelper dbHelper = in testSafeGetReadableDatabase_exceptionOccurs_validatesErrorLogging() local
134 FederatedComputeDbHelper dbHelper = in testSafeGetWriteDatabase_exceptionOccurs_validatesErrorLogging() local
209 FederatedComputeDbHelper dbHelper = in testOnUpgrade_fromVersion1To2_migratesDataAndCreatesIndex() local
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java79 WidgetDatabaseHelper dbHelper = new WidgetDatabaseHelper(context); in migrateGalleryWidgetsInternal() local
107 HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper) { in migrateLocalEntries()
124 WidgetDatabaseHelper dbHelper, String oldExtPath) { in migrateLocalEntries()
132 WidgetDatabaseHelper dbHelper, String oldExtStorage) { in updatePath()
159 private static void updateEntryUsingRelativePath(Entry entry, WidgetDatabaseHelper dbHelper) { in updateEntryUsingRelativePath()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataDao.java49 private UserDataDao(@NonNull OnDevicePersonalizationDbHelper dbHelper, Clock clock) { in UserDataDao()
59 OnDevicePersonalizationDbHelper dbHelper = in getInstance() local
73 OnDevicePersonalizationDbHelper dbHelper = in getInstanceForTest() local
86 OnDevicePersonalizationDbHelper dbHelper = in getInstanceForTest() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/shared/migration/
DSharedDbMigratorV3Test.java62 SharedDbHelper dbHelper = in performMigration_v2ToV3_addLastFetchTimeColumn() local
99 SharedDbHelper dbHelper = in performMigration_v3ToV3() local
DSharedDbMigratorTestBase.java101 SharedDbHelper dbHelper = in performMigration_createAtTargetVersion_dbIsAsExpected() local
123 SharedDbHelper dbHelper = in performMigration_migrateFromPrevToTargetVersion_dbIsAsExpected() local
DSharedDbMigratorV4Test.java63 SharedDbHelper dbHelper = in performMigration_v3ToV4_addEnrolledSiteEnrolledAPIsColumns() local
130 SharedDbHelper dbHelper = in performMigration_v4ToV4() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/shared/
DSharedDbHelperTest.java137 DbHelper dbHelper = in testEnrollmentTableMigrationFromOldDatabase() local
162 DbHelper dbHelper = in testMigrationDataIntegrityToV1FromOldDatabase() local
193 DbHelper dbHelper = in testMigrationExcludesDuplicatesSites() local
247 SharedDbHelper dbHelper = spy(DbTestUtil.getSharedDbHelperForTest()); in testOnUpgrade_sharedDbMigrationV4() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorTestBase.java98 MeasurementDbHelper dbHelper = in performMigration_createAtTargetVersion_dbIsAsExpected() local
119 MeasurementDbHelper dbHelper = in performMigration_migrateFromPrevToTargetVersion_dbIsAsExpected() local
DMeasurementDbMigratorV14Test.java68 MeasurementDbHelper dbHelper = in performMigration_v13ToV14WithData_maintainsDataIntegrity() local
107 MeasurementDbHelper dbHelper = in performMigration_enrollmentIdNotFound_removesSource() local
159 MeasurementDbHelper dbHelper = in performMigration_whenReportingUrlNotFoundOrEmpty_removesSource() local
197 MeasurementDbHelper dbHelper = in performMigration_whenEnrollmentIdNotFound_removesTrigger() local
250 MeasurementDbHelper dbHelper = in performMigration_whenReportingUrlNotFoundOrEmpty_removesTrigger() local
288 MeasurementDbHelper dbHelper = in performMigration_whenEnrollmentIdNotFound_removesEventReport() local
355 MeasurementDbHelper dbHelper = in performMigration_whenReportingUrlNotFoundOrEmpty_removesEventReport() local
406 MeasurementDbHelper dbHelper = in performMigration_whenEnrollmentIdNotFound_removesAggregateReport() local
471 MeasurementDbHelper dbHelper = in performMigration_whenReportingUrlNotFoundOrEmpty_removesAggregateReport() local
DMeasurementDbMigratorV3Test.java122 DbHelper dbHelper = getDbHelper(1); in performMigration_success_v2ToV3() local
166 DbHelper dbHelper = getDbHelper(1); in performMigration_twiceToSameVersion() local
205 DbHelper dbHelper = getDbHelper(1); in insertAndRetrieveAsyncData_afterV3Migration() local
229 DbHelper dbHelper = getDbHelper(1); in performMigration_insertionCantHappenDueToColumnsMismatch_createsNewTable() local
283 DbHelper dbHelper = getDbHelper(1); in performMigration_success_checkAllFields_V2toV3() local
DMeasurementDbMigratorV26Test.java47 MeasurementDbHelper dbHelper = in performMigration_v25ToV26WithData_ClearsReportRetries() local
68 MeasurementDbHelper dbHelper = in performMigration_v25ToV26WithData_AddsAndPopulatesColumns() local
DMeasurementDbMigratorV2Test.java43 DbHelper dbHelper = getDbHelper(1); in performMigration_success() local
63 DbHelper dbHelper = getDbHelper(1); in performMigration_success_checkAllFields_V1toV2() local
DMeasurementDbMigratorV37Test.java38 MeasurementDbHelper dbHelper = in performMigration_v36ToV37WithData_maintainsDataIntegrity() local
DMeasurementDbMigratorV15Test.java68 MeasurementDbHelper dbHelper = in performMigration_v14ToV15WithData_maintainsDataIntegrity() local
96 MeasurementDbHelper dbHelper = in performMigration_whenEnrollmentIdNotFound_removesDebugReport() local
150 MeasurementDbHelper dbHelper = in performMigration_whenReportingUrlNotFoundOrEmpty_removesDebugReport() local
DMeasurementDbMigratorV17Test.java45 MeasurementDbHelper dbHelper = in performMigration_v16ToV17() local
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionTask.java65 protected final TranscriptionDbHelper dbHelper; field in TranscriptionTask
187 Context context, Pair<String, TranscriptionStatus> result, TranscriptionDbHelper dbHelper) { in recordResult()
194 TranscriptionDbHelper dbHelper, in recordResult()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/vendor/
DOnDevicePersonalizationLocalDataDao.java60 private OnDevicePersonalizationLocalDataDao(OnDevicePersonalizationDbHelper dbHelper, in OnDevicePersonalizationLocalDataDao()
88 OnDevicePersonalizationDbHelper dbHelper = in getInstance() local
111 OnDevicePersonalizationDbHelper dbHelper = in getInstanceForTest() local
311 OnDevicePersonalizationDbHelper dbHelper = in deleteTable() local
DOnDevicePersonalizationVendorDataDao.java68 private OnDevicePersonalizationVendorDataDao(OnDevicePersonalizationDbHelper dbHelper, in OnDevicePersonalizationVendorDataDao()
98 OnDevicePersonalizationDbHelper dbHelper = in getInstance() local
123 OnDevicePersonalizationDbHelper dbHelper = in getInstanceForTest() local
153 OnDevicePersonalizationDbHelper dbHelper = in getVendors() local
192 OnDevicePersonalizationDbHelper dbHelper = in deleteVendorData() local
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DFederatedComputeEncryptionKeyDao.java48 private FederatedComputeEncryptionKeyDao(FederatedComputeDbHelper dbHelper, Clock clock) { in FederatedComputeEncryptionKeyDao()
77 FederatedComputeDbHelper dbHelper = in getInstanceForTest() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForCustomMimetype.java23 public DataRowHandlerForCustomMimetype(Context context, ContactsDatabaseHelper dbHelper, in DataRowHandlerForCustomMimetype()
DDataRowHandlerForNote.java29 public DataRowHandlerForNote(Context context, ContactsDatabaseHelper dbHelper, in DataRowHandlerForNote()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DDatabaseHelperTest.kt41 val dbHelper = DatabaseHelper(context, null, userSerialProvider) {} in <lambda>() constant
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDbHelperTest.java87 DbHelper dbHelper = in testMigrationFromOldDatabase() local
118 DbHelper dbHelper = in testMigrationDataIntegrityToV6FromOldDatabase() local

123456