Home
last modified time | relevance | path

Searched refs:reportingData (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBReportingDataTest.java49 DBReportingData reportingData = in testBuild_success() local
56 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testBuild_success()
57 assertEquals(BUYER_REPORTING_URI_1, reportingData.getBuyerReportingUri()); in testBuild_success()
58 assertEquals(SELLER_REPORTING_URI_1, reportingData.getSellerReportingUri()); in testBuild_success()
63 DBReportingData reportingData = in testCreate_success() local
67 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testCreate_success()
68 assertEquals(BUYER_REPORTING_URI_1, reportingData.getBuyerReportingUri()); in testCreate_success()
69 assertEquals(SELLER_REPORTING_URI_1, reportingData.getSellerReportingUri()); in testCreate_success()
74 DBReportingData reportingData = in testBuild_sellerEmptyUri_success() local
81 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testBuild_sellerEmptyUri_success()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/datahandlers/
DReportingData.java88 ReportingData reportingData = autoBuild(); in build() local
91 reportingData.getBuyerWinReportingUri() != null in build()
92 || reportingData.getSellerWinReportingUri() != null; in build()
94 reportingData.getReportingComputationData() != null; in build()
100 return reportingData; in build()
DDBValidator.java41 public static void validateReportingData(ReportingData reportingData) { in validateReportingData() argument
42 Objects.requireNonNull(reportingData.getBuyerWinReportingUri()); in validateReportingData()
43 Objects.requireNonNull(reportingData.getSellerWinReportingUri()); in validateReportingData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/datahandlers/
DReportingDataTest.java98 ReportingData reportingData = in testBuild_withReportingUris_success() local
104 assertEquals(BUYER_REPORTING_URI_1, reportingData.getBuyerWinReportingUri()); in testBuild_withReportingUris_success()
105 assertEquals(SELLER_REPORTING_URI_1, reportingData.getSellerWinReportingUri()); in testBuild_withReportingUris_success()
121 ReportingData reportingData = in testBuild_withReportingComputationData_success() local
126 assertEquals(reportingComputationData, reportingData.getReportingComputationData()); in testBuild_withReportingComputationData_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DImpressionReporter.java270 reportingData -> { in reportImpression()
271 if (isReportingUrisPresent(reportingData)) { in reportImpression()
274 reportingData.getBuyerWinReportingUri(), in reportImpression()
275 reportingData.getSellerWinReportingUri())); in reportImpression()
280 adSelectionId, reportingData, adSelectionConfig) in reportImpression()
332 ReportingData reportingData = in fetchReportingData()
336 !Objects.isNull(reportingData), in fetchReportingData()
338 return reportingData; in fetchReportingData()
347 private boolean isReportingUrisPresent(ReportingData reportingData) { in isReportingUrisPresent() argument
348 return !Objects.isNull(reportingData.getBuyerWinReportingUri()) in isReportingUrisPresent()
[all …]
DPersistAdSelectionResultRunner.java589 ReportingData reportingData =
603 sLogger.v("ReportingData: %s", reportingData);
606 mAdSelectionEntryDao.persistReportingData(adSelectionId, reportingData);
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DAdSelectionEntryDao.java818 public void persistReportingData(long adSelectionId, ReportingData reportingData) { in persistReportingData() argument
819 DBValidator.validateReportingData(reportingData); in persistReportingData()
824 .setBuyerReportingUri(reportingData.getBuyerWinReportingUri()) in persistReportingData()
825 .setSellerReportingUri(reportingData.getSellerWinReportingUri()) in persistReportingData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerE2ETest.java1591 ReportingData reportingData = in testPersistAdSelectionResult_withoutDecrypt_validRequest_success() local
1594 BUYER_REPORTING_URI, reportingData.getBuyerWinReportingUri().toString()); in testPersistAdSelectionResult_withoutDecrypt_validRequest_success()
1596 SELLER_REPORTING_URI, reportingData.getSellerWinReportingUri().toString()); in testPersistAdSelectionResult_withoutDecrypt_validRequest_success()
1703 ReportingData reportingData = in testPersistAdSelectionResult_withoutDecrypt_validRequest_successOmitAdsEnabled() local
1706 BUYER_REPORTING_URI, reportingData.getBuyerWinReportingUri().toString()); in testPersistAdSelectionResult_withoutDecrypt_validRequest_successOmitAdsEnabled()
1708 SELLER_REPORTING_URI, reportingData.getSellerWinReportingUri().toString()); in testPersistAdSelectionResult_withoutDecrypt_validRequest_successOmitAdsEnabled()
3841 ReportingData reportingData = in testPersistAdSelectionResult_withoutDecrypt_validSignalsRequest_success() local
3844 BUYER_REPORTING_URI, reportingData.getBuyerWinReportingUri().toString()); in testPersistAdSelectionResult_withoutDecrypt_validSignalsRequest_success()
3846 SELLER_REPORTING_URI, reportingData.getSellerWinReportingUri().toString()); in testPersistAdSelectionResult_withoutDecrypt_validSignalsRequest_success()