/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | EnqueueAsyncRegistrationTest.java | 242 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/ |
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() 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 …]
|
D | E2EInteropMockTest.java | 267 .setSourceType(getSourceType(request)) in insertSourceOrAssertUnparsable() 333 private static Source.SourceType getSourceType(RegistrationRequest request) { in getSourceType() method in E2EInteropMockTest
|
D | MeasurementImplTest.java | 401 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/ |
D | MeasurementImpl.java | 175 : getSourceType( in register() 206 getSourceType( in registerSources() 242 getSourceType( in registerWebSource() 327 getSourceType( in registerEvent() 427 Source.SourceType getSourceType( in getSourceType() method in MeasurementImpl
|
D | EventReport.java | 221 public Source.SourceType getSourceType() { in getSourceType() method in EventReport 471 mBuilding.mSourceType = source.getSourceType(); in populateFromSourceAndTrigger() 509 mBuilding.mSourceType = source.getSourceType(); in getForFlex()
|
D | Source.java | 287 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/ |
D | MeasurementAttributionStats.java | 49 && mSourceType == measurementAttributionStats.getSourceType() in equals() 90 public int getSourceType() { in getSourceType() method in MeasurementAttributionStats
|
D | MeasurementClickVerificationStats.java | 32 public abstract int getSourceType(); in getSourceType() method in MeasurementClickVerificationStats
|
D | StatsdAdServicesLogger.java | 436 measurementAttributionStats.getSourceType(), in logMeasurementAttributionStats() 476 measurementClickVerificationStats.getSourceType(), in logMeasurementClickVerificationStats()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | FetcherUtil.java | 392 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()
|
D | AsyncSourceFetcher.java | 144 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()
|
D | AsyncRegistrationQueueRunner.java | 240 || source.getSourceType() != Source.SourceType.NAVIGATION) { in isNavigationOriginAlreadyRegisteredForRegistration() 788 .setSourceType(asyncRegistration.getSourceType()) in createAsyncRegistrationFromRedirect() 814 .setSourceType(source.getSourceType()) in generateFakeEventReports()
|
D | AsyncRegistration.java | 171 public Source.SourceType getSourceType() { in getSourceType() method in AsyncRegistration
|
/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() 328 source.getSourceType(), 332 source.getSourceType(), defaultEarlyWindowEnds);
|
D | EventReportingJobHandler.java | 353 .setSourceType(eventReport.getSourceType().getValue()) in createReportJsonPayload()
|
D | DebugReportApi.java | 655 body.put(Body.SOURCE_TYPE, source.getSourceType().getValue()); in generateTriggerDebugReportBodyWithAllFields()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | AbstractDbIntegrationTest.java | 377 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()
|
D | MeasurementDaoTest.java | 248 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/ |
D | AttributionStatus.java | 136 public SourceType getSourceType() { in getSourceType() method in AttributionStatus
|
D | AttributionJobHandler.java | 272 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/ |
D | UceActivity.java | 215 b.append(c.getSourceType()); in getReadableCapability()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/ |
D | PhoneLookupInfoConsolidator.java | 121 ContactSource.Type.forNumber(phoneLookupInfo.getMigratedInfo().getSourceType()); in getContactSource()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | MeasurementDao.java | 688 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/ |
D | AttributionJobHandlerTest.java | 3679 .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()
|