Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DEnqueueAsyncRegistrationTest.java242 Assert.assertNotNull(asyncRegistration.getSourceType()); in testAppSourceRegistrationRequest_event_isValid()
243 Assert.assertEquals(Source.SourceType.EVENT, asyncRegistration.getSourceType()); in testAppSourceRegistrationRequest_event_isValid()
301 Assert.assertNotNull(asyncRegistration.getSourceType()); in testAppSourceRegistrationRequest_navigation_isValid()
302 Assert.assertEquals(Source.SourceType.NAVIGATION, asyncRegistration.getSourceType()); in testAppSourceRegistrationRequest_navigation_isValid()
397 Assert.assertNull(asyncRegistration.getSourceType()); in testAppTriggerRegistrationRequest_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()
600 Assert.assertEquals(Source.SourceType.NAVIGATION, asyncRegistration1.getSourceType()); in testWebSourceRegistrationRequest_navigation_isValid()
612 Assert.assertEquals(Source.SourceType.NAVIGATION, asyncRegistration2.getSourceType()); in testWebSourceRegistrationRequest_navigation_isValid()
739 Assert.assertNotNull(asyncRegistration.getSourceType()); in testVerifyAsyncRegistrationStoredCorrectly()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DEventReportTest.java149 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()
246 assertNull(eventReport.getSourceType()); in defaults_success()
289 assertEquals(source.getSourceType(), report.getSourceType()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
342 assertEquals(source.getSourceType(), report.getSourceType()); in populate_eventSourceAppDestWithoutInstallConfigured()
387 assertEquals(Source.SourceType.NAVIGATION, report.getSourceType()); in testpopulate_shouldTruncateTriggerDataWith64thBit()
427 assertEquals(Source.SourceType.EVENT, report.getSourceType()); in populate_eventSourceWebDestWithoutInstallAttribution()
463 assertEquals(Source.SourceType.EVENT, report.getSourceType()); in populate_eventSourceAppDestWithInstallAttribution()
[all …]
DE2EInteropMockTest.java267 .setSourceType(getSourceType(request)) in insertSourceOrAssertUnparsable()
333 private static Source.SourceType getSourceType(RegistrationRequest request) { in getSourceType() method in E2EInteropMockTest
DMeasurementImplTest.java401 mMeasurementImpl.getSourceType(getInputEvent(), 1000L, "app_name")); in testGetSourceType_verifiedInputEvent_returnsNavigationSourceType()
407 Source.SourceType.EVENT, mMeasurementImpl.getSourceType(null, 1000L, "app_name")); in testGetSourceType_noInputEventGiven()
415 mMeasurementImpl.getSourceType(getInputEvent(), 1000L, "app_name")); in testGetSourceType_inputEventNotVerifiable_returnsEventSourceType()
440 measurementImpl.getSourceType(getInputEvent(), 1000L, "app_name")); in testGetSourceType_clickVerificationDisabled_returnsNavigationSourceType()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementImpl.java175 : getSourceType( in register()
206 getSourceType( in registerSources()
242 getSourceType( in registerWebSource()
327 getSourceType( in registerEvent()
427 Source.SourceType getSourceType( in getSourceType() method in MeasurementImpl
DEventReport.java221 public Source.SourceType getSourceType() { in getSourceType() method in EventReport
471 mBuilding.mSourceType = source.getSourceType(); in populateFromSourceAndTrigger()
509 mBuilding.mSourceType = source.getSourceType(); in getForFlex()
DSource.java287 if (getSourceType() == SourceType.EVENT && numStates > getMaxEventStates()) { in validateAndSetMaxEventStates()
761 public SourceType getSourceType() { in getSourceType() method in Source
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DMeasurementAttributionStats.java49 && mSourceType == measurementAttributionStats.getSourceType() in equals()
90 public int getSourceType() { in getSourceType() method in MeasurementAttributionStats
DMeasurementClickVerificationStats.java32 public abstract int getSourceType(); in getSourceType() method in MeasurementClickVerificationStats
DStatsdAdServicesLogger.java436 measurementAttributionStats.getSourceType(), in logMeasurementAttributionStats()
476 measurementClickVerificationStats.getSourceType(), in logMeasurementClickVerificationStats()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DFetcherUtil.java392 getSourceType(asyncRegistration), in emitHeaderMetrics()
457 private static int getSourceType(AsyncRegistration asyncRegistration) { in getSourceType() method in FetcherUtil
458 if (asyncRegistration.getSourceType() == Source.SourceType.EVENT) { in getSourceType()
460 } else if (asyncRegistration.getSourceType() == Source.SourceType.NAVIGATION) { in getSourceType()
DAsyncSourceFetcher.java144 if (asyncRegistration.getSourceType() == Source.SourceType.EVENT) { in parseCommonSourceParams()
450 asyncRegistration.getSourceType(), in parseCommonSourceParams()
459 asyncRegistration.getSourceType(), in parseCommonSourceParams()
774 builder.setSourceType(asyncRegistration.getSourceType()); in parseSource()
909 asyncRegistration.getSourceType().getValue()); in fetchSource()
DAsyncRegistrationQueueRunner.java240 || source.getSourceType() != Source.SourceType.NAVIGATION) { in isNavigationOriginAlreadyRegisteredForRegistration()
788 .setSourceType(asyncRegistration.getSourceType()) in createAsyncRegistrationFromRedirect()
814 .setSourceType(source.getSourceType()) in generateFakeEventReports()
DAsyncRegistration.java171 public Source.SourceType getSourceType() { in getSourceType() method in AsyncRegistration
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DEventReportWindowCalcDelegate.java82 if (source.getSourceType() == Source.SourceType.EVENT) { in getMaxReportCount()
328 source.getSourceType(),
332 source.getSourceType(), defaultEarlyWindowEnds);
DEventReportingJobHandler.java353 .setSourceType(eventReport.getSourceType().getValue()) in createReportJsonPayload()
DDebugReportApi.java655 body.put(Body.SOURCE_TYPE, source.getSourceType().getValue()); in generateTriggerDebugReportBodyWithAllFields()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DAbstractDbIntegrationTest.java377 values.put(MeasurementTables.SourceContract.SOURCE_TYPE, source.getSourceType().toString()); in insertToDb()
514 report.getSourceType().toString()); in insertToDb()
650 asyncRegistration.getSourceType() == null in insertToDb()
652 : asyncRegistration.getSourceType().ordinal()); in insertToDb()
DMeasurementDaoTest.java248 assertEquals(validSource.getSourceType(), source.getSourceType()); in testInsertSource()
315 assertEquals(validSource.getSourceType(), source.getSourceType()); in testInsertSource_flexibleEventReport_equal()
3680 .setSourceType(sourceList.get(0).getSourceType()) in testGetSourceEventReports()
3691 .setSourceType(sourceList.get(0).getSourceType()) in testGetSourceEventReports()
3705 .setSourceType(sourceList.get(1).getSourceType()) in testGetSourceEventReports()
3716 .setSourceType(sourceList.get(1).getSourceType()) in testGetSourceEventReports()
3846 .setSourceType(sourceList.get(0).getSourceType()) in getSourceEventReports_sourcesWithSameEventId_haveSeparateEventReportsMatch()
3857 .setSourceType(sourceList.get(0).getSourceType()) in getSourceEventReports_sourcesWithSameEventId_haveSeparateEventReportsMatch()
3871 .setSourceType(sourceList.get(1).getSourceType()) in getSourceEventReports_sourcesWithSameEventId_haveSeparateEventReportsMatch()
3882 .setSourceType(sourceList.get(1).getSourceType()) in getSourceEventReports_sourcesWithSameEventId_haveSeparateEventReportsMatch()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionStatus.java136 public SourceType getSourceType() { in getSourceType() method in AttributionStatus
DAttributionJobHandler.java272 attributionStatus.setSourceType(source.getSourceType()); in performAttribution()
1811 .setSourceType(attributionStatus.getSourceType().getValue()) in logAttributionStats()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DUceActivity.java215 b.append(c.getSourceType()); in getReadableCapability()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
DPhoneLookupInfoConsolidator.java121 ContactSource.Type.forNumber(phoneLookupInfo.getMigratedInfo().getSourceType()); in getContactSource()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java688 values.put(SourceContract.SOURCE_TYPE, source.getSourceType().name()); in insertSource()
1343 eventReport.getSourceType().toString()); in insertEventReport()
3096 asyncRegistration.getSourceType() == null
3098 : asyncRegistration.getSourceType().ordinal());
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java3679 .setSourceType(source.getSourceType())
3775 .setSourceType(source.getSourceType())
3873 .setSourceType(source.getSourceType())
3969 .setSourceType(source.getSourceType())
6669 measurementAttributionStats.getSourceType(),
6711 measurementAttributionStats.getSourceType());
7744 measurementAttributionStats.getSourceType()); in testNullAggregateReports_topLevelFiltersDontMatch()

12