Home
last modified time | relevance | path

Searched refs:asyncRedirects (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcherTest.java310 AsyncRedirects asyncRedirects = new AsyncRedirects(); in testBasicTriggerRequest() local
316 mFetcher.fetchTrigger(asyncRegistration, asyncFetchStatus, asyncRedirects); in testBasicTriggerRequest()
391 AsyncRedirects asyncRedirects = new AsyncRedirects(); in testBasicTriggerRequest_withAggregateDeduplicationKey() local
397 mFetcher.fetchTrigger(asyncRegistration, asyncFetchStatus, asyncRedirects); in testBasicTriggerRequest_withAggregateDeduplicationKey()
454 AsyncRedirects asyncRedirects = new AsyncRedirects(); in triggerRequest_aggregateDeduplicationKey_dedupKeyNotAString_fails() local
459 mFetcher.fetchTrigger(asyncRegistration, asyncFetchStatus, asyncRedirects); in triggerRequest_aggregateDeduplicationKey_dedupKeyNotAString_fails()
502 AsyncRedirects asyncRedirects = new AsyncRedirects(); in triggerRequest_aggregateDeduplicationKey_dedupKeyNegative_fails() local
507 mFetcher.fetchTrigger(asyncRegistration, asyncFetchStatus, asyncRedirects); in triggerRequest_aggregateDeduplicationKey_dedupKeyNegative_fails()
550 AsyncRedirects asyncRedirects = new AsyncRedirects(); in triggerRequest_aggregateDeduplicationKey_dedupKeyTooLarge_fails() local
555 mFetcher.fetchTrigger(asyncRegistration, asyncFetchStatus, asyncRedirects); in triggerRequest_aggregateDeduplicationKey_dedupKeyTooLarge_fails()
[all …]
DAsyncSourceFetcherTest.java290 AsyncRedirects asyncRedirects = new AsyncRedirects(); in testBasicSourceRequest() local
296 mFetcher.fetchSource(asyncRegistration, asyncFetchStatus, asyncRedirects); in testBasicSourceRequest()
378 AsyncRedirects asyncRedirects = new AsyncRedirects(); in testBasicSourceRequest_skipSourceWhenNotEnrolled() local
383 appSourceRegistrationRequest(request), asyncFetchStatus, asyncRedirects); in testBasicSourceRequest_skipSourceWhenNotEnrolled()
389 assertEquals(1, asyncRedirects.getRedirects().size()); in testBasicSourceRequest_skipSourceWhenNotEnrolled()
391 LIST_TYPE_REDIRECT_URI, asyncRedirects.getRedirects().get(0).getUri().toString()); in testBasicSourceRequest_skipSourceWhenNotEnrolled()
423 AsyncRedirects asyncRedirects = new AsyncRedirects(); in fetchSource_multipleWebDestinations_success() local
428 appSourceRegistrationRequest(request), asyncFetchStatus, asyncRedirects); in fetchSource_multipleWebDestinations_success()
462 AsyncRedirects asyncRedirects = new AsyncRedirects(); in fetchSource_emptyWebDestinations_success() local
467 appSourceRegistrationRequest(request), asyncFetchStatus, asyncRedirects); in fetchSource_emptyWebDestinations_success()
[all …]
DAsyncRegistrationQueueRunnerTest.java330 AsyncRedirects asyncRedirects = invocation.getArgument(2); in test_runAsyncRegistrationQueueWorker_appSource_success()
331 asyncRedirects.configure(redirectHeaders, mFlags, validAsyncRegistration); in test_runAsyncRegistrationQueueWorker_appSource_success()
384 AsyncRedirects asyncRedirects = invocation.getArgument(2); in test_runAsyncRegistrationQueueWorker_emptyNoisedState_sendsDebugReport()
385 asyncRedirects.configure(redirectHeaders, mFlags, validAsyncRegistration); in test_runAsyncRegistrationQueueWorker_emptyNoisedState_sendsDebugReport()
436 AsyncRedirects asyncRedirects = invocation.getArgument(2); in test_runAsyncRegistrationQueueWorker_nullFakeReports_doesNotSendDebugReport()
437 asyncRedirects.configure(redirectHeaders, mFlags, validAsyncRegistration); in test_runAsyncRegistrationQueueWorker_nullFakeReports_doesNotSendDebugReport()
487 AsyncRedirects asyncRedirects = invocation.getArgument(2); in test_runAsyncRegistrationQueueWorker_ThreadInterrupted()
488 asyncRedirects.configure(redirectHeaders, mFlags, validAsyncRegistration); in test_runAsyncRegistrationQueueWorker_ThreadInterrupted()
565 AsyncRedirects asyncRedirects = invocation.getArgument(2); in runAsyncRegistrationQueueWorker_appSource_defaultRegistration_redirectTypeList()
566 asyncRedirects.configure(redirectHeaders, mFlags, validAsyncRegistration); in runAsyncRegistrationQueueWorker_appSource_defaultRegistration_redirectTypeList()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java251 AsyncRedirects asyncRedirects = new AsyncRedirects(); in processSourceRegistration() local
255 asyncRegistration, asyncFetchStatus, asyncRedirects); in processSourceRegistration()
267 asyncRegistration, asyncFetchStatus, asyncRedirects, dao); in processSourceRegistration()
329 AsyncRedirects asyncRedirects = new AsyncRedirects(); in processTriggerRegistration() local
333 asyncRegistration, asyncFetchStatus, asyncRedirects); in processTriggerRegistration()
345 asyncRegistration, asyncFetchStatus, asyncRedirects, dao); in processTriggerRegistration()
889 AsyncRedirects asyncRedirects, in handleSuccess() argument
896 if (asyncRedirects.getRedirects().isEmpty()) { in handleSuccess()
910 for (AsyncRedirect asyncRedirect : asyncRedirects.getRedirects()) { in handleSuccess()
DAsyncTriggerFetcher.java463 AsyncRedirects asyncRedirects) { in fetchTrigger() argument
525 asyncRedirects.configure(headers, mFlags, asyncRegistration); in fetchTrigger()
DAsyncSourceFetcher.java893 AsyncRedirects asyncRedirects) { in fetchSource() argument
947 asyncRedirects.configure(headers, mFlags, asyncRegistration); in fetchSource()