Home
last modified time | relevance | path

Searched refs:insertSource (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java226 mDatastoreManager.runInTransaction((dao) -> dao.insertSource(validSource)); in testInsertSource()
293 mDatastoreManager.runInTransaction((dao) -> dao.insertSource(validSource)); in testInsertSource_flexibleEventReport_equal()
447 mDatastoreManager.runInTransaction((dao) -> dao.insertSource(validSource)); in insertSourceReachingDbSizeLimit()
1124 insertSource(source); in testCountDistinctDestinations_atWindow()
1194 insertSource(source); in testCountDistinctDestinations_expiredSource()
1197 insertSource(source); in testCountDistinctDestinations_expiredSource()
1256 insertSource(source); in testCountDistinctDestinations_beyondWindow()
1351 insertSource(source); in testCountDistinctDestinations_appPublisher()
1354 insertSource(source); in testCountDistinctDestinations_appPublisher()
1357 insertSource(source); in testCountDistinctDestinations_appPublisher()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunnerTest.java309 when(mMeasurementDao.insertSource(any())).thenReturn(DEFAULT_SOURCE_ID); in before()
355 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in test_runAsyncRegistrationQueueWorker_appSource_success()
407 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in test_runAsyncRegistrationQueueWorker_emptyNoisedState_sendsDebugReport()
459 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in test_runAsyncRegistrationQueueWorker_nullFakeReports_doesNotSendDebugReport()
514 verify(mMeasurementDao, times(0)).insertSource(any(Source.class)); in test_runAsyncRegistrationQueueWorker_ThreadInterrupted()
596 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in runAsyncRegistrationQueueWorker_appSource_defaultRegistration_redirectTypeList()
666 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in runAsyncRegistrationQueueWorker_appSource_defaultRegistration_redirectTypeLocation()
735 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in runAsyncRegistrationQueueWorker_appSource_middleRegistration_redirectTypeLocation()
786 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in runAsyncRegistrationQueueWorker_appSrc_defaultReg_redirectWellKnown_typeLocation()
929 verify(mMeasurementDao, times(1)).insertSource(any(Source.class)); in runAsyncRegistrationQueueWorker_appSrc_defaultReg_redirectWithExistingPathAndQuery()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java834 final String sourceId = insertSource(source, dao); in insertSourceFromTransaction()
874 private String insertSource(Source source, IMeasurementDao dao) throws DatastoreException { in insertSource() method in AsyncRegistrationQueueRunner
876 return dao.insertSource(source); in insertSource()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorV3Test.java414 insertSource(db, "1", validAggregatableSourceV2); in insertV2Sources()
428 insertSource(db, "2", invalidAggregatableSourceV2); in insertV2Sources()
431 private static void insertSource( in insertSource() method in MeasurementDbMigratorV3Test
DMeasurementDbMigratorV6Test.java285 insertSource(db, INSERTED_SOURCE[i][0], INSERTED_SOURCE[i][1]); in insertSources()
303 private static void insertSource(SQLiteDatabase db, String id, String expiry) { in insertSource() method in MeasurementDbMigratorV6Test
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DIMeasurementDao.java263 String insertSource(Source source) throws DatastoreException; in insertSource() method
DMeasurementDao.java664 public String insertSource(@NonNull Source source) throws DatastoreException { in insertSource() method in MeasurementDao