Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DEncodedPayloadDaoTest.java51 private EncodedPayloadDao mEncodedPayloadDao; field in EncodedPayloadDaoTest
58 mEncodedPayloadDao = in setup()
68 mEncodedPayloadDao.getEncodedPayload(BUYER_1)); in persistEncodedPayload()
74 mEncodedPayloadDao.persistEncodedPayload(payload)); in persistEncodedPayload()
81 mEncodedPayloadDao.getEncodedPayload(BUYER_1)); in testExistsAndGetAnEncodedPayload()
87 mEncodedPayloadDao.persistEncodedPayload(payload)); in testExistsAndGetAnEncodedPayload()
91 mEncodedPayloadDao.doesEncodedPayloadExist(BUYER_1)); in testExistsAndGetAnEncodedPayload()
93 DBEncodedPayload retrieved = mEncodedPayloadDao.getEncodedPayload(BUYER_1); in testExistsAndGetAnEncodedPayload()
106 mEncodedPayloadDao.getEncodedPayload(BUYER_1)); in testGetAllEncodedPayloads()
109 mEncodedPayloadDao.persistEncodedPayload(payload); in testGetAllEncodedPayloads()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DPeriodicEncodingJobWorkerTest.java126 @Mock private EncodedPayloadDao mEncodedPayloadDao; field in PeriodicEncodingJobWorkerTest
163 mEncodedPayloadDao, in setup()
181 verify(mEncodedPayloadDao).persistEncodedPayload(mEncodedPayloadCaptor.capture()); in testValidateAndPersistPayloadSuccess()
199 mEncodedPayloadDao, in testValidateAndPersistLargePayloadSkips()
218 Mockito.verifyZeroInteractions(mEncodedPayloadDao); in testValidateAndPersistLargePayloadSkips()
233 when((mEncodedPayloadDao.persistEncodedPayload(any()))).thenReturn(10L); in testEncodingPerBuyerSuccess()
247 verify(mEncodedPayloadDao).persistEncodedPayload(mEncodedPayloadCaptor.capture()); in testEncodingPerBuyerSuccess()
282 verify(mEncodedPayloadDao).getEncodedPayload(BUYER); in testEncodingPerBuyerScriptFailureCausesIllegalStateException()
283 verifyNoMoreInteractions(mEncodedPayloadDao); in testEncodingPerBuyerScriptFailureCausesIllegalStateException()
313 verify(mEncodedPayloadDao).getEncodedPayload(BUYER); in testEncodingPerBuyerFailedFuture()
[all …]
DSignalsEncodingE2ETest.java160 private EncodedPayloadDao mEncodedPayloadDao; field in SignalsEncodingE2ETest
191 mEncodedPayloadDao = in setup()
289 mEncodedPayloadDao, in setup()
423 byte[] payload = mEncodedPayloadDao.getEncodedPayload(BUYER).getEncodedPayload(); in testSignalsEncoding_Success()
525 byte[] payload1A = mEncodedPayloadDao.getEncodedPayload(BUYER).getEncodedPayload(); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
535 byte[] payload1B = mEncodedPayloadDao.getEncodedPayload(BUYER).getEncodedPayload(); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
557 byte[] payload2 = mEncodedPayloadDao.getEncodedPayload(BUYER).getEncodedPayload(); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
660 mEncodedPayloadDao, in testPeriodicEncodingUpdatesEncoders_Success()
675 DBEncodedPayload firstEncodingRun = mEncodedPayloadDao.getEncodedPayload(BUYER); in testPeriodicEncodingUpdatesEncoders_Success()
698 mEncodedPayloadDao, in testPeriodicEncodingUpdatesEncoders_Success()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DSignalsMaintenanceTasksWorker.java47 @NonNull private final EncodedPayloadDao mEncodedPayloadDao; field in SignalsMaintenanceTasksWorker
71 mEncodedPayloadDao = encodedPayloadDao; in SignalsMaintenanceTasksWorker()
83 mEncodedPayloadDao = ProtectedSignalsDatabase.getInstance().getEncodedPayloadDao(); in SignalsMaintenanceTasksWorker()
181 mEncodedPayloadDao.getAllBuyersWithEncodedPayloads(); in clearInvalidEncodedPayloads()
185 mEncodedPayloadDao.deleteEncodedPayload(revokedBuyer); in clearInvalidEncodedPayloads()
190 mEncodedPayloadDao.deleteEncodedPayloadsBeforeTime(expirationInstant); in clearInvalidEncodedPayloads()
DPeriodicEncodingJobWorker.java88 private final EncodedPayloadDao mEncodedPayloadDao; field in PeriodicEncodingJobWorker
118 mEncodedPayloadDao = encodedPayloadDao; in PeriodicEncodingJobWorker()
308 DBEncodedPayload existingPayload = mEncodedPayloadDao.getEncodedPayload(buyer);
384 mEncodedPayloadDao.persistEncodedPayload(dbEncodedPayload);
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionServiceImplTest.java305 private EncodedPayloadDao mEncodedPayloadDao; field in AdSelectionServiceImplTest
356 mEncodedPayloadDao = in setUp()
518 mEncodedPayloadDao, in testReportImpressionSuccessWithRegisterAdBeaconDisabled()
646 mEncodedPayloadDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerEnabled()
774 mEncodedPayloadDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerEnabled()
895 mEncodedPayloadDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerDisabled()
1023 mEncodedPayloadDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerDisabled()
1143 mEncodedPayloadDao, in testReportImpressionSuccessfullyReportsAdCost()
1279 mEncodedPayloadDao, in testReportImpressionSuccessfullyReportsDataVersionHeader()
1416 mEncodedPayloadDao, in testReportImpressionSuccessfullyReportsSellerDataVersionHeader()
[all …]
DBuyerInputGeneratorTest.java102 private EncodedPayloadDao mEncodedPayloadDao; field in BuyerInputGeneratorTest
136 mEncodedPayloadDao = in setUp()
146 mEncodedPayloadDao, in setUp()
247 mEncodedPayloadDao, in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()
405 mEncodedPayloadDao, in testBuyerInputGenerator_returnsBuyerInputsWithoutRenderIdForSpecifiedCA()
485 mEncodedPayloadDao, in testBuyerInputGenerator_returnsBuyerInputsWithoutRenderIdForSpecifiedCAPayloadMetricsEnabled()
573 mEncodedPayloadDao, in testBuyerInputGenerator_returnsBuyerInputsWithRenderIdIfFlagFalse()
626 mEncodedPayloadDao, in testBuyerInputGenerator_returnsBuyerInputs_onlySignals_success()
700 mEncodedPayloadDao, in testBuyerInputGenerator_returnsBuyerInputs_CAsAndSignalsCombined_success()
783 mEncodedPayloadDao, in testBuyerInputGenerator_returnsBuyerInputs_CAsAndSignalsCombined_SignalDisabled()
[all …]
DFrequencyCapFilteringE2ETest.java200 private EncodedPayloadDao mEncodedPayloadDao; field in FrequencyCapFilteringE2ETest
236 mEncodedPayloadDao = in setup()
293 mEncodedPayloadDao, in setup()
461 mEncodedPayloadDao, in testUpdateHistogramDisabledFeatureFlagNotifiesError()
529 mEncodedPayloadDao, in testUpdateHistogramExceedingRateLimitNotifiesError()
794 mEncodedPayloadDao, in testUpdateHistogramBeyondMaxTotalEventCountDoesNotFilterAds()
915 mEncodedPayloadDao, in testUpdateHistogramBeyondMaxPerBuyerEventCountDoesNotFilterAds()
DAdSelectionE2ETest.java641 private EncodedPayloadDao mEncodedPayloadDao; field in AdSelectionE2ETest
700 mEncodedPayloadDao = in setUp()
741 mEncodedPayloadDao, in setUp()
997 mEncodedPayloadDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled()
1129 mEncodedPayloadDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled()
1280 mEncodedPayloadDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled()
1427 mEncodedPayloadDao, in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader()
1555 mEncodedPayloadDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingDisabled()
1779 mEncodedPayloadDao, in testRunAdSelectionSuccess_prebuiltFeatureDisabled_failure()
1883 mEncodedPayloadDao, in testRunAdSelectionSuccess_flagToPreV3_preV3BiddingLogic()
[all …]
DAdSelectionFailureE2ETest.java231 private EncodedPayloadDao mEncodedPayloadDao; field in AdSelectionFailureE2ETest
274 mEncodedPayloadDao = in setUp()
426 mEncodedPayloadDao, in testRunAdSelection_webViewNotInstalled_failsGracefully()
517 mEncodedPayloadDao, in testReportImpression_webViewNotInstalled_failsGracefully()
DAdSelectionFromOutcomesE2ETest.java230 private EncodedPayloadDao mEncodedPayloadDao; field in AdSelectionFromOutcomesE2ETest
278 mEncodedPayloadDao = in setUp()
323 mEncodedPayloadDao, in setUp()
488 mEncodedPayloadDao, in testSelectAdsFromOutcomesPickHighestSuccessDifferentTables()
571 mEncodedPayloadDao, in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables()
DGetAdSelectionDataRunnerTest.java175 private EncodedPayloadDao mEncodedPayloadDao; field in GetAdSelectionDataRunnerTest
225 mEncodedPayloadDao = in setup()
1106 mEncodedPayloadDao, in testRunner_getAdSelectionData_timeoutFailure()
1172 mEncodedPayloadDao, in initRunner()
DReportAndRegisterEventE2ETest.java168 private EncodedPayloadDao mEncodedPayloadDao; field in ReportAndRegisterEventE2ETest
297 mEncodedPayloadDao = in setup()
1037 mEncodedPayloadDao, in getAdSelectionServiceImpl()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DGetAdSelectionDataRunner.java108 @NonNull private final EncodedPayloadDao mEncodedPayloadDao; field in GetAdSelectionDataRunner
185 mEncodedPayloadDao = encodedPayloadDao; in GetAdSelectionDataRunner()
201 mEncodedPayloadDao, in GetAdSelectionDataRunner()
280 mEncodedPayloadDao = encodedPayloadDao; in GetAdSelectionDataRunner()
296 mEncodedPayloadDao, in GetAdSelectionDataRunner()
DAdSelectionServiceImpl.java158 @NonNull private final EncodedPayloadDao mEncodedPayloadDao; field in AdSelectionServiceImpl
254 mEncodedPayloadDao = encodedPayloadDao; in AdSelectionServiceImpl()
649 mEncodedPayloadDao, in runGetAdSelectionData()
685 mEncodedPayloadDao, in runGetAdSelectionData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java329 private EncodedPayloadDao mEncodedPayloadDao; field in FledgeE2ETest
377 mEncodedPayloadDao = in setUp()
1208 mEncodedPayloadDao, in testFledgeFlowFailsWithMismatchedPackageNamesReportImpression()
1371 mEncodedPayloadDao, in testFledgeFlowFailsWithWrongPackageNameReportInteraction()
3489 mEncodedPayloadDao, in testFledgeFlowSuccessWithMockServer_ContextualAdsFlow()
4928 mEncodedPayloadDao, in initClients()