Home
last modified time | relevance | path

Searched refs:getAdSelectionId (Results 1 – 25 of 89) sorted by relevance

1234

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DAdSelectionReportingTest.java59 doSelectAds(adSelectionConfig).getAdSelectionId(), adSelectionConfig); in testReportImpression_defaultAdSelection_happyPath()
80 doSelectAds(adSelectionConfig).getAdSelectionId(), adSelectionConfig); in testReportImpression_buyerRequestFails_sellerRequestSucceeds()
107 adSelectionOutcome.getAdSelectionId(), config)); in testReportImpression_buyerLogicTimesOut_reportingFails()
138 doSelectAds(config).getAdSelectionId(), config)); in testReportImpression_withMismatchedAdTechUri_sellerRequestFails()
158 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_registerBuyerAndSellerBeacons_happyPath()
180 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_failToRegisterBuyerBeacon_sellerBeaconSucceeds()
204 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_failToRegisterSellerBeacon_buyerBeaconSucceeds()
228 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_withMismatchedSellerAdTech_buyerStillCalled()
252 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_withMismatchedBuyerAdTech_sellerStillCalled()
276 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_withBuyerBeacon_onlyReportsForViewInteraction()
[all …]
DFledgeCtsDebuggableTest.java648 new ReportImpressionRequest(outcome.getAdSelectionId(), AD_SELECTION_CONFIG); in testFledgeAuctionSelectionFlow_overall_Success()
732 new ReportImpressionRequest(outcome.getAdSelectionId(), AD_SELECTION_CONFIG); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
891 new ReportImpressionRequest(outcome.getAdSelectionId(), AD_SELECTION_CONFIG); in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingEnabled()
974 new ReportImpressionRequest(outcome.getAdSelectionId(), AD_SELECTION_CONFIG); in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingDisabled()
1073 outcome.getAdSelectionId(), adSelectionConfigWithSubdomains); in testFledgeAuctionSelectionFlow_overallWithSubdomains_Success()
1171 new ReportImpressionRequest(outcome.getAdSelectionId(), config); in testFledgeAuctionSelectionFlow_scoringPrebuilt_Success()
1288 outcome.getAdSelectionId(), adSelectionConfigWithContextualAds); in testFledgeSelectionFlow_WithContextualAds_Success()
1405 outcome.getAdSelectionId(), adSelectionConfigWithContextualAds); in testFledgeSelectionFlow_WithContextualAdsDisabled_ContextualAdsRemoved()
1523 outcome.getAdSelectionId(), adSelectionConfigWithContextualAds); in testFledgeSelectionFlow_WithContextualAdsLogging_Success()
1604 outcome.getAdSelectionId(), adSelectionConfigOnlyContextualAds); in testFledgeSelectionFlow_OnlyContextualAds_Success()
[all …]
DAdSelectionMediationTest.java66 .getAdSelectionId())) in testSelectAds_withAdSelectionFromOutcomes_happyPath()
91 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testSelectAds_withImpressionReporting_eventsAreReceived()
135 long adSelectionId = adSelectionOutcome1.getAdSelectionId(); in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBReportingDataTest.java56 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testBuild_success()
67 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testCreate_success()
81 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testBuild_sellerEmptyUri_success()
95 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testBuild_buyerEmptyUri_success()
105 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testCreate_sellerEmptyUri_success()
115 assertEquals(AD_SELECTION_ID_1, reportingData.getAdSelectionId()); in testCreate_buyerEmptyUri_success()
DAdSelectionEntryDaoTest.java856 mAdSelectionEntryDao.doesAdSelectionIdExist(DB_AD_SELECTION_1.getAdSelectionId())); in testRemoveExpiredAdSelection()
859 expiredDBAdSelection.getAdSelectionId())); in testRemoveExpiredAdSelection()
864 mAdSelectionEntryDao.doesAdSelectionIdExist(DB_AD_SELECTION_1.getAdSelectionId())); in testRemoveExpiredAdSelection()
867 expiredDBAdSelection.getAdSelectionId())); in testRemoveExpiredAdSelection()
889 mAdSelectionEntryDao.doesAdSelectionIdExist(DB_AD_SELECTION_1.getAdSelectionId())); in testRemoveExpiredAdSelectionSellerContextualSignals()
892 expiredDBAdSelection.getAdSelectionId())); in testRemoveExpiredAdSelectionSellerContextualSignals()
897 mAdSelectionEntryDao.doesAdSelectionIdExist(DB_AD_SELECTION_1.getAdSelectionId())); in testRemoveExpiredAdSelectionSellerContextualSignals()
900 expiredDBAdSelection.getAdSelectionId())); in testRemoveExpiredAdSelectionSellerContextualSignals()
968 mAdSelectionEntryDao.doesAdSelectionIdExist(DB_AD_SELECTION_1.getAdSelectionId())); in testRemoveExpiredBuyerDecisionLogic()
979 mAdSelectionEntryDao.doesAdSelectionIdExist(DB_AD_SELECTION_1.getAdSelectionId())); in testRemoveExpiredBuyerDecisionLogic()
[all …]
DDBAdSelectionTest.java77 assertEquals(AD_SELECTION_ID, dbAdSelection.getAdSelectionId()); in testBuildDBAdSelection()
203 assertEquals(AD_SELECTION_ID, dbAdSelection.getAdSelectionId()); in testBuildDBAdSelectionWithNullAdCounterKeys()
230 assertEquals(AD_SELECTION_ID, dbAdSelection.getAdSelectionId()); in testBuildDBAdSelectionWithNullSellerContextualSignals()
259 assertEquals(AD_SELECTION_ID, dbAdSelection.getAdSelectionId()); in testBuildDBAdSelectionWithEmptyAdCounterKeys()
286 assertEquals(AD_SELECTION_ID, dbAdSelection.getAdSelectionId()); in testBuildDBAdSelectionWithUnsetAdCounterKeys()
313 assertEquals(AD_SELECTION_ID, dbAdSelection.getAdSelectionId()); in testBuildDBAdSelectionWithUnsetSellerContextualSignals()
DDBAdSelectionResultTest.java58 assertEquals(AD_SELECTION_ID_1, result.getAdSelectionId()); in testBuild_withoutWinningCustomAudience_success()
82 assertEquals(AD_SELECTION_ID_1, result.getAdSelectionId()); in testBuild_withWinningCustomAudience_success()
DDBAdSelectionInitializationTest.java75 assertEquals(AD_SELECTION_ID_1, dbAdSelectionInitialization.getAdSelectionId()); in testBuild_allFieldsSet_success()
105 assertEquals(AD_SELECTION_ID_1, dbAdSelectionInitialization.getAdSelectionId()); in testCreate_allFieldsSet_success()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DGetAdSelectionDataResponseTest.java52 expect.that(getAdSelectionDataResponse.getAdSelectionId()).isEqualTo(TEST_AD_SELECTION_ID); in testBuildGetAdSelectionDataResponse()
69 expect.that(getAdSelectionDataResponse.getAdSelectionId()).isEqualTo(TEST_AD_SELECTION_ID); in testBuildGetAdSelectionDataResponseWithAssetFileDescriptor()
90 expect.that(fromParcel.getAdSelectionId()).isEqualTo(TEST_AD_SELECTION_ID); in testParcelGetAdSelectionDataResponse()
113 expect.that(fromParcel.getAdSelectionId()).isEqualTo(TEST_AD_SELECTION_ID); in testParcelGetAdSelectionDataResponseWithAssetFileDescriptor()
135 expect.that(fromParcel.getAdSelectionId()).isEqualTo(TEST_AD_SELECTION_ID); in testParcelGetAdSelectionDataResponseWithNullValues()
DReportInteractionInputTest.java76 expect.that(fromParcel.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testWriteToParcel_nonNullOptionalParameters()
107 expect.that(fromParcel.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testWriteToParcel_nullInputEvent()
137 expect.that(fromParcel.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testWriteToParcel_nullAdId()
168 expect.that(fromParcel.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testWriteToParcel_nullCallerSdkName()
DAdSelectionManagerTest.java122 expect.that(input.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testAdSelectionManager_reportEvent_adIdEnabled()
148 expect.that(input.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testAdSelectionManager_reportEvent_adIdZeroOut()
174 expect.that(input.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testAdSelectionManager_reportEvent_adIdDisabled()
213 expect.that(outcomeReceiver.getResult().getAdSelectionId()) in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
282 assertThat(outcomeReceiver.getResult().getAdSelectionId()).isEqualTo(expectedAdSelectionId); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
314 assertThat(outcomeReceiver.getResult().getAdSelectionId()).isEqualTo(expectedAdSelectionId); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DPersistAdSelectionResultRequestTest.java49 assertThat(request.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testPersistAdSelectionResultRequest_validInput_successWithDeprecatedField()
64 assertThat(request.getAdSelectionId()).isEqualTo(AD_SELECTION_ID); in testPersistAdSelectionResultRequest_validInput_successWithUpdatedField()
81 assertThat(request.getAdSelectionId()).isEqualTo(AD_SELECTION_ID + 1); in testPersistAdSelectionResultRequest_validInput_valueOfIdGettersIsSameAfterCallingBothSetters()
DReportEventRequestTest.java62 assertEquals(AD_SELECTION_ID, request.getAdSelectionId()); in testBuildReportEventRequestSuccess_viewInputEvent()
77 assertEquals(AD_SELECTION_ID, request.getAdSelectionId()); in testBuildReportEventRequestSuccess_clickInputEvent()
111 assertEquals(otherAdSelectionId, request.getAdSelectionId()); in testBuildReportEventRequestSuccess_callAllSetters()
DReportImpressionRequestTest.java49 assertThat(request.getAdSelectionId()).isEqualTo(AUCTION_ID); in testBuildsReportImpressionInput()
57 assertThat(request.getAdSelectionId()).isEqualTo(AUCTION_ID); in testBuildsReportImpressionInputWithOnlyAdSelectionId()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonSignJoinManagerTest.java147 assertThat(fetchedKAnonEntities.get(0).getAdSelectionId()) in processNewMessage_immediateJoinValueZero_shouldSaveMessageInDatabase()
148 .isEqualTo(kAnonMessageEntity.getAdSelectionId()); in processNewMessage_immediateJoinValueZero_shouldSaveMessageInDatabase()
175 assertThat(kanonMessageEntityArgumentCaptor.getValue().get(0).getAdSelectionId()) in processNewMessage_immediateJoinValueHundred_shouldImmediatelyProcessMessage()
176 .isEqualTo(kAnonMessageEntity.getAdSelectionId()); in processNewMessage_immediateJoinValueHundred_shouldImmediatelyProcessMessage()
250 assertThat(kanonMessageEntityArgumentCaptor.getValue().get(0).getAdSelectionId()) in processNewMessage_messageSignedWithExpiredClientParams_shouldProcessMessage()
251 .isEqualTo(kAnonMessageEntity.getAdSelectionId()); in processNewMessage_messageSignedWithExpiredClientParams_shouldProcessMessage()
DKAnonMessageEntityTest.java55 assertThat(kAnonMessageEntity.getAdSelectionId()).isEqualTo(AD_SELECTION_ID_1); in testBuilderKAnonMessageEntity_buildsSuccessfully()
75 assertThat(kAnonMessageEntity.getAdSelectionId()).isEqualTo(AD_SELECTION_ID_1); in testBuilderKAnonMessageEntity_withoutMessageId_buildsSuccessfully()
89 assertThat(kAnonMessageEntity.getAdSelectionId()).isEqualTo(AD_SELECTION_ID_1); in testBuilderKAnonMessageEntity_withoutClientExpiryInstant_buildsSuccessfully()
DKAnonE2ETest.java499 assertThat(kAnonMessageEntityListNotProcessed.get(0).getAdSelectionId()) in persistAdSelectionData_withKAnonImmediateValueZero_savesTheMessageInDB()
502 .getAdSelectionId()); in persistAdSelectionData_withKAnonImmediateValueZero_savesTheMessageInDB()
623 assertThat(kAnonMessageEntityList.get(0).getAdSelectionId()) in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage()
626 .getAdSelectionId()); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage()
675 assertThat(kAnonMessageEntityList.get(0).getAdSelectionId()) in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB()
678 .getAdSelectionId()); in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB()
727 assertThat(kAnonMessageEntityList.get(0).getAdSelectionId()) in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB()
730 .getAdSelectionId()); in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB()
769 assertThat(kAnonMessageEntityList.get(0).getAdSelectionId()) in persistAdSelectionData_httpFetchServerParamFails_shouldNotUpdateStatusInDB()
772 .getAdSelectionId()); in persistAdSelectionData_httpFetchServerParamFails_shouldNotUpdateStatusInDB()
[all …]
DKAnonMessageManagerTest.java137 assertThat(dbkAnonMessages.get(0).getAdSelectionId()) in testPersistNewAnonMessageEntities_shouldPersistSuccessfully()
138 .isEqualTo(mKAnonMessageEntity.getAdSelectionId()); in testPersistNewAnonMessageEntities_shouldPersistSuccessfully()
152 .map(KAnonMessageEntity::getAdSelectionId) in testFetchNKAnonMessagesWithStatus_shouldFetchListOfCorrectMessages()
167 assertThat(fetchedKAnonMessage.get(0).getAdSelectionId()).isEqualTo(AD_SELECTION_ID_1); in testFetchKAnonMessagesWithMessage_shouldFetchCorrectMessage()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DAdSelectionManager.java263 resultParcel.getAdSelectionId()) in getAdSelectionData()
337 .setAdSelectionId(request.getAdSelectionId()) in persistAdSelectionResult()
352 resultParcel.getAdSelectionId()) in persistAdSelectionResult()
456 resultParcel.getAdSelectionId()) in selectAds()
569 resultParcel.getAdSelectionId()) in selectAds()
692 .setAdSelectionId(request.getAdSelectionId()) in reportImpression()
769 .setAdSelectionId(request.getAdSelectionId()) in reportEvent()
927 updateAdCounterHistogramRequest.getAdSelectionId(), in updateAdCounterHistogram()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/
DFledgeMaintenanceJobTest.java69 () -> doReportImpression(result.getAdSelectionId(), adSelectionConfig)); in testAdSelection_afterExpirationWindow_adSelectionDataCleared()
98 doReportImpression(result.getAdSelectionId(), adSelectionConfig); in testAdSelection_afterExpirationWindow_adInteractionsIsCleared()
104 () -> doReportEvent(result.getAdSelectionId(), "click")); in testAdSelection_afterExpirationWindow_adInteractionsIsCleared()
DAdBeaconRegistrationTest.java91 outcome.getAdSelectionId(), in runAdSelectionAndReporting()
94 doReportEvent(outcome.getAdSelectionId(), "view"); in runAdSelectionAndReporting()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DAdSelectionDataE2ETest.java202 .setAdSelectionId(outcome.getAdSelectionId()) in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner()
254 .setAdSelectionId(outcome.getAdSelectionId()) in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner()
307 .setAdSelectionId(outcome.getAdSelectionId()) in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner()
358 .setAdSelectionId(outcome.getAdSelectionId()) in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError()
412 .setAdSelectionId(outcome.getAdSelectionId()) in runAdSelection_baReturnsIsChaffTrue_noAdReturnedByPpapi()
470 .setAdSelectionId(outcome.getAdSelectionId()) in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner_withMediaTypeChanged()
DBaselinePerfTest.java86 new ReportImpressionRequest(outcome.getAdSelectionId(), createAdSelectionConfig()); in testAdSelectionAndReporting_normalFlow_success()
136 new ReportImpressionRequest(outcome.getAdSelectionId(), createAdSelectionConfig()); in testAdSelectionAndReporting_normalFlowWithThrottling_success()
222 new ReportImpressionRequest(outcome.getAdSelectionId(), createAdSelectionConfig()); in testAdSelectionAndReporting_executionHeavyJS_success()
304 new ReportImpressionRequest(outcome.getAdSelectionId(), createAdSelectionConfig()); in testAdSelectionAndReporting_memoryHeavyJS_success()
359 new ReportImpressionRequest(outcome.getAdSelectionId(), createAdSelectionConfig()); in testAdSelectionAndReporting_multipleCustomAudienceList_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonMessageManager.java66 .setAdSelectionId(currentEntity.getAdSelectionId()) in persistNewAnonMessageEntities()
127 .setAdSelectionId(kAnonMessageEntity.getAdSelectionId()) in parseKAnonMessageEntityToNewDBKAnonMessage()
147 .setAdSelectionId(dbkAnonMessage.getAdSelectionId()) in parseDBKAnonMessageToKAnonMessageEntity()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/
DFledgeCtsDebuggableJetpackTest.java246 outcome.getAdSelectionId(), DEFAULT_AD_SELECTION_CONFIG); in testFledgeAuctionSelectionFlow_overall_Success()
345 outcome.getAdSelectionId(), adSelectionConfigWithEtldViolations); in testReportImpression_etldViolation_failure()
396 outcome.getAdSelectionId(), DEFAULT_AD_SELECTION_CONFIG); in testAdSelection_skipAdsMalformedBiddingLogic_success()
485 outcome.getAdSelectionId(), DEFAULT_AD_SELECTION_CONFIG); in testAdSelection_skipAdsFailedGettingBiddingLogic_success()
581 outcome.getAdSelectionId(), DEFAULT_AD_SELECTION_CONFIG); in testAdSelectionFlow_skipNonActivatedCA_Success()
633 outcome.getAdSelectionId(), DEFAULT_AD_SELECTION_CONFIG); in testAdSelectionFlow_skipExpiredCA_Success()
677 outcome.getAdSelectionId(), DEFAULT_AD_SELECTION_CONFIG); in testAdSelectionFlow_skipCAsThatTimeoutDuringBidding_Success()

1234