/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceDailyUpdateUriValidatorTest.java | 21 import static android.adservices.customaudience.CustomAudienceFixture.getValidDailyUpdateUriByBuyer; 69 getValidDailyUpdateUriByBuyer(VALID_BUYER_1), null)); in testGetValidationViolation_nullBuyer_throws() 85 getValidDailyUpdateUriByBuyer(VALID_BUYER_1), in testAddValidation_nullBuyer_throws() 96 getValidDailyUpdateUriByBuyer(VALID_BUYER_1), VALID_BUYER_1, null)); in testAddValidation_nullViolations_throws() 102 Uri invalidUri = getValidDailyUpdateUriByBuyer(VALID_BUYER_2); in testValidator_malformedUri() 136 Uri tooLongUri = getValidDailyUpdateUriByBuyer(VALID_BUYER_1); in testValidator_exceedsSizeLimit()
|
D | CustomAudienceBlobTest.java | 29 import static android.adservices.customaudience.CustomAudienceFixture.getValidDailyUpdateUriByBuyer; 99 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1), 174 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testOverrideFromJSONObject_validValues() 208 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1), in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() 228 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() 252 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1), in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() 274 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() 298 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1), in testOverrideFromJSONObject_UnexpectedValuesWithAuctionServerRequestFlagsEnabled() 324 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testOverrideFromJSONObject_UnexpectedValuesWithAuctionServerRequestFlagsEnabled() 346 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(VALID_BUYER_1), in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsDisabled() [all …]
|
D | CustomAudienceImplTest.java | 127 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testJoinCustomAudience_runNormally() 149 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testJoinCustomAudience_withDevOptionsEnabled() 187 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testJoinCustomAudienceWithServerAuctionFlags_runNormallyFlagEnabled() 227 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testJoinCustomAudienceWithServerAuctionFlags_runNormallyFlagDisabled()
|
D | FetchCustomAudienceImplTest.java | 46 import static android.adservices.customaudience.CustomAudienceFixture.getValidDailyUpdateUriByBuyer; 785 validResponse, getValidDailyUpdateUriByBuyer(VALID_BUYER_2), false); in testImpl_invalidFused_invalidField() 873 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_partialResponse() 900 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_discardedResponseValues() 923 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_completeResponse() 1005 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_completeResponseWithAuctionServerFlagsEnabled() 1033 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_completeResponseWithAuctionServerFlagsDisabled() 1063 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_completeResponseWithAuctionServerFlagsEnabledButNoFlagsInResponse() 1092 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_withDevOptionsEnabled() 1129 getValidDailyUpdateUriByBuyer(BUYER), in testImpl_runNormally_withAdRenderId() [all …]
|
D | CustomAudienceBlobValidatorTest.java | 36 import static android.adservices.customaudience.CustomAudienceFixture.getValidDailyUpdateUriByBuyer; 890 mCustomAudience.setDailyUpdateUri(getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testValidator_validDailyUpdateUri() 900 mCustomAudience.setDailyUpdateUri(getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testValidator_invalidDailyUpdateUri_invalidBuyer_unset() 921 mCustomAudience.setDailyUpdateUri(getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testValidator_invalidDailyUpdateUri_invalidBuyer_emptyIdentifier() 942 mCustomAudience.setDailyUpdateUri(getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testValidator_invalidDailyUpdateUri_invalidBuyer_missingHost() 971 mCustomAudience.setDailyUpdateUri(getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testValidator_invalidDailyUpdateUri_invalidBuyer_domainHasPath() 1000 mCustomAudience.setDailyUpdateUri(getValidDailyUpdateUriByBuyer(VALID_BUYER_1)); in testValidator_invalidDailyUpdateUri_invalidBuyer_domainHasPort() 1028 mCustomAudience.setDailyUpdateUri(getValidDailyUpdateUriByBuyer(VALID_BUYER_2)); in testValidator_invalidDailyUpdateUri_malformedUri() 1067 Uri tooLongUri = getValidDailyUpdateUriByBuyer(VALID_BUYER_1); in testValidator_invalidDailyUpdateUri_exceedsSizeLimit()
|
D | CustomAudienceValidatorTest.java | 168 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testInvalidDailyUpdateUriAndBiddingLogicUri()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdSelectionE2ETest.java | 948 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccess_preV3BiddingLogic() 952 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccess_preV3BiddingLogic() 1070 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1074 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1200 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1204 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1351 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled() 1355 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled() 1497 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader() 1501 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader() [all …]
|
D | OnDeviceAdSelectionRunnerTest.java | 478 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccess() 482 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccess() 587 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 591 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 763 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccessWithBuyerContextualSignals() 767 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccessWithBuyerContextualSignals() 892 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccessWithSellerDataVersionHeader() 896 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccessWithSellerDataVersionHeader() 1038 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1), in testRunAdSelectionSuccessFilteringDisabled() 1042 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2), in testRunAdSelectionSuccessFilteringDisabled() [all …]
|
D | AdSelectionFailureE2ETest.java | 463 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(mBuyer), in testRunAdSelection_webViewNotInstalled_failsGracefully()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/customaudience/ |
D | CustomAudienceFixture.java | 91 public static Uri getValidDailyUpdateUriByBuyer(AdTechIdentifier buyer) { in getValidDailyUpdateUriByBuyer() method in CustomAudienceFixture 105 .setDailyUpdateUri(CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer)) in getValidBuilderForBuyer() 150 .setDailyUpdateUri(CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer)) in getValidBuilderForBuyerFilters() 165 .setDailyUpdateUri(CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer)) in getValidBuilderForBuyerFiltersWithAdRenderId() 191 .setDailyUpdateUri(getValidDailyUpdateUriByBuyer(buyer)) in getNValidCustomAudiences()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | CustomAudienceTest.java | 90 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(CommonFixture.VALID_BUYER_1), in testBuildValidCustomAudienceSuccess() 123 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(CommonFixture.VALID_BUYER_1), in testBuildValidCustomAudienceSuccessWithPriority() 155 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(CommonFixture.VALID_BUYER_1), in testBuildValidCustomAudienceSuccessWithoutPriority() 188 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testBuildValidCustomAudienceSuccessWithAuctionServerRequestFlags() 224 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testBuildValidDelayedActivationCustomAudienceSuccess() 315 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testNonNullValueNotSetBuildFails() 357 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testBuildNullAdsCustomAudienceSuccess() 390 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testBuildEmptyAdsCustomAudienceSuccess()
|
D | CustomAudienceApiCtsTest.java | 355 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testJoinCustomAudience_mismatchDailyFetchUriDomain_fail()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | DBCustomAudienceBackgroundFetchDataTest.java | 62 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(CommonFixture.VALID_BUYER_1), in testBuildFetchDataSuccess() 77 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testBuildFetchDataDefaultFailuresSuccess() 86 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(CommonFixture.VALID_BUYER_1), in testBuildFetchDataDefaultFailuresSuccess() 118 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testCreateFetchDataSuccess() 129 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(CommonFixture.VALID_BUYER_1), in testCreateFetchDataSuccess() 144 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testCreateDebuggableFetchDataSuccess() 155 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(CommonFixture.VALID_BUYER_1), in testCreateDebuggableFetchDataSuccess()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/ |
D | FetchCustomAudienceFixture.java | 45 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer), in getFullSuccessfulJsonResponseString() 63 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer), in getFullSuccessfulJsonResponseStringWithAdRenderId() 82 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer), in getFullJsonResponseStringWithInvalidAdRenderId() 99 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer), in getFullSuccessfulJsonResponse()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ |
D | CustomAudienceTestFixture.java | 136 .setDailyUpdateUri(CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer)) in createCustomAudience() 172 .setDailyUpdateUri(CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer)) in createCustomAudienceWithAdCost()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/customaudience/ |
D | DBCustomAudienceBackgroundFetchDataFixture.java | 36 .setDailyUpdateUri(CustomAudienceFixture.getValidDailyUpdateUriByBuyer(buyer)) in getValidBuilderByBuyer()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | AbstractPerfTest.java | 251 .setDailyUpdateUri(getValidDailyUpdateUriByBuyer(buyer)) in createCustomAudience() 286 protected Uri getValidDailyUpdateUriByBuyer(AdTechIdentifier buyer) { in getValidDailyUpdateUriByBuyer() method in AbstractPerfTest
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceHelperTest.java | 119 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in testCustomAudienceBackgroundFetchDataFromJson_happyPath() 146 .isEqualTo(CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER)); in testCustomAudienceBackgroundFetchDataFromJson_happyPath()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | FledgeCtsDebuggableTest.java | 3055 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2)) in testFledgeAuctionAppFilteringFlow_overall_Success() 3190 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2)) in testFledgeAuctionAppFilteringFlow_overall_AppInstallFailure() 3314 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1)) in testFrequencyCapFiltering_NonWinEvent_FiltersAds() 3486 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1)) in testFrequencyCapFiltering_DifferentNonWinEvent_IsNotFiltered() 3675 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1)) in testFrequencyCapFiltering_NonWinEventDifferentKey_IsNotFiltered() 3836 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1)) in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered() 3851 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_2)) in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered() 4009 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1)) in testFrequencyCapFiltering_NonWinEventWrongAdSelection_DoesNotFilterAds() 4178 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1)) in testFrequencyCapFiltering_WinEvent_FiltersAds() 4353 CustomAudienceFixture.getValidDailyUpdateUriByBuyer(BUYER_1)) in testFrequencyCapFiltering_WinEventDifferentKey_IsNotFiltered() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/testapps/sampleapplowbid/java/com/android/adservices/tests/cts/customaudience/sampleapplowbid/ |
D | MainActivity.java | 131 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in createCustomAudience()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/testapps/sampleapphighbid/java/com/android/adservices/tests/cts/customaudience/sampleapphighbid/ |
D | MainActivity.java | 130 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in createCustomAudience()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/ |
D | FledgeCtsDebuggableJetpackTest.java | 755 private static Uri getValidDailyUpdateUriByBuyer(AdTechIdentifier buyer) { in getValidDailyUpdateUriByBuyer() method in FledgeCtsDebuggableJetpackTest 828 getValidDailyUpdateUriByBuyer(buyer), in createCustomAudience()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | FledgeE2ETest.java | 5161 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in createCustomAudience() 5232 CustomAudienceFixture.getValidDailyUpdateUriByBuyer( in createCustomAudienceWithAdCost()
|