Searched refs:dbAdSelection (Results 1 – 8 of 8) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBAdSelectionTest.java | 63 DBAdSelection dbAdSelection = in testBuildDBAdSelection() local 77 assertEquals(AD_SELECTION_ID, dbAdSelection.getAdSelectionId()); in testBuildDBAdSelection() 78 assertEquals(CUSTOM_AUDIENCE_SIGNALS, dbAdSelection.getCustomAudienceSignals()); in testBuildDBAdSelection() 79 assertEquals(BUYER_CONTEXTUAL_SIGNALS, dbAdSelection.getBuyerContextualSignals()); in testBuildDBAdSelection() 80 assertEquals(BIDDING_LOGIC_URI, dbAdSelection.getBiddingLogicUri()); in testBuildDBAdSelection() 81 assertEquals(RENDER_URI, dbAdSelection.getWinningAdRenderUri()); in testBuildDBAdSelection() 82 assertEquals(BID, dbAdSelection.getWinningAdBid(), 0); in testBuildDBAdSelection() 83 assertEquals(ACTIVATION_TIME, dbAdSelection.getCreationTimestamp()); in testBuildDBAdSelection() 84 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelection() 85 assertThat(dbAdSelection.getAdCounterIntKeys()) in testBuildDBAdSelection() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdCounterHistogramUpdaterImpl.java | 83 public void updateWinHistogram(@NonNull DBAdSelection dbAdSelection) { in updateWinHistogram() argument 84 Objects.requireNonNull(dbAdSelection); in updateWinHistogram() 86 if (dbAdSelection.getCustomAudienceSignals() == null) { in updateWinHistogram() 91 if (dbAdSelection.getAdCounterIntKeys() == null in updateWinHistogram() 92 || dbAdSelection.getAdCounterIntKeys().isEmpty()) { in updateWinHistogram() 100 .setBuyer(dbAdSelection.getCustomAudienceSignals().getBuyer()) in updateWinHistogram() 101 .setCustomAudienceOwner(dbAdSelection.getCustomAudienceSignals().getOwner()) in updateWinHistogram() 102 .setCustomAudienceName(dbAdSelection.getCustomAudienceSignals().getName()) in updateWinHistogram() 103 .setTimestamp(dbAdSelection.getCreationTimestamp()) in updateWinHistogram() 104 .setSourceApp(dbAdSelection.getCallerPackageName()); in updateWinHistogram() [all …]
|
D | AdSelectionRunner.java | 457 private ListenableFuture<Void> makeSignJoinCall(DBAdSelection dbAdSelection) { in makeSignJoinCall() argument 460 String winningUrl = dbAdSelection.getWinningAdRenderUri().toString(); in makeSignJoinCall() 461 long adSelectionId = dbAdSelection.getAdSelectionId(); in makeSignJoinCall() 528 @NonNull Pair<DBAdSelection, AdSelectionOrchestrationResult> dbAdSelection) { 530 return Pair.create(dbAdSelection.first, dbAdSelection.second); 643 ListenableFuture<AdSelectionOrchestrationResult> dbAdSelection = 660 dbAdSelection, 752 DBAdSelection dbAdSelection; 758 dbAdSelection = adSelectionOrchestrationResult.mDbAdSelectionBuilder.build(); 760 mAdSelectionExecutionLogger.startPersistAdSelection(dbAdSelection); [all …]
|
D | AdCounterHistogramUpdaterNoOpImpl.java | 41 public void updateWinHistogram(@NonNull DBAdSelection dbAdSelection) { in updateWinHistogram() argument 42 Objects.requireNonNull(dbAdSelection); in updateWinHistogram()
|
D | AdCounterHistogramUpdater.java | 40 void updateWinHistogram(@NonNull DBAdSelection dbAdSelection); in updateWinHistogram() argument
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdSelectionServiceImplTest.java | 493 DBAdSelection dbAdSelection = in testReportImpressionSuccessWithRegisterAdBeaconDisabled() local 505 mAdSelectionEntryDao.persistAdSelection(dbAdSelection); in testReportImpressionSuccessWithRegisterAdBeaconDisabled() 621 DBAdSelection dbAdSelection = in testReportImpressionSuccessCallbackThrowsErrorAuctionServerEnabled() local 633 mAdSelectionEntryDao.persistAdSelection(dbAdSelection); in testReportImpressionSuccessCallbackThrowsErrorAuctionServerEnabled() 749 DBAdSelection dbAdSelection = in testReportImpressionFailureCallbackThrowsErrorAuctionServerEnabled() local 761 mAdSelectionEntryDao.persistAdSelection(dbAdSelection); in testReportImpressionFailureCallbackThrowsErrorAuctionServerEnabled() 870 DBAdSelection dbAdSelection = in testReportImpressionSuccessCallbackThrowsErrorAuctionServerDisabled() local 882 mAdSelectionEntryDao.persistAdSelection(dbAdSelection); in testReportImpressionSuccessCallbackThrowsErrorAuctionServerDisabled() 998 DBAdSelection dbAdSelection = in testReportImpressionFailureCallbackThrowsErrorAuctionServerDisabled() local 1010 mAdSelectionEntryDao.persistAdSelection(dbAdSelection); in testReportImpressionFailureCallbackThrowsErrorAuctionServerDisabled() [all …]
|
D | AdSelectionFailureE2ETest.java | 496 DBAdSelection dbAdSelection = in testReportImpression_webViewNotInstalled_failsGracefully() local 508 mAdSelectionEntryDao.persistAdSelection(dbAdSelection); in testReportImpression_webViewNotInstalled_failsGracefully()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | AdSelectionExecutionLogger.java | 542 public void startPersistAdSelection(DBAdSelection dbAdSelection) throws IllegalStateException { in startPersistAdSelection() argument 547 this.mIsRemarketingAdsWon = Objects.nonNull(dbAdSelection.getBiddingLogicUri()); in startPersistAdSelection()
|