/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/ |
D | SourceNoiseHandlerAttributionProbabilityTest.java | 84 Source.SourceType.EVENT, // source type in data() 98 Source.SourceType.EVENT, // source type in data() 111 Source.SourceType.EVENT, // source type in data() 124 Source.SourceType.EVENT, // source type in data() 139 Source.SourceType.EVENT, // source type in data() 154 Source.SourceType.EVENT, // source type in data() 169 Source.SourceType.EVENT, // source type in data() 181 Source.SourceType.EVENT, // source type in data() 193 Source.SourceType.EVENT, // source type in data() 205 Source.SourceType.EVENT, // source type in data() [all …]
|
D | SourceNoiseHandlerTest.java | 291 .setSourceType(Source.SourceType.EVENT) in impressionNoiseParamGeneration() 305 .setSourceType(Source.SourceType.EVENT) in impressionNoiseParamGeneration() 319 .setSourceType(Source.SourceType.EVENT) in impressionNoiseParamGeneration() 333 .setSourceType(Source.SourceType.NAVIGATION) in impressionNoiseParamGeneration() 348 .setSourceType(Source.SourceType.NAVIGATION) in impressionNoiseParamGeneration() 363 .setSourceType(Source.SourceType.NAVIGATION) in impressionNoiseParamGeneration() 382 .setSourceType(Source.SourceType.EVENT) in impressionNoiseParamGeneration_flexLiteAPI() 399 .setSourceType(Source.SourceType.EVENT) in impressionNoiseParamGeneration_flexLiteAPI() 415 .setSourceType(Source.SourceType.EVENT) in impressionNoiseParamGeneration_flexLiteAPI() 431 .setSourceType(Source.SourceType.NAVIGATION) in impressionNoiseParamGeneration_flexLiteAPI() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/ |
D | AttributionStatus.java | 28 public enum SourceType { enum in AttributionStatus 44 SourceType(int value) { in SourceType() method in AttributionStatus.SourceType 110 private SourceType mSourceType; 125 mSourceType = SourceType.UNKNOWN; in AttributionStatus() 136 public SourceType getSourceType() { in getSourceType() 141 public void setSourceType(SourceType type) { in setSourceType() 146 public void setSourceType(Source.SourceType type) { in setSourceType() 147 if (type == Source.SourceType.EVENT) { in setSourceType() 148 setSourceType(SourceType.VIEW); in setSourceType() 149 } else if (type == Source.SourceType.NAVIGATION) { in setSourceType() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportWindowCalcDelegateTest.java | 95 .setSourceType(Source.SourceType.EVENT) in getReportingTime_eventSourceAppDestination() 113 .setSourceType(Source.SourceType.EVENT) in getReportingTime_eventSrcInstallAttributedAppDestinationTrigger1stWindow() 133 .setSourceType(Source.SourceType.EVENT) in getReportingTime_eventSrcInstallAttributedAppDestinationTrigger2ndWindow() 152 .setSourceType(Source.SourceType.EVENT) in getReportingTime_eventSrcInstallAttributedWebDestinationTrigger1stWindow() 171 .setSourceType(Source.SourceType.EVENT) in getReportingTime_eventSrcInstallAttributedWebDestinationTrigger2ndWindow() 190 .setSourceType(Source.SourceType.EVENT) in getReportingTime_eventSourceWebDestination() 208 .setSourceType(Source.SourceType.NAVIGATION) in getReportingTime_navigationSourceTriggerInFirstWindow() 227 .setSourceType(Source.SourceType.NAVIGATION) in getReportingTime_navigationSourceTriggerInSecondWindow() 246 .setSourceType(Source.SourceType.NAVIGATION) in getReportingTime_navigationSecondExpiry() 264 .setSourceType(Source.SourceType.NAVIGATION) in getReportingTime_navigationLast() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | EventReportTest.java | 149 assertEquals(Source.SourceType.NAVIGATION, eventReport.getSourceType()); in creation_success() 174 assertEquals(Source.SourceType.NAVIGATION, eventReport.getSourceType()); in creationSuccessSingleSourceDebugKey() 198 assertEquals(Source.SourceType.NAVIGATION, eventReport.getSourceType()); in creationSuccessSingleTriggerDebugKey() 222 assertEquals(Source.SourceType.NAVIGATION, eventReport.getSourceType()); in creationSuccessMultipleTriggerDebugKeys() 261 baseTime, Source.SourceType.EVENT, false, APP_DESTINATION, null); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 310 baseTime, Source.SourceType.EVENT, false, APP_DESTINATION, null); in populate_eventSourceAppDestWithoutInstallConfigured() 355 baseTime, Source.SourceType.NAVIGATION, false, APP_DESTINATION, null); in testpopulate_shouldTruncateTriggerDataWith64thBit() 387 assertEquals(Source.SourceType.NAVIGATION, report.getSourceType()); in testpopulate_shouldTruncateTriggerDataWith64thBit() 400 baseTime, Source.SourceType.EVENT, false, null, WEB_DESTINATION); in populate_eventSourceWebDestWithoutInstallAttribution() 427 assertEquals(Source.SourceType.EVENT, report.getSourceType()); in populate_eventSourceWebDestWithoutInstallAttribution() [all …]
|
D | SourceTest.java | 104 assertEquals(Source.SourceType.EVENT, source.getSourceType()); in testDefaults() 157 .setSourceType(Source.SourceType.EVENT) in testEqualsPass() 211 .setSourceType(Source.SourceType.EVENT) in testEqualsPass() 310 .setSourceType(Source.SourceType.EVENT) in testEqualsFail() 313 .setSourceType(Source.SourceType.NAVIGATION) in testEqualsFail() 903 .setSourceType(Source.SourceType.EVENT) in testTriggerDataCardinality() 910 .setSourceType(Source.SourceType.NAVIGATION) in testTriggerDataCardinality() 948 .setSourceType(Source.SourceType.NAVIGATION) in testGetFilterData_nonEmpty() 971 .setSourceType(Source.SourceType.NAVIGATION) in testGetFilterData_withTrigger_addsLookbackWindow() 994 .setSourceType(Source.SourceType.NAVIGATION) in testGetFilterData_withTriggerAndEmptyData_addsLookbackWindow() [all …]
|
D | E2EInteropMockTest.java | 333 private static Source.SourceType getSourceType(RegistrationRequest request) { in getSourceType() 335 ? Source.SourceType.EVENT in getSourceType() 336 : Source.SourceType.NAVIGATION; in getSourceType()
|
D | MeasurementImplTest.java | 400 Source.SourceType.NAVIGATION, in testGetSourceType_verifiedInputEvent_returnsNavigationSourceType() 407 Source.SourceType.EVENT, mMeasurementImpl.getSourceType(null, 1000L, "app_name")); in testGetSourceType_noInputEventGiven() 414 Source.SourceType.EVENT, in testGetSourceType_inputEventNotVerifiable_returnsEventSourceType() 439 Source.SourceType.NAVIGATION, in testGetSourceType_clickVerificationDisabled_returnsNavigationSourceType()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | EnqueueAsyncRegistrationTest.java | 174 Source.SourceType.EVENT, in appSourceOrTriggerRegistrationRequest_sourceInvalidRegistrationUri_doesNotInsert() 212 Source.SourceType.EVENT, in testAppSourceRegistrationRequest_event_isValid() 243 Assert.assertEquals(Source.SourceType.EVENT, asyncRegistration.getSourceType()); in testAppSourceRegistrationRequest_event_isValid() 271 Source.SourceType.NAVIGATION, in testAppSourceRegistrationRequest_navigation_isValid() 302 Assert.assertEquals(Source.SourceType.NAVIGATION, asyncRegistration.getSourceType()); in testAppSourceRegistrationRequest_navigation_isValid() 504 Source.SourceType.EVENT, in testWebSourceRegistrationRequest_event_isValid() 528 Assert.assertEquals(Source.SourceType.EVENT, asyncRegistration1.getSourceType()); in testWebSourceRegistrationRequest_event_isValid() 540 Assert.assertEquals(Source.SourceType.EVENT, asyncRegistration2.getSourceType()); in testWebSourceRegistrationRequest_event_isValid() 576 Source.SourceType.NAVIGATION, in testWebSourceRegistrationRequest_navigation_isValid() 600 Assert.assertEquals(Source.SourceType.NAVIGATION, asyncRegistration1.getSourceType()); in testWebSourceRegistrationRequest_navigation_isValid() [all …]
|
D | AsyncRegistrationTest.java | 71 .setSourceType(Source.SourceType.EVENT) in createAsyncRegistrationForAppSource() 105 .setSourceType(Source.SourceType.EVENT) in createAsyncRegistrationForWebSource()
|
D | AsyncRegistrationQueueRunnerTest.java | 152 .setSourceType(Source.SourceType.EVENT) 167 .setSourceType(Source.SourceType.NAVIGATION) 3239 Source.SourceType.NAVIGATION, in testRegisterWebSource_failsWebAndOsDestinationVerification() 3300 .setSourceType(Source.SourceType.NAVIGATION) in isSourceAllowedToInsert_flexEventApiValidNav_pass() 3364 .setSourceType(Source.SourceType.EVENT) in isSourceAllowedToInsert_flexEventApiInvalidEventExceedMaxInfoGain_fail() 3432 .setSourceType(Source.SourceType.EVENT) in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesArithmetic_fail() 3515 .setSourceType(Source.SourceType.EVENT) in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesIterative_fail() 3603 .setSourceType(Source.SourceType.EVENT) in isSourceAllowedToInsert_fullFlexHighBoundAndStateCountIterative_catchesException() 3653 .setSourceType(Source.SourceType.EVENT) in isSourceAllowedToInsert_flexLiteApiExceedMaxInfoGain_fail() 3703 .setSourceType(Source.SourceType.EVENT) in isSourceAllowedToInsert_flexLiteApiExceedMaxInfoGain_pass() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | EventReportWindowCalcDelegate.java | 82 if (source.getSourceType() == Source.SourceType.EVENT) { in getMaxReportCount() 367 Source.SourceType sourceType, boolean installAttributionEnabled) { 371 sourceType == Source.SourceType.EVENT 376 sourceType == Source.SourceType.EVENT 391 Source.SourceType sourceType, List<Long> defaultEarlyWindowEnds) { 396 if ((sourceType == Source.SourceType.EVENT && isDefaultConfiguredVtc()) 397 || (sourceType == Source.SourceType.NAVIGATION && isDefaultConfiguredCtc())) { 465 Source.SourceType sourceType) { 466 return sourceType == Source.SourceType.EVENT
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | Source.java | 71 private SourceType mSourceType; 162 @NonNull SourceType sourceType, in getOrDefaultEventReportWindowsForFlex() 212 long expiryDelta, SourceType sourceType, Flags flags) { in getDefaultEventReportWindowsForFlex() 287 if (getSourceType() == SourceType.EVENT && numStates > getMaxEventStates()) { in validateAndSetMaxEventStates() 307 return mSourceType == SourceType.EVENT in getInformationGainThreshold() 311 return mSourceType == SourceType.EVENT in getInformationGainThreshold() 405 public enum SourceType { enum in Source 411 SourceType(String value) { in SourceType() method in Source.SourceType 420 return this.equals(SourceType.NAVIGATION) ? 1 : 0; in getIntValue() 428 mSourceType = SourceType.EVENT; in Source() [all …]
|
D | MeasurementImpl.java | 427 Source.SourceType getSourceType( in getSourceType() 435 return Source.SourceType.EVENT; in getSourceType() 437 return inputEvent == null ? Source.SourceType.EVENT : Source.SourceType.NAVIGATION; in getSourceType()
|
D | EventReport.java | 56 private Source.SourceType mSourceType; 221 public Source.SourceType getSourceType() { in getSourceType() 374 public Builder setSourceType(Source.SourceType sourceType) { in setSourceType()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | EnqueueAsyncRegistration.java | 55 @NonNull Source.SourceType sourceType, in appSourceOrTriggerRegistrationRequest() 99 @Nullable Source.SourceType sourceType, 186 @NonNull Source.SourceType sourceType, 230 Source.SourceType sourceType,
|
D | AsyncRegistration.java | 47 private final Source.SourceType mSourceType; 171 public Source.SourceType getSourceType() { in getSourceType() 264 private Source.SourceType mSourceType; 332 public Builder setSourceType(Source.SourceType sourceType) { in setSourceType()
|
D | FetcherUtil.java | 458 if (asyncRegistration.getSourceType() == Source.SourceType.EVENT) { in getSourceType() 460 } else if (asyncRegistration.getSourceType() == Source.SourceType.NAVIGATION) { in getSourceType()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/ |
D | AsyncRegistrationFixture.java | 53 public static final Source.SourceType SOURCE_TYPE = Source.SourceType.EVENT;
|
D | EventReportFixture.java | 41 .setSourceType(Source.SourceType.NAVIGATION) in getBaseEventReportBuild()
|
D | SourceFixture.java | 121 public static final Source.SourceType SOURCE_TYPE = Source.SourceType.EVENT;
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/inputverification/ |
D | ClickVerifierTest.java | 415 .setSourceType(Source.SourceType.NAVIGATION.getIntValue()) in testLog_inputEventVerified() 447 .setSourceType(Source.SourceType.EVENT.getIntValue()) in testLogClickVerification_inputEventNotVerifiedBySystem() 479 .setSourceType(Source.SourceType.EVENT.getIntValue()) in testLogClickVerification_inputEventOutsideValidWindow() 512 .setSourceType(Source.SourceType.EVENT.getIntValue()) in testLogClickVerification_inputEventIsDuplicate()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/inputverification/ |
D | ClickVerifier.java | 189 (isInputEventVerified ? Source.SourceType.NAVIGATION : Source.SourceType.EVENT) in isInputEventVerifiable()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | SqliteObjectMapper.java | 77 (enumValue) -> builder.setSourceType(Source.SourceType.valueOf(enumValue))); in constructEventReportFromCursor() 125 (enumValue) -> builder.setSourceType(Source.SourceType.valueOf(enumValue))); in constructSourceFromCursor() 466 enumValue == null ? null : Source.SourceType.values()[enumValue])); in constructAsyncRegistration()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | DbState.java | 362 Source.SourceType.valueOf( in getSourceFrom() 453 Source.SourceType.valueOf( in getEventReportFrom() 617 .setSourceType(Source.SourceType.values()[aJSON.getInt("sourceType")]) in getAsyncRegistrationFrom()
|