/packages/modules/AdServices/adservices/apk/java/com/android/adservices/adselection/ |
D | AdSelectionService.java | 46 private AdSelectionServiceImpl mAdSelectionService; field in AdSelectionService 67 if (mAdSelectionService == null) { in onCreate() 68 mAdSelectionService = AdSelectionServiceImpl.create(this); in onCreate() 86 return Objects.requireNonNull(mAdSelectionService); in onBind() 91 if (mAdSelectionService != null) { in onDestroy() 92 mAdSelectionService.destroy(); in onDestroy()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/ |
D | KAnonE2ETest.java | 309 private AdSelectionService mAdSelectionService; field in KAnonE2ETest 488 mAdSelectionService = createAdSelectionService(); in persistAdSelectionData_withKAnonImmediateValueZero_savesTheMessageInDB() 491 invokePersistAdSelectionResult(mAdSelectionService, persistAdSelectionResultInput); in persistAdSelectionData_withKAnonImmediateValueZero_savesTheMessageInDB() 513 mAdSelectionService = createAdSelectionService(); in persistAdSelectionData_withKAnonFeatureFlagDisabled_doesNothing() 516 invokePersistAdSelectionResult(mAdSelectionService, persistAdSelectionResultInput); in persistAdSelectionData_withKAnonFeatureFlagDisabled_doesNothing() 600 mAdSelectionService = createAdSelectionService(); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage() 605 invokePersistAdSelectionResult(mAdSelectionService, persistAdSelectionResultInput); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage() 660 mAdSelectionService = createAdSelectionService(); in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB() 665 invokePersistAdSelectionResult(mAdSelectionService, persistAdSelectionResultInput); in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB() 714 mAdSelectionService = createAdSelectionService(); in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdSelectionE2ETest.java | 649 private AdSelectionServiceImpl mAdSelectionService; field in AdSelectionE2ETest 736 mAdSelectionService = in setUp() 956 invokeSelectAds(mAdSelectionService, mAdSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogic() 992 mAdSelectionService = in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1078 invokeSelectAds(mAdSelectionService, mAdSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1124 mAdSelectionService = in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1220 invokeSelectAds(mAdSelectionService, adSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1275 mAdSelectionService = in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled() 1371 invokeSelectAds(mAdSelectionService, adSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled() 1422 mAdSelectionService = in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader() [all …]
|
D | AuctionServerE2ETest.java | 331 private AdSelectionService mAdSelectionService; field in AuctionServerE2ETest 432 mAdSelectionService = createAdSelectionService(); in setUp() 467 mAdSelectionService = createAdSelectionService(); // create the service again with new flags in testAuctionServer_killSwitchDisabled_throwsException() 476 () -> invokeGetAdSelectionData(mAdSelectionService, getAdSelectionDataInput); in testAuctionServer_killSwitchDisabled_throwsException() 488 mAdSelectionService, persistAdSelectionResultInput); in testAuctionServer_killSwitchDisabled_throwsException() 528 mAdSelectionService = createAdSelectionService(); // create the service again with new flags in testAuctionServer_consentDisabled_throwsException() 537 invokeGetAdSelectionData(mAdSelectionService, getAdSelectionDataInput); in testAuctionServer_consentDisabled_throwsException() 554 invokePersistAdSelectionResult(mAdSelectionService, persistAdSelectionResultInput); in testAuctionServer_consentDisabled_throwsException() 589 invokeGetAdSelectionData(mAdSelectionService, input); in testGetAdSelectionData_withoutEncrypt_validRequest_success() 1076 mAdSelectionService = createAdSelectionService(); // create the service again with new flags in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsEnabled() [all …]
|
D | ReportAndRegisterEventE2ETest.java | 240 AdSelectionServiceImpl mAdSelectionService; field in ReportAndRegisterEventE2ETest 354 mAdSelectionService = getAdSelectionServiceImpl(mFlags); in setup() 398 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_reportingDisabled() 445 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_onlyReportingEnabled() 540 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_ReportingAndRegisteringEnabled_measurementKillSwitchEnabled() 593 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_ReportingAndRegisteringEnabled_appIsNotInMeasurementAllowlisted() 746 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_ReportingAndRegisteringFallbackEnabled() 811 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_ReportingAndRegisteringFallbackEnabled_measurementKillSwitchEnabled() 870 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_ReportingAndRegisteringFallbackEnabled_appIsNotInMeasurementAllowlisted() 931 mAdSelectionService = getAdSelectionServiceImpl(flags); in testService_ReportingAndRegisteringFallbackEnabled_measurementConsentRevoked() [all …]
|
D | AdSelectionFromOutcomesE2ETest.java | 237 private AdSelectionServiceImpl mAdSelectionService; field in AdSelectionFromOutcomesE2ETest 318 mAdSelectionService = in setUp() 420 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesPickHighestSuccess() 566 mAdSelectionService = in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables() 599 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables() 651 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesWaterfallMediationAdBidHigherThanBidFloorSuccess() 710 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesWaterfallMediationPrebuiltUriSuccess() 759 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesWaterfallMediationAdBidLowerThanBidFloorSuccess() 809 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesReturnsNullSuccess() 855 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesInvalidAdSelectionConfigFromOutcomes() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | FledgeE2ETest.java | 339 private AdSelectionServiceImpl mAdSelectionService; field in FledgeE2ETest 500 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconDisabled() 565 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingEnabled() 630 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingDisabled() 745 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderEnabled() 830 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderDisabled() 967 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconEnabled() 1034 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithDevOverridesGaUxEnabled() 1100 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithDevOverridesWithRevokedUserConsentForApp() 1167 mAdSelectionService, mAdSelectionConfig, CommonFixture.TEST_PACKAGE_NAME); in testFledgeFlowSuccessWithDevOverridesWithRevokedUserConsentForAppGaUxEnabled() [all …]
|