/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | MeasurementDaoTest.java | 188 private DatastoreManager mDatastoreManager; field in MeasurementDaoTest 204 mDatastoreManager = in before() 226 mDatastoreManager.runInTransaction((dao) -> dao.insertSource(validSource)); in testInsertSource() 230 mDatastoreManager in testInsertSource() 277 mDatastoreManager in testInsertSource() 293 mDatastoreManager.runInTransaction((dao) -> dao.insertSource(validSource)); in testInsertSource_flexibleEventReport_equal() 297 mDatastoreManager in testInsertSource_flexibleEventReport_equal() 344 mDatastoreManager in testInsertSource_flexibleEventReport_equal() 383 mDatastoreManager in testInsertSource_attributionScopeEnabled_success() 391 mDatastoreManager in testInsertSource_attributionScopeEnabled_success() [all …]
|
D | DeleteExpiredDynamicIntegrationTest.java | 45 private final DatastoreManager mDatastoreManager; field in DeleteExpiredDynamicIntegrationTest 101 this.mDatastoreManager = in DeleteExpiredDynamicIntegrationTest() 109 mDatastoreManager.runInTransaction( in runActionToTest()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyManagerTest.java | 68 @Mock DatastoreManager mDatastoreManager; field in AggregateEncryptionKeyManagerTest 88 .when(mDatastoreManager).runInTransactionWithResult(any()); in getAggregateEncryptionKeys_hasKeysInDatastore_doesNotCallFetcher() 91 mDatastoreManager, in getAggregateEncryptionKeys_hasKeysInDatastore_doesNotCallFetcher() 114 .when(mDatastoreManager).runInTransactionWithResult(any()); in getAggregateEncryptionKeys_fetcherFails_returnsEmptyList() 120 mDatastoreManager, in getAggregateEncryptionKeys_fetcherFails_returnsEmptyList() 141 .when(mDatastoreManager).runInTransactionWithResult(any()); in getAggregateEncryptionKeys_localhostCoordinator_doesNotCacheKeys() 147 mDatastoreManager, in getAggregateEncryptionKeys_localhostCoordinator_doesNotCacheKeys() 162 verify(mDatastoreManager, times(1)).runInTransaction(any()); in getAggregateEncryptionKeys_localhostCoordinator_doesNotCacheKeys()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyManager.java | 39 private final DatastoreManager mDatastoreManager; field in AggregateEncryptionKeyManager 46 mDatastoreManager = datastoreManager; in AggregateEncryptionKeyManager() 61 mDatastoreManager = datastoreManager; in AggregateEncryptionKeyManager() 84 mDatastoreManager.runInTransactionWithResult( in getAggregateEncryptionKeys() 103 mDatastoreManager.runInTransaction((dao) -> in getAggregateEncryptionKeys() 107 mDatastoreManager.runInTransaction((dao) -> in getAggregateEncryptionKeys()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | MeasurementImpl.java | 90 private final DatastoreManager mDatastoreManager; field in MeasurementImpl 99 mDatastoreManager = DatastoreManagerFactory.getDatastoreManager(context); in MeasurementImpl() 102 mMeasurementDataDeleter = new MeasurementDataDeleter(mDatastoreManager, mFlags); in MeasurementImpl() 116 mDatastoreManager = datastoreManager; in MeasurementImpl() 152 mDatastoreManager.runInTransaction( in doInstallAttribution() 180 mDatastoreManager, in register() 211 mDatastoreManager, in registerSources() 246 mDatastoreManager, in registerWebSource() 282 mDatastoreManager, in registerWebTrigger() 332 mDatastoreManager, in registerEvent() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | EventReportingJobHandler.java | 58 private final DatastoreManager mDatastoreManager; field in EventReportingJobHandler 82 mDatastoreManager = datastoreManager; in EventReportingJobHandler() 96 mDatastoreManager = datastoreManager; in EventReportingJobHandler() 125 mDatastoreManager.runInTransactionWithResult( in performScheduledPendingReportsInWindow() 168 mDatastoreManager.runInTransaction( in performScheduledPendingReportsInWindow() 195 mDatastoreManager.runInTransactionWithResult( in getAppPackageName() 213 mDatastoreManager.runInTransactionWithResult((dao) in performReport() 242 mDatastoreManager.runInTransaction( in performReport() 289 mDatastoreManager.runInTransaction( in performReport()
|
D | DebugReportingJobHandler.java | 51 private final DatastoreManager mDatastoreManager; field in DebugReportingJobHandler 78 mDatastoreManager = datastoreManager; in DebugReportingJobHandler() 88 mDatastoreManager.runInTransactionWithResult(IMeasurementDao::getDebugReportIds); in performScheduledPendingReports() 117 mDatastoreManager.runInTransaction( in performScheduledPendingReports() 139 mDatastoreManager.runInTransactionWithResult( in performReport() 160 mDatastoreManager.runInTransaction( in performReport() 199 mDatastoreManager.runInTransaction(dao -> dao.deleteDebugReport(debugReportId)); in performReport()
|
D | AggregateReportingJobHandler.java | 63 private final DatastoreManager mDatastoreManager; field in AggregateReportingJobHandler 81 mDatastoreManager = datastoreManager; in AggregateReportingJobHandler() 130 mDatastoreManager.runInTransactionWithResult( in performScheduledPendingReportsInWindow() 178 mDatastoreManager.runInTransaction( in performScheduledPendingReportsInWindow() 212 mDatastoreManager.runInTransactionWithResult( in getAppPackageName() 233 mDatastoreManager.runInTransactionWithResult((dao) in performReport() 263 mDatastoreManager.runInTransaction( in performReport() 309 mDatastoreManager.runInTransaction( in performReport()
|
D | DebugReportApi.java | 121 private final DatastoreManager mDatastoreManager; field in DebugReportApi 142 mDatastoreManager = DatastoreManagerFactory.getDatastoreManager(context); in DebugReportApi() 158 mDatastoreManager = datastoreManager; in DebugReportApi()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | E2EDenoisedMockTest.java | 55 mDatastoreManager, mFlags, mErrorLogger); in E2EDenoisedMockTest() 58 mDatastoreManager, in E2EDenoisedMockTest() 66 mDatastoreManager, in E2EDenoisedMockTest()
|
D | MeasurementImplTest.java | 144 private DatastoreManager mDatastoreManager = field in MeasurementImplTest 230 mDatastoreManager, in before() 319 doReturn(false).when(mDatastoreManager).runInTransaction(any()); in testDeleteRegistrations_internalError() 431 mDatastoreManager, in testGetSourceType_clickVerificationDisabled_returnsNavigationSourceType() 572 doReturn(Optional.of(true)).when(mDatastoreManager).runInTransactionWithResult(any()); in testDeletePackageRecords_success_recordsDeletionInSystemServer() 573 doReturn(true).when(mDatastoreManager).runInTransaction(any()); in testDeletePackageRecords_success_recordsDeletionInSystemServer() 620 doReturn(Optional.of(false)).when(mDatastoreManager).runInTransactionWithResult(any()); in testDeletePackageRecords_noDeletion_doesNotRecordDeletion() 621 doReturn(true).when(mDatastoreManager).runInTransaction(any()); in testDeletePackageRecords_noDeletion_doesNotRecordDeletion() 729 doReturn(Optional.of(true)).when(mDatastoreManager).runInTransactionWithResult(any()); in testDeleteAllUninstalledMeasurementData_success_recordsDeletionInSystemServer() 730 doReturn(true).when(mDatastoreManager).runInTransaction(any()); in testDeleteAllUninstalledMeasurementData_success_recordsDeletionInSystemServer() [all …]
|
D | E2EMockTest.java | 136 DatastoreManager mDatastoreManager; field in E2EMockTest 181 mDatastoreManager = in E2EMockTest() 184 mMeasurementDataDeleter = spy(new MeasurementDataDeleter(mDatastoreManager, mFlags)); in E2EMockTest() 209 mDatastoreManager, in E2EMockTest() 218 mDatastoreManager, in E2EMockTest() 416 mDatastoreManager, in processActualDebugReportJob() 432 mDatastoreManager, in processActualDebugReportJob() 449 mDatastoreManager, sContext); in processActualDebugReportApiJob() 461 mDatastoreManager.runInTransaction( in processAction() 482 mDatastoreManager, in processAction() [all …]
|
D | E2EInteropMockTest.java | 180 mDatastoreManager, mFlags, mErrorLogger); in E2EInteropMockTest() 183 mDatastoreManager, in E2EInteropMockTest() 190 mDatastoreManager, in E2EInteropMockTest() 281 mDatastoreManager.runInTransaction( in insertSourceOrAssertUnparsable() 324 mDatastoreManager.runInTransaction( in insertTriggerOrAssertUnparsable()
|
D | E2EImpressionNoiseMockTest.java | 72 mDatastoreManager, mFlags, mErrorLogger); in E2EImpressionNoiseMockTest() 75 mDatastoreManager, in E2EImpressionNoiseMockTest() 82 mDatastoreManager, in E2EImpressionNoiseMockTest()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleter.java | 60 private final DatastoreManager mDatastoreManager; field in MeasurementDataDeleter 71 mDatastoreManager = datastoreManager; in MeasurementDataDeleter() 84 boolean result = mDatastoreManager.runInTransaction((dao) -> delete(dao, deletionParam)); in delete() 116 mDatastoreManager.runInTransactionWithResult( in deleteAppUninstalledData()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationQueueRunner.java | 75 private final DatastoreManager mDatastoreManager; field in AsyncRegistrationQueueRunner 87 mDatastoreManager = DatastoreManagerFactory.getDatastoreManager(context); in AsyncRegistrationQueueRunner() 133 mDatastoreManager = datastoreManager; in AsyncRegistrationQueueRunner() 208 return mDatastoreManager in fetchNext() 260 mDatastoreManager.runInTransaction( in processSourceRegistration() 338 mDatastoreManager.runInTransaction( in processTriggerRegistration()
|
D | AsyncTriggerFetcher.java | 82 private final DatastoreManager mDatastoreManager; field in AsyncTriggerFetcher 107 mDatastoreManager = datastoreManager; in AsyncTriggerFetcher() 364 mDatastoreManager.runInTransaction( in parseTrigger()
|
D | AsyncSourceFetcher.java | 84 private final DatastoreManager mDatastoreManager; field in AsyncSourceFetcher 107 mDatastoreManager = datastoreManager; in AsyncSourceFetcher() 854 mDatastoreManager.runInTransaction( in parseSource()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | DebugReportingJobHandlerTest.java | 80 DatastoreManager mDatastoreManager; field in DebugReportingJobHandlerTest 124 mDatastoreManager = new FakeDatasoreManager(); in setUp() 129 new DebugReportingJobHandler(mDatastoreManager, mFlags, mLogger, sContext); in setUp()
|
D | EventReportingJobHandlerTest.java | 97 DatastoreManager mDatastoreManager; field in EventReportingJobHandlerTest 147 mDatastoreManager = new FakeDatasoreManager(); in setUp() 156 mDatastoreManager, in setUp() 166 mDatastoreManager, in setUp()
|
D | AggregateReportingJobHandlerTest.java | 110 DatastoreManager mDatastoreManager; field in AggregateReportingJobHandlerTest 167 mDatastoreManager = new FakeDatasoreManager(); in setUp() 170 mDatastoreManager, in setUp() 181 mDatastoreManager, in setUp()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandler.java | 99 private final DatastoreManager mDatastoreManager; field in AttributionJobHandler 138 mDatastoreManager = datastoreManager; in AttributionJobHandler() 154 Optional<List<String>> pendingTriggersOpt = mDatastoreManager in performPendingAttributions() 190 return mDatastoreManager.runInTransaction( in performAttribution()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationQueueRunnerTest.java | 194 private DatastoreManager mDatastoreManager; field in AsyncRegistrationQueueRunnerTest 245 mDatastoreManager = in before() 3193 mDatastoreManager, in testRegisterWebSource_failsWebAndOsDestinationVerification() 3227 mDatastoreManager, in testRegisterWebSource_failsWebAndOsDestinationVerification() 3240 mDatastoreManager, in testRegisterWebSource_failsWebAndOsDestinationVerification() 3248 verify(mDatastoreManager, times(2)).runInTransaction(consumerArgCaptor.capture()); in testRegisterWebSource_failsWebAndOsDestinationVerification()
|
D | AsyncTriggerFetcherTest.java | 199 private DatastoreManager mDatastoreManager; field in AsyncTriggerFetcherTest 227 mDatastoreManager = in setup() 238 mDatastoreManager, in setup() 6520 mDatastoreManager, in fetchTrigger_odpHeaderPresent_reportingHeaderPresent_forwardOdpTrigger() 6586 mDatastoreManager, in fetchTrigger_odpHeaderPresent_reportingHeaderMissing_forwardOdpTrigger() 6643 mDatastoreManager, in fetchTrigger_odpHeaderMissing_reportingHeaderPresent_odpTriggerNotForwarded() 6718 mDatastoreManager, in fetchTrigger_odpHeaderSizeIgnored_forwardOdpTrigger()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandlerTest.java | 153 DatastoreManager mDatastoreManager; field in AttributionJobHandlerTest 197 mDatastoreManager = new FakeDatastoreManager(); in before() 203 mDatastoreManager, in before()
|