Home
last modified time | relevance | path

Searched refs:mAdSelectionService (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/apk/java/com/android/adservices/adselection/
DAdSelectionService.java46 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/
DKAnonE2ETest.java309 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/
DAdSelectionE2ETest.java649 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 …]
DAuctionServerE2ETest.java331 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 …]
DReportAndRegisterEventE2ETest.java240 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 …]
DAdSelectionFromOutcomesE2ETest.java237 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/
DFledgeE2ETest.java339 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 …]