Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DPeriodicEncodingJobWorkerTest.java123 @Mock private EncoderLogicHandler mEncoderLogicHandler; field in PeriodicEncodingJobWorkerTest
161 mEncoderLogicHandler, in setup()
197 mEncoderLogicHandler, in testValidateAndPersistLargePayloadSkips()
226 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic); in testEncodingPerBuyerSuccess()
260 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic); in testEncodingPerBuyerScriptFailureCausesIllegalStateException()
291 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic); in testEncodingPerBuyerFailedFuture()
328 verify(mEncoderLogicHandler).deleteEncoderForBuyer(BUYER); in testEncodingPerBuyerNoSignalAvailable()
329 verifyNoMoreInteractions(mEncoderLogicHandler); in testEncodingPerBuyerNoSignalAvailable()
336 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic); in testEncodingPerBuyerFailedTimeout()
393 when(mEncoderLogicHandler.getEncoder(BUYER)).thenReturn(encoderLogic1); in testEncodeProtectedSignalsGracefullyHandleFailures()
[all …]
DSignalsEncodingE2ETest.java168 private EncoderLogicHandler mEncoderLogicHandler; field in SignalsEncodingE2ETest
209 mEncoderLogicHandler = in setup()
220 new UpdateEncoderEventHandler(mEncoderEndpointsDao, mEncoderLogicHandler); in setup()
287 mEncoderLogicHandler, in setup()
658 mEncoderLogicHandler, in testPeriodicEncodingUpdatesEncoders_Success()
696 mEncoderLogicHandler, in testPeriodicEncodingUpdatesEncoders_Success()
DSignalsIntakeE2ETest.java150 private EncoderLogicHandler mEncoderLogicHandler; field in SignalsIntakeE2ETest
186 mEncoderLogicHandler = in setup()
197 new UpdateEncoderEventHandler(mEncoderEndpointsDao, mEncoderLogicHandler); in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DEncoderLogicHandlerTest.java95 private EncoderLogicHandler mEncoderLogicHandler; field in EncoderLogicHandlerTest
99 mEncoderLogicHandler = in setup()
151 mEncoderLogicHandler in testDownloadAndUpdate_success()
173 mEncoderLogicHandler in testDownloadAndUpdate_skipped()
206 assertThat(mEncoderLogicHandler.extractAndPersistEncoder(buyer, response)).isTrue(); in testExtractAndPersistEncoder_Success()
224 assertThat(mEncoderLogicHandler.extractAndPersistEncoder(buyer, response)).isTrue(); in testExtractAndPersistEncoder_MissingVersionFallback()
253 assertThat(mEncoderLogicHandler.extractAndPersistEncoder(buyer, response)).isTrue(); in testExtractAndPersistEncoder_UnreadableVersionFallback()
283 assertThat(mEncoderLogicHandler.extractAndPersistEncoder(buyer, response)).isFalse(); in testExtractAndPersistEncoderFailed_SkipUpdate()
290 mEncoderLogicHandler.getBuyersWithEncoders(); in testGetAllBuyersWithEncoders()
297 mEncoderLogicHandler.getBuyersWithStaleEncoders(now); in testGetAllBuyersWithStaleEncoders()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DSignalsMaintenanceTasksWorker.java51 @NonNull private final EncoderLogicHandler mEncoderLogicHandler; field in SignalsMaintenanceTasksWorker
72 mEncoderLogicHandler = encoderLogicHandler; in SignalsMaintenanceTasksWorker()
82 mEncoderLogicHandler = new EncoderLogicHandler(context); in SignalsMaintenanceTasksWorker()
158 List<AdTechIdentifier> registeredBuyers = mEncoderLogicHandler.getBuyersWithEncoders(); in clearInvalidEncoders()
164 new HashSet<>(mEncoderLogicHandler.getBuyersWithStaleEncoders(expirationInstant)); in clearInvalidEncoders()
168 mEncoderLogicHandler.deleteEncodersForBuyers(buyersWithStaleEncoders); in clearInvalidEncoders()
DPeriodicEncodingJobWorker.java86 private final EncoderLogicHandler mEncoderLogicHandler; field in PeriodicEncodingJobWorker
116 mEncoderLogicHandler = encoderLogicHandler; in PeriodicEncodingJobWorker()
203 mBackgroundExecutor.submit(mEncoderLogicHandler::getAllRegisteredEncoders)); in doRun()
286 mEncoderLogicHandler.downloadAndUpdate(
302 mEncoderLogicHandler.deleteEncoderForBuyer(buyer);
328 String encodingLogic = mEncoderLogicHandler.getEncoder(buyer);
362 mEncoderLogicHandler.updateEncoderFailedCount(
386 mEncoderLogicHandler.updateEncoderFailedCount(buyer, 0);
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/updateprocessors/
DUpdateEncoderEventHandler.java42 @NonNull private final EncoderLogicHandler mEncoderLogicHandler; field in UpdateEncoderEventHandler
52 mEncoderLogicHandler = encoderLogicHandler; in UpdateEncoderEventHandler()
101 mEncoderLogicHandler.downloadAndUpdate(buyer, devContext); in handle()