Home
last modified time | relevance | path

Searched refs:RegistrationType (Results 1 – 25 of 25) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistration.java32 public enum RegistrationType { enum in AsyncRegistration
50 private final RegistrationType mType;
186 public RegistrationType getType() { in getType()
232 return mType == RegistrationType.APP_SOURCE || mType == RegistrationType.APP_TRIGGER; in shouldProcessRedirects()
236 return mType == RegistrationType.WEB_SOURCE || mType == RegistrationType.WEB_TRIGGER; in isWebRequest()
240 return mType == RegistrationType.APP_SOURCE in isAppRequest()
241 || mType == RegistrationType.APP_TRIGGER in isAppRequest()
242 || mType == RegistrationType.APP_SOURCES; in isAppRequest()
246 return mType == RegistrationType.APP_SOURCE in isSourceRequest()
247 || mType == RegistrationType.WEB_SOURCE in isSourceRequest()
[all …]
DEnqueueAsyncRegistration.java74 ? AsyncRegistration.RegistrationType.APP_SOURCE in appSourceOrTriggerRegistrationRequest()
75 : AsyncRegistration.RegistrationType.APP_TRIGGER, in appSourceOrTriggerRegistrationRequest()
118 AsyncRegistration.RegistrationType.WEB_SOURCE,
161 AsyncRegistration.RegistrationType.WEB_TRIGGER,
206 AsyncRegistration.RegistrationType.APP_SOURCES,
229 AsyncRegistration.RegistrationType registrationType,
DAsyncTriggerFetcher.java445 Uri registrant, AsyncRegistration.RegistrationType registrationType) { in isXnaAllowedForTriggerRegistrant()
448 return !AsyncRegistration.RegistrationType.WEB_TRIGGER.equals(registrationType) in isXnaAllowedForTriggerRegistrant()
859 AsyncRegistration.RegistrationType registrationType) { in getAttributionDestination()
860 return registrationType == AsyncRegistration.RegistrationType.APP_TRIGGER in getAttributionDestination()
DAsyncRegistrationQueueRunner.java292 asyncRegistration.getType() == AsyncRegistration.RegistrationType.WEB_SOURCE in storeSource()
297 asyncRegistration.getType() == AsyncRegistration.RegistrationType.WEB_SOURCE in storeSource()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ondevicepersonalization/
DOdpRegistrationStatus.java21 public enum RegistrationType { enum in OdpRegistrationStatus
27 RegistrationType(int value) { in RegistrationType() method in OdpRegistrationStatus.RegistrationType
58 private RegistrationType mRegistrationType;
62 this(RegistrationType.UNKNOWN, RegistrationStatus.UNKNOWN); in OdpRegistrationStatus()
66 RegistrationType registrationType, RegistrationStatus registrationStatus) { in OdpRegistrationStatus()
72 public RegistrationType getRegistrationType() { in getRegistrationType()
77 public void setRegistrationType(RegistrationType type) { in setRegistrationType()
DNoOdpDelegationWrapper.java51 OdpRegistrationStatus.RegistrationType.TRIGGER, in registerOdpTrigger()
DOdpDelegationWrapperImpl.java96 odpRegistrationStatus.setRegistrationType(OdpRegistrationStatus.RegistrationType.TRIGGER); in registerOdpTrigger()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationTest.java70 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in createAsyncRegistrationForAppSource()
86 .setType(AsyncRegistration.RegistrationType.APP_TRIGGER) in createAsyncRegistrationForAppTrigger()
104 .setType(AsyncRegistration.RegistrationType.WEB_SOURCE) in createAsyncRegistrationForWebSource()
120 .setType(AsyncRegistration.RegistrationType.WEB_TRIGGER) in createAsyncRegistrationForWebTrigger()
135 .setType(AsyncRegistration.RegistrationType.APP_SOURCES) in createAsyncRegistrationForAppSources()
DEnqueueAsyncRegistrationTest.java246 AsyncRegistration.RegistrationType.APP_SOURCE, asyncRegistration.getType()); in testAppSourceRegistrationRequest_event_isValid()
305 AsyncRegistration.RegistrationType.APP_SOURCE, asyncRegistration.getType()); in testAppSourceRegistrationRequest_navigation_isValid()
743 AsyncRegistration.RegistrationType.APP_SOURCE, asyncRegistration.getType()); in testVerifyAsyncRegistrationStoredCorrectly()
963 AsyncRegistration.RegistrationType.WEB_SOURCE, in assertEqualsWebSourceRegistrationCommon()
974 AsyncRegistration.RegistrationType.APP_SOURCES, asyncRegistration.getType()); in assertEqualsAppSourcesRegistrationCommon()
991 AsyncRegistration.RegistrationType.WEB_TRIGGER, in assertEqualsWebTriggerRegistrationCommon()
DFetcherUtilTest.java1013 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in emitHeaderMetrics_headersSizeLessThanMaxAllowed_doesNotLogAdTechDomain()
1058 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in emitHeaderMetrics_headersSizeExceedsMaxAllowed_logsAdTechDomain()
1106 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in emitHeaderMetrics_headersWithNullValues_success()
DAsyncSourceFetcherTest.java10257 ? AsyncRegistration.RegistrationType.APP_SOURCE in appSourceRegistrationRequest()
10258 : AsyncRegistration.RegistrationType.APP_TRIGGER, in appSourceRegistrationRequest()
10280 ? AsyncRegistration.RegistrationType.APP_SOURCE in appSourceRegistrationRequestWithAdId()
10281 : AsyncRegistration.RegistrationType.APP_TRIGGER, in appSourceRegistrationRequestWithAdId()
10303 ? AsyncRegistration.RegistrationType.APP_SOURCE in appSourceRegistrationRequestWithPostBody()
10304 : AsyncRegistration.RegistrationType.APP_TRIGGER, in appSourceRegistrationRequestWithPostBody()
10335 AsyncRegistration.RegistrationType.WEB_SOURCE, in webSourceRegistrationRequest()
10356 AsyncRegistration.RegistrationType registrationType, in createAsyncRegistration()
10375 registrationType == AsyncRegistration.RegistrationType.APP_SOURCE in createAsyncRegistration()
10377 == AsyncRegistration.RegistrationType.WEB_SOURCE in createAsyncRegistration()
DAsyncTriggerFetcherTest.java3152 AsyncRegistration.RegistrationType.APP_SOURCE, in testBadTriggerUrl()
6951 ? AsyncRegistration.RegistrationType.APP_SOURCE in appTriggerRegistrationRequest()
6952 : AsyncRegistration.RegistrationType.APP_TRIGGER, in appTriggerRegistrationRequest()
6972 ? AsyncRegistration.RegistrationType.APP_SOURCE in appTriggerRegistrationRequestWithAdId()
6973 : AsyncRegistration.RegistrationType.APP_TRIGGER, in appTriggerRegistrationRequestWithAdId()
6996 AsyncRegistration.RegistrationType.WEB_TRIGGER, in webTriggerRegistrationRequest()
7015 AsyncRegistration.RegistrationType registrationType, in createAsyncRegistration()
DAsyncRegistrationQueueRunnerTest.java5052 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in createAsyncRegistrationForAppSource()
5071 .setType(AsyncRegistration.RegistrationType.APP_TRIGGER) in createAsyncRegistrationForAppTrigger()
5090 .setType(AsyncRegistration.RegistrationType.WEB_SOURCE) in createAsyncRegistrationForWebSource()
5109 .setType(AsyncRegistration.RegistrationType.WEB_TRIGGER) in createAsyncRegistrationForWebTrigger()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DRegistrationRequest.java43 public @interface RegistrationType {} annotation in RegistrationRequest
54 @RegistrationType private final int mRegistrationType;
146 @RegistrationType
197 @RegistrationType private final int mRegistrationType;
217 @RegistrationType int type, in Builder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ondevicepersonalization/
DOdpDelegationWrapperImplTest.java160 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_validParameters_success()
203 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_invalidEnrollment_fail()
247 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_headerSizeLimitExceeded_fail()
292 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_invalidHeaderFormat_fail()
332 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_missingRequiredField_fail()
375 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_invalidServiceName_NoForwardSlash_fail()
418 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_invalidServiceName_forwardSlashEndingCharacter_fail()
462 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_headerNotJson_fail()
512 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_throwIllegalArgumentException_fail()
563 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_throwNullPointerException_fail()
DNoOdpDelegationWrapperTest.java89 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in registerOdpTrigger_logMetrics()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/
DAsyncRegistrationFixture.java62 public static final AsyncRegistration.RegistrationType TYPE =
63 AsyncRegistration.RegistrationType.APP_SOURCE;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EInteropMockTest.java268 .setType(AsyncRegistration.RegistrationType.WEB_SOURCE) in insertSourceOrAssertUnparsable()
311 .setType(AsyncRegistration.RegistrationType.WEB_TRIGGER) in insertTriggerOrAssertUnparsable()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorV3Test.java469 AsyncRegistration.RegistrationType.APP_SOURCE.ordinal()); in getAsyncRegistrationEntry()
472 AsyncRegistration.RegistrationType.APP_SOURCE.ordinal()); in getAsyncRegistrationEntry()
DContentValueFixtures.java57 public static final long TYPE = AsyncRegistration.RegistrationType.WEB_TRIGGER.ordinal();
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DAdServicesLoggerImplTest.java724 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()) in testLogMeasurementOdpRegistrationsStats()
736 .isEqualTo(OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()); in testLogMeasurementOdpRegistrationsStats()
DStatsdAdServicesLoggerTest.java795 OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()) in logMeasurementOdpRegistrations_success()
809 eq(OdpRegistrationStatus.RegistrationType.TRIGGER.getValue()), in logMeasurementOdpRegistrations_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DSqliteObjectMapper.java486 : AsyncRegistration.RegistrationType.values()[enumValue])); in constructAsyncRegistration()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDbState.java610 AsyncRegistration.RegistrationType.values()[ in getAsyncRegistrationFrom()
DMeasurementDaoTest.java5318 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in testDeleteExpiredRecordsForAsyncRegistrations()
5332 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in testDeleteExpiredRecordsForAsyncRegistrations()
5346 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in testDeleteExpiredRecordsForAsyncRegistrations()
5360 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in testDeleteExpiredRecordsForAsyncRegistrations()
6867 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in deleteAsyncRegistrations_success()
6878 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in deleteAsyncRegistrations_success()
6889 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in deleteAsyncRegistrations_success()