/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/ |
D | DBAdDataTest.java | 56 SAMPLE_AD_DATA.getRenderUri(), in testConstructor() 68 SAMPLE_AD_DATA.getRenderUri(), in testConstructorNullsSucceed() 73 assertEquals(SAMPLE_AD_DATA.getRenderUri(), dbAdData.getRenderUri()); in testConstructorNullsSucceed() 95 SAMPLE_AD_DATA.getRenderUri(), null, new HashSet<>(), null, null)); in testMetadataNullFails() 104 SAMPLE_AD_DATA.getRenderUri(), in testAdCounterKeysNullFails() 127 .setRenderUri(original.getRenderUri()) in testFromServiceObjectBothFilteringDisabled() 186 size[0] += SAMPLE_AD_DATA.getRenderUri().toString().getBytes(StandardCharsets.UTF_8).length; in testSize() 202 size[0] += SAMPLE_AD_DATA.getRenderUri().toString().getBytes(StandardCharsets.UTF_8).length; in testSizeNulls() 206 SAMPLE_AD_DATA.getRenderUri(), in testSizeNulls() 229 SAMPLE_AD_DATA.getRenderUri(), in testNotEqual() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdDataArgumentUtilTest.java | 60 .put(AdDataArgumentUtil.RENDER_URI_FIELD_NAME, AD_DATA.getRenderUri()) in aValidAdDataJson() 68 AD_DATA_WITH_AD_COUNTER_KEYS.getRenderUri()) in aValidAdDataWithAdCounterKeysJson() 170 AD_DATA.getRenderUri().toString()), in testConversionToScriptArgument() 184 AD_DATA.getRenderUri().toString()), in testConversionToScriptArgumentWithCopier() 200 AD_DATA_WITH_AD_COUNTER_KEYS.getRenderUri().toString()), in testConversionToScriptArgumentWithAdCounterKeys()
|
D | FrequencyCapFilteringE2ETest.java | 606 .that(adSelectionCallback.mAdSelectionResponse.getRenderUri()) in testAdSelectionPersistsAdCounterKeys() 607 .isEqualTo(AD_WITH_FILTER.getRenderUri()); in testAdSelectionPersistsAdCounterKeys() 638 .that(callback.mAdSelectionResponse.getRenderUri()) in testEmptyHistogramDoesNotFilterAds() 639 .isEqualTo(AD_WITH_FILTER.getRenderUri()); in testEmptyHistogramDoesNotFilterAds() 720 .that(adSelectionCallback.mAdSelectionResponse.getRenderUri()) in testUpdatedHistogramDoesNotFilterAdsForBuyerOutsideInterval() 721 .isEqualTo(AD_WITH_FILTER.getRenderUri()); in testUpdatedHistogramDoesNotFilterAdsForBuyerOutsideInterval() 756 .that(adSelectionCallback.mAdSelectionResponse.getRenderUri()) in testUpdatedHistogramDoesNotFilterAdsForOtherBuyer() 757 .isEqualTo(AD_WITH_FILTER.getRenderUri()); in testUpdatedHistogramDoesNotFilterAdsForOtherBuyer() 875 .that(adSelectionCallback.mAdSelectionResponse.getRenderUri()) in testUpdateHistogramBeyondMaxTotalEventCountDoesNotFilterAds() 876 .isEqualTo(AD_WITH_FILTER.getRenderUri()); in testUpdateHistogramBeyondMaxTotalEventCountDoesNotFilterAds() [all …]
|
D | AdWithBidArgumentUtilTest.java | 178 AD_WITH_BID.getAdData().getRenderUri().toString()), in testConversionToScriptArgument() 197 AD_WITH_BID.getAdData().getRenderUri().toString()), in testConversionToScriptArgumentWithCopier() 220 .getRenderUri() in testConversionToScriptArgumentWithAdCounterKeys()
|
D | OnDeviceAdSelectionRunnerTest.java | 499 .getRenderUri()) in testRunAdSelectionSuccess() 534 resultsCallback.mAdSelectionResponse.getRenderUri()); in testRunAdSelectionSuccess() 609 .getRenderUri()) in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 656 resultsCallback.mAdSelectionResponse.getRenderUri()); in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 784 .getRenderUri()) in testRunAdSelectionSuccessWithBuyerContextualSignals() 819 resultsCallback.mAdSelectionResponse.getRenderUri()); in testRunAdSelectionSuccessWithBuyerContextualSignals() 913 .getRenderUri()) in testRunAdSelectionSuccessWithSellerDataVersionHeader() 948 resultsCallback.mAdSelectionResponse.getRenderUri()); in testRunAdSelectionSuccessWithSellerDataVersionHeader() 1059 .getRenderUri()) in testRunAdSelectionSuccessFilteringDisabled() 1094 resultsCallback.mAdSelectionResponse.getRenderUri()); in testRunAdSelectionSuccessFilteringDisabled() [all …]
|
D | AdSelectionE2ETest.java | 963 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_preV3BiddingLogic() 1095 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1246 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1393 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled() 1521 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader() 1652 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingDisabled() 1748 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_prebuiltScoringLogic() 1968 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_flagToPreV3_preV3BiddingLogic() 2044 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_v3BiddingLogic() 2174 resultsCallback.mAdSelectionResponse.getRenderUri().toString()); in testRunAdSelectionSuccess_v3BiddingLogicWithAdCostCpcBillingEnabled() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | FledgeCtsDebuggableTest.java | 645 CommonFixture.getUri(BUYER_2, AD_URI_PREFIX + "/ad3"), outcome.getRenderUri()); in testFledgeAuctionSelectionFlow_overall_Success() 728 assertThat(outcome.getRenderUri()) in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success() 888 CommonFixture.getUri(BUYER_2, AD_URI_PREFIX + "/ad3"), outcome.getRenderUri()); in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingEnabled() 971 CommonFixture.getUri(BUYER_2, AD_URI_PREFIX + "/ad3"), outcome.getRenderUri()); in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingDisabled() 1069 outcome.getRenderUri()); in testFledgeAuctionSelectionFlow_overallWithSubdomains_Success() 1168 CommonFixture.getUri(BUYER_2, AD_URI_PREFIX + "/ad3"), outcome.getRenderUri()); in testFledgeAuctionSelectionFlow_scoringPrebuilt_Success() 1284 outcome.getRenderUri()); in testFledgeSelectionFlow_WithContextualAds_Success() 1401 CommonFixture.getUri(BUYER_2, AD_URI_PREFIX + "/ad3"), outcome.getRenderUri()); in testFledgeSelectionFlow_WithContextualAdsDisabled_ContextualAdsRemoved() 1519 outcome.getRenderUri()); in testFledgeSelectionFlow_WithContextualAdsLogging_Success() 1600 outcome.getRenderUri()); in testFledgeSelectionFlow_OnlyContextualAds_Success() [all …]
|
D | AdSelectionTest.java | 129 assertThat(result.getRenderUri()).isNotNull(); in testAdSelection_withBiddingLogicV3_happyPath() 159 assertThat(result.getRenderUri()).isNotNull(); in testAdSelection_withAdCostInUrl_happyPath() 234 assertThat(result.getRenderUri()).isNotNull(); in testAdSelection_withFetchCustomAudience_fetchesAndReturnsSuccessfully()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/common/ |
D | DBAdDataFixture.java | 45 .setRenderUri(mirrorAdData.getRenderUri()) in getValidDbAdDataNoFiltersBuilder() 53 .setRenderUri(mirrorAdData.getRenderUri()) in getValidDbAdDataNoFiltersBuilder() 91 adData.getRenderUri(), in convertAdDataToDBAdData()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AdDataTest.java | 55 assertThat(validAdData.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testBuildValidAdDataSuccess() 77 assertThat(fromParcel.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testParcelValidAdDataWithUnsetKeysAndFiltersSuccess() 141 assertThat(validAdData.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testBuildUnsetAdCounterKeysSuccess() 158 assertThat(validAdData.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testBuildValidAdDataWithUnsetFiltersSuccess() 211 assertThat(adDataFromParcel.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testParcelWithFilters_success()
|
D | AdSelectionOutcomeTest.java | 51 assertThat(adSelectionOutcome.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testBuildAdSelectionOutcome()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | BaselinePerfTest.java | 83 outcome.getRenderUri()); in testAdSelectionAndReporting_normalFlow_success() 133 outcome.getRenderUri()); in testAdSelectionAndReporting_normalFlowWithThrottling_success() 219 outcome.getRenderUri()); in testAdSelectionAndReporting_executionHeavyJS_success() 301 outcome.getRenderUri()); in testAdSelectionAndReporting_memoryHeavyJS_success() 356 outcome.getRenderUri()); in testAdSelectionAndReporting_multipleCustomAudienceList_success()
|
D | AdSelectionDataE2ETest.java | 218 adSelectionOutcome.getRenderUri().toString()); in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner() 270 adSelectionOutcome.getRenderUri().toString()); in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner() 323 adSelectionOutcome.getRenderUri().toString()); in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner() 426 Assert.assertTrue(adSelectionOutcome.getRenderUri().toString().isEmpty()); in runAdSelection_baReturnsIsChaffTrue_noAdReturnedByPpapi() 486 adSelectionOutcome.getRenderUri().toString()); in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner_withMediaTypeChanged()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/ |
D | FledgeCtsDebuggableJetpackTest.java | 242 Assert.assertEquals(getUri(BUYER_2, AD_URI_PREFIX + "/ad3"), outcome.getRenderUri()); in testFledgeAuctionSelectionFlow_overall_Success() 341 Assert.assertEquals(getUri(BUYER_2, AD_URI_PREFIX + "/ad3"), outcome.getRenderUri()); in testReportImpression_etldViolation_failure() 392 Assert.assertEquals(getUri(BUYER_1, AD_URI_PREFIX + "/ad2"), outcome.getRenderUri()); in testAdSelection_skipAdsMalformedBiddingLogic_success() 481 Assert.assertEquals(getUri(BUYER_1, AD_URI_PREFIX + "/ad2"), outcome.getRenderUri()); in testAdSelection_skipAdsFailedGettingBiddingLogic_success() 577 Assert.assertEquals(getUri(BUYER_1, AD_URI_PREFIX + "/ad2"), outcome.getRenderUri()); in testAdSelectionFlow_skipNonActivatedCA_Success() 629 Assert.assertEquals(getUri(BUYER_1, AD_URI_PREFIX + "/ad2"), outcome.getRenderUri()); in testAdSelectionFlow_skipExpiredCA_Success() 673 Assert.assertEquals(getUri(BUYER_1, AD_URI_PREFIX + "/ad2"), outcome.getRenderUri()); in testAdSelectionFlow_skipCAsThatTimeoutDuringBidding_Success()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdDataArgumentUtil.java | 86 stringArg(RENDER_URI_FIELD_NAME, adData.getRenderUri().toString()), in asScriptArgument() 103 stringArg(RENDER_URI_FIELD_NAME, adData.getRenderUri().toString()), in asRecordArgument()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/src/com/android/adservices/tests/cts/customaudience/ |
D | CustomAudienceTest.java | 326 assertThat(mCustomAudienceHighBidAdRenderUris).contains(adSelectionOutcome.getRenderUri()); in testCustomAudience_dataPurgedForUninstalledApp() 350 .getRenderUri())); in testCustomAudience_dataPurgedForUninstalledApp() 419 assertThat(mCustomAudienceHighBidAdRenderUris).contains(adSelectionOutcome.getRenderUri()); in testCustomAudience_doesNotPersistAfterAppUninstallAndReinstall() 483 assertThat(mCustomAudienceHighBidAdRenderUris).contains(adSelectionOutcome.getRenderUri()); in testCustomAudience_doesNotPersistAfterAppUninstallAndReinstall() 487 assertThat(initialAdRenderUris).doesNotContain(adSelectionOutcome.getRenderUri()); in testCustomAudience_doesNotPersistAfterAppUninstallAndReinstall()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | AdSelectionResponseTest.java | 47 expect.that(adSelectionResponse.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testBuildAdSelectionResponse() 64 expect.that(fromParcel.getRenderUri()).isEqualTo(VALID_RENDER_URI); in testParcelAdSelectionResponse()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | FledgeE2ETest.java | 509 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconDisabled() 574 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingEnabled() 639 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingDisabled() 755 assertEquals(expectedWinningrUi, resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderEnabled() 840 assertEquals(expectedWinningrUi, resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderDisabled() 976 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconEnabled() 1043 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithDevOverridesGaUxEnabled() 1110 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithDevOverridesWithRevokedUserConsentForApp() 1177 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowSuccessWithDevOverridesWithRevokedUserConsentForAppGaUxEnabled() 1325 resultsCallback.mAdSelectionResponse.getRenderUri()); in testFledgeFlowFailsWithMismatchedPackageNamesReportImpression() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/ |
D | DBAdData.java | 73 public Uri getRenderUri() { in getRenderUri() method in DBAdData 147 setRenderUri(copyFrom.getRenderUri()); in Builder()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | AdSelectionOutcome.java | 69 public Uri getRenderUri() { in getRenderUri() method in AdSelectionOutcome
|
D | AdSelectionResponse.java | 72 public Uri getRenderUri() { in getRenderUri() method in AdSelectionResponse
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AdDataValidator.java | 73 mUriValidator.addValidation(adData.getRenderUri(), adDataViolations); in addValidation()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | AdDataConversionStrategyFactory.java | 289 FledgeRoomConverters.serializeUri(adData.getRenderUri())) in toJson() 316 .setRenderUri(parcelable.getRenderUri()) in fromServiceObject()
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/fledge/providers/sdkFledge/src/com/android/tests/providers/sdkfledge/ |
D | SdkFledge.java | 345 if (!outcome.getRenderUri() in onLoadSdk() 350 outcome.getRenderUri().toString()); in onLoadSdk()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/testapps/sampleapplowbid/java/com/android/adservices/tests/cts/customaudience/sampleapplowbid/ |
D | MainActivity.java | 168 .map(AdData::getRenderUri) in sendJoinedCustomAudienceBroadcast()
|