/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | GetAdSelectionDataInputTest.java | 35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; field in GetAdSelectionDataInputTest 45 .setSeller(SELLER) in testBuildGetAdSelectionDataInput() 50 expect.that(getAdSelectionDataInput.getSeller()).isEqualTo(SELLER); in testBuildGetAdSelectionDataInput() 61 .setSeller(SELLER) in testBuildGetAdSelectionDataInputWithSellerConfiguration() 67 expect.that(getAdSelectionDataInput.getSeller()).isEqualTo(SELLER); in testBuildGetAdSelectionDataInputWithSellerConfiguration() 79 .setSeller(SELLER) in testParcelGetAdSelectionDataInput() 90 expect.that(fromParcel.getSeller()).isEqualTo(SELLER); in testParcelGetAdSelectionDataInput() 120 .setSeller(SELLER) in testGetAdSelectionDataInputWithSameValuesAreEqual() 128 .setSeller(SELLER) in testGetAdSelectionDataInputWithSameValuesAreEqual() 142 .setSeller(SELLER) in testGetAdSelectionDataInputWithDifferentPackageNameValuesAreNotEqual() [all …]
|
D | PersistAdSelectionResultInputTest.java | 35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; field in PersistAdSelectionResultInputTest 48 .setSeller(SELLER) in testBuildPersistAdSelectionResultInput() 54 expect.that(persistAdSelectionResultInput.getSeller()).isEqualTo(SELLER); in testBuildPersistAdSelectionResultInput() 66 .setSeller(SELLER) in testParcelPersistAdSelectionResultInput() 78 expect.that(fromParcel.getSeller()).isEqualTo(SELLER); in testParcelPersistAdSelectionResultInput() 112 .setSeller(SELLER) in testFailsToBuildWithUnsetAdSelectionId() 123 .setSeller(SELLER) in testPersistAdSelectionResultInputWithSameValuesAreEqual() 131 .setSeller(SELLER) in testPersistAdSelectionResultInputWithSameValuesAreEqual() 145 .setSeller(SELLER) in testPersistAdSelectionResultInputWithDifferentValuesAreNotEqual() 153 .setSeller(SELLER) in testPersistAdSelectionResultInputWithDifferentValuesAreNotEqual() [all …]
|
D | GetAdSelectionDataRequestTest.java | 29 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; field in GetAdSelectionDataRequestTest 34 new GetAdSelectionDataRequest.Builder().setSeller(SELLER).build(); in testGetAdSelectionDataRequest_validInputWithoutUri_success() 36 expect.that(request.getSeller()).isEqualTo(SELLER); in testGetAdSelectionDataRequest_validInputWithoutUri_success() 45 .setSeller(SELLER) in testGetAdSelectionDataRequest_validInputWithUri_success() 49 expect.that(request.getSeller()).isEqualTo(SELLER); in testGetAdSelectionDataRequest_validInputWithUri_success()
|
D | AdSelectionManagerTest.java | 201 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray() 235 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed() 270 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor() 305 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | GetAdSelectionDataRequestTest.java | 35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; field in GetAdSelectionDataRequestTest 45 .setSeller(SELLER) in getAdSelectionDataRequest_withNonNullInputs_success() 49 assertThat(request.getSeller()).isEqualTo(SELLER); in getAdSelectionDataRequest_withNonNullInputs_success() 56 new GetAdSelectionDataRequest.Builder().setSeller(SELLER).build(); in getAdSelectionDataRequest_nullCoordinator_success() 58 assertThat(request.getSeller()).isEqualTo(SELLER); in getAdSelectionDataRequest_nullCoordinator_success() 77 .setSeller(SELLER) in testGetAdSelectionDataRequest_sellerConfiguration_success() 81 expect.that(request.getSeller()).isEqualTo(SELLER); in testGetAdSelectionDataRequest_sellerConfiguration_success() 89 new GetAdSelectionDataRequest.Builder().setSeller(SELLER).build(); in testGetAdSelectionDataRequest_withoutSellerConfiguration_success() 91 expect.that(request.getSeller()).isEqualTo(SELLER); in testGetAdSelectionDataRequest_withoutSellerConfiguration_success()
|
D | PersistAdSelectionResultRequestTest.java | 31 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; field in PersistAdSelectionResultRequestTest 42 .setSeller(SELLER) in testPersistAdSelectionResultRequest_validInput_successWithDeprecatedField() 48 assertThat(request.getSeller()).isEqualTo(SELLER); in testPersistAdSelectionResultRequest_validInput_successWithDeprecatedField() 58 .setSeller(SELLER) in testPersistAdSelectionResultRequest_validInput_successWithUpdatedField() 63 assertThat(request.getSeller()).isEqualTo(SELLER); in testPersistAdSelectionResultRequest_validInput_successWithUpdatedField() 74 .setSeller(SELLER) in testPersistAdSelectionResultRequest_validInput_valueOfIdGettersIsSameAfterCallingBothSetters() 80 assertThat(request.getSeller()).isEqualTo(SELLER); in testPersistAdSelectionResultRequest_validInput_valueOfIdGettersIsSameAfterCallingBothSetters()
|
D | AdSelectionConfigTest.java | 47 .setSeller(AdSelectionConfigFixture.SELLER) in testBuildValidAdSelectionConfigSuccess() 58 assertEquals(config.getSeller(), AdSelectionConfigFixture.SELLER); in testBuildValidAdSelectionConfigSuccess() 102 .setSeller(AdSelectionConfigFixture.SELLER) in testBuildMinimalAdSelectionConfigWithDefaultsSuccess() 109 assertEquals(config.getSeller(), AdSelectionConfigFixture.SELLER); in testBuildMinimalAdSelectionConfigWithDefaultsSuccess() 141 .setSeller(AdSelectionConfigFixture.SELLER) in testBuildValidAdSelectionConfigCloneSuccess() 153 assertEquals(AdSelectionConfigFixture.SELLER, cloneConfig.getSeller()); in testBuildValidAdSelectionConfigCloneSuccess() 174 .setSeller(AdSelectionConfigFixture.SELLER) in testBuildAdSelectionConfigUnsetDecisionLogicUriFailure() 187 .setSeller(AdSelectionConfigFixture.SELLER) in testBuildAdSelectionConfigUnsetBuyersFailure()
|
D | TestAdSelectionManagerTest.java | 85 private static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("test.com"); field in TestAdSelectionManagerTest 98 .setSeller(SELLER) 107 SELLER, DECISION_LOGIC_URI); 306 .setSeller(SELLER) in assertNoBuyersConfigFailsAdSelection()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | GetAdSelectionDataLatency.java | 62 private static final String SELLER = "ba-seller-5jyy5ulagq-uc.a.run.app"; field in GetAdSelectionDataLatency 118 .setSeller(AdTechIdentifier.fromString(SELLER)) in warmup() 138 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_1() 165 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_10() 192 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_100() 220 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_500() 249 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_1000() 277 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_1() 304 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_10() 331 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_100() [all …]
|
D | AdSelectionDataE2ETest.java | 88 private static final String SELLER = "ba-seller-5jyy5ulagq-uc.a.run.app"; field in AdSelectionDataE2ETest 150 SELLER, in warmup() 179 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner() 203 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner() 231 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner() 255 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner() 284 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner() 308 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner() 334 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError() 335 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError() [all …]
|
D | ServerAuctionOneBuyerLargeCaLatency.java | 70 private static final String SELLER = "ba-seller-5jyy5ulagq-uc.a.run.app"; field in ServerAuctionOneBuyerLargeCaLatency 134 .setSeller(AdTechIdentifier.fromString(SELLER)) in warmup() 151 .setSeller(AdTechIdentifier.fromString(SELLER)) in warmup() 187 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_oneBuyerLargeCa_realData_remarketingWinner() 220 .setSeller(AdTechIdentifier.fromString(SELLER)) in runAdSelection_oneBuyerLargeCa_realData_remarketingWinner()
|
D | ServerAuctionKAnonE2ETest.java | 80 private static final String SELLER = "ba-seller-5jyy5ulagq-uc.a.run.app"; field in ServerAuctionKAnonE2ETest 185 SELLER, in warmupClientAndServer() 220 .setSeller(AdTechIdentifier.fromString(SELLER)) in runServerAuction_verifyKAnonSetJoined() 244 .setSeller(AdTechIdentifier.fromString(SELLER)) in runServerAuction_verifyKAnonSetJoined()
|
D | AbstractPerfTest.java | 79 public static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("localhost"); field in AbstractPerfTest 267 .setSeller(SELLER) in createAdSelectionConfig()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBAdSelectionInitializationTest.java | 48 .setSeller(AdSelectionConfigFixture.SELLER) in testBuild_unsetAdSelectionId_throwsISE() 60 .setSeller(AdSelectionConfigFixture.SELLER) in testBuild_unsetCreationInstant_throwsISE() 71 .setSeller(AdSelectionConfigFixture.SELLER) in testBuild_allFieldsSet_success() 77 assertEquals(AdSelectionConfigFixture.SELLER, dbAdSelectionInitialization.getSeller()); in testBuild_allFieldsSet_success() 92 AdSelectionConfigFixture.SELLER, in testCreate_nullCreationInstant_throwsNPE() 102 AdSelectionConfigFixture.SELLER, in testCreate_allFieldsSet_success() 107 assertEquals(AdSelectionConfigFixture.SELLER, dbAdSelectionInitialization.getSeller()); in testCreate_allFieldsSet_success()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/ |
D | FledgeCtsDebuggableJetpackTest.java | 92 private static final AdTechIdentifier SELLER = field in FledgeCtsDebuggableJetpackTest 142 SELLER, 144 String.format("https://%s%s", SELLER, SELLER_DECISION_LOGIC_URI_PATH)), 150 String.format("https://%s%s", SELLER, SELLER_TRUSTED_SIGNAL_URI_PATH))); 265 SELLER, in testAdSelection_etldViolation_failure() 269 SELLER + "etld_noise", SELLER_DECISION_LOGIC_URI_PATH)), in testAdSelection_etldViolation_failure() 277 SELLER + "etld_noise", SELLER_TRUSTED_SIGNAL_URI_PATH))); in testAdSelection_etldViolation_failure() 311 SELLER, in testReportImpression_etldViolation_failure() 315 SELLER + "etld_noise", SELLER_DECISION_LOGIC_URI_PATH)), in testReportImpression_etldViolation_failure() 323 SELLER + "etld_noise", SELLER_TRUSTED_SIGNAL_URI_PATH))); in testReportImpression_etldViolation_failure() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | AdSelectionConfigFixture.java | 32 public static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("test.com"); field in AdSelectionConfigFixture 40 CommonFixture.getUri(SELLER, DECISION_LOGIC_FRAGMENT); 69 CommonFixture.getUri(SELLER, TRUSTED_SCORING_SIGNAL_FRAGMENT); 82 .setSeller(SELLER) in anAdSelectionConfigBuilder() 97 .setSeller(SELLER) in anAdSelectionConfig()
|
D | AdSelectionFromOutcomesConfigFixture.java | 28 public static final AdTechIdentifier SAMPLE_SELLER = AdSelectionConfigFixture.SELLER;
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/fledge/providers/sdkFledge/src/com/android/tests/providers/sdkfledge/ |
D | SdkFledge.java | 66 private static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("test.com"); field in SdkFledge 91 String.format("https://%s%s", SELLER, SELLER_CLICK_URI_PATH); 94 String.format("https://%s%s", SELLER, SELLER_HOVER_URI_PATH); 132 SELLER, SELLER_DECISION_LOGIC_URI_PATH))) 137 SELLER, SELLER_TRUSTED_SIGNAL_URI_PATH))) 196 + getUri(SELLER.toString(), SELLER_REPORTING_PATH).toString() in onLoadSdk() 503 .setSeller(SELLER) in anAdSelectionConfigBuilder() 504 .setDecisionLogicUri(getUri(SELLER.toString(), "/update")) in anAdSelectionConfigBuilder() 514 .setTrustedScoringSignalsUri(getUri(SELLER.toString(), "/trusted/scoring")); in anAdSelectionConfigBuilder()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AuctionServerE2ETest.java | 217 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; field in AuctionServerE2ETest 227 CommonFixture.getUri(SELLER, "/reporting").toString(); 233 CommonFixture.getUri(SELLER, "/interaction").toString(); 471 .setSeller(SELLER) in testAuctionServer_killSwitchDisabled_throwsException() 481 .setSeller(SELLER) in testAuctionServer_killSwitchDisabled_throwsException() 506 eq(SELLER), in testAuctionServer_consentDisabled_throwsException() 518 eq(SELLER), in testAuctionServer_consentDisabled_throwsException() 532 .setSeller(SELLER) in testAuctionServer_consentDisabled_throwsException() 549 .setSeller(SELLER) in testAuctionServer_consentDisabled_throwsException() 584 .setSeller(SELLER) in testGetAdSelectionData_withoutEncrypt_validRequest_success() [all …]
|
D | GetAdSelectionDataRunnerTest.java | 147 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER_1; field in GetAdSelectionDataRunnerTest 249 SELLER, in setup() 297 .setSeller(SELLER) in testRunner_getAdSelectionData_returnsSuccess() 317 .setSeller(SELLER) in testRunner_getAdSelectionData_returnsSuccess() 364 .setSeller(SELLER) in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled() 398 .setSeller(SELLER) in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled() 467 .setSeller(SELLER) in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator() 501 .setSeller(SELLER) in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator() 573 .setSeller(SELLER) in testRunner_getAdSelectionData_returnsSuccessMetricsEnabled_withApiSourceCoordinator() 608 .setSeller(SELLER) in testRunner_getAdSelectionData_returnsSuccessMetricsEnabled_withApiSourceCoordinator() [all …]
|
D | PersistAdSelectionResultRunnerTest.java | 151 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; field in PersistAdSelectionResultRunnerTest 166 CommonFixture.getUri(SELLER, "/reporting").toString(); 176 CommonFixture.getUri(SELLER, "/interaction").toString(); 358 getAdSelectionInitialization(SELLER, CALLER_PACKAGE_NAME); 363 getAdSelectionInitialization(SELLER, DIFFERENT_CALLER_PACKAGE_NAME); 544 .setSeller(SELLER) in testRunner_persistRemarketingResult_success() 657 .setSeller(SELLER) in testRunner_persistAppInstallResult_success() 773 .setSeller(SELLER) in testRunner_persistRemarketingResult_withInvalidSellerReportingUriSuccess() 879 .setSeller(SELLER) in testRunner_persistAppInstallResult_withInvalidSellerReportingUriSuccess() 985 .setSeller(SELLER) in testRunner_persistRemarketingResult_withInvalidBuyerReportingUriSuccess() [all …]
|
D | AdOutcomeSelectorImplTest.java | 85 private static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("test.com"); field in AdOutcomeSelectorImplTest 184 .setSeller(SELLER) in testAdOutcomeSelectorReturnsOutcomeSuccess() 229 .setSeller(SELLER) in testAdOutcomeSelectorReturnsNullSuccess() 274 .setSeller(SELLER) in testAdOutcomeSelectorJsonException() 344 .setSeller(SELLER) in testAdOutcomeSelectorTimeoutFailure() 430 .setSeller(SELLER) in testAdOutcomeSelectorWithPrebuiltUriReturnsOutcomeSuccess()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/ |
D | ProtectedAudienceSignatureManagerTest.java | 61 private static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("seller.com"); field in ProtectedAudienceSignatureManagerTest 96 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testVerifySignature_validSignature_returnTrue() 115 BUYER, SELLER, CALLER_PACKAGE_NAME, signedContextualAds); in testVerifySignature_invalidSignature_returnFalse() 127 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testMultipleKeys_success() 141 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechNotEnrolled_failsVerification() 155 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechEnrollmentIdNull_failsVerification() 167 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechHasNoKeys_failsVerification() 181 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechHasKeyWithWrongFormat_failsVerification() 379 .getEnrollmentDataForFledgeByAdTechIdentifier(SELLER); in mockKeyStorage()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | FledgeCtsDebuggableTest.java | 183 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER_1; field in FledgeCtsDebuggableTest 206 String.format("https://%s%s", AdSelectionConfigFixture.SELLER, SELLER_REPORTING_PATH); 209 String.format("https://%s%s", AdSelectionConfigFixture.SELLER, SELLER_CLICK_URI_PATH); 212 String.format("https://%s%s", AdSelectionConfigFixture.SELLER, SELLER_HOVER_URI_PATH); 270 AdSelectionConfigFixture.SELLER, 276 AdSelectionConfigFixture.SELLER, 1007 AdSelectionConfigFixture.SELLER.toString(), in testFledgeAuctionSelectionFlow_overallWithSubdomains_Success() 1011 AdSelectionConfigFixture.SELLER.toString(), in testFledgeAuctionSelectionFlow_overallWithSubdomains_Success() 1118 AdSelectionConfigFixture.SELLER, in testFledgeAuctionSelectionFlow_scoringPrebuilt_Success() 1265 AdSelectionConfigFixture.SELLER, in testFledgeSelectionFlow_WithContextualAds_Success() [all …]
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/ |
D | StaticAdTechServerUtils.java | 58 private static final AdTechIdentifier SELLER = AdTechIdentifier.fromString(SELLER_BASE_DOMAIN); field in StaticAdTechServerUtils 138 .setSeller(SELLER) in createAndGetAdSelectionConfig()
|