/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | AdSelectionEntryDao.java | 117 public abstract boolean doesAdSelectionIdExist(long adSelectionId); in doesAdSelectionIdExist() argument 155 public abstract boolean doesReportingComputationInfoExist(long adSelectionId); in doesReportingComputationInfoExist() argument 171 long adSelectionId, in doesRegisteredAdInteractionExist() argument 201 public abstract DBAdSelectionEntry getAdSelectionEntityById(long adSelectionId); in getAdSelectionEntityById() argument 232 public abstract DBReportingComputationInfo getReportingComputationInfoById(long adSelectionId); in getReportingComputationInfoById() argument 345 long adSelectionId, in getRegisteredAdInteractionUri() argument 362 long adSelectionId, @NonNull String callerPackageName); in getAdSelectionHistogramInfoInOnDeviceTable() argument 386 long adSelectionId, @NonNull String callerPackageName); in getAdSelectionHistogramInfo() argument 406 long adSelectionId, @NonNull String callerPackageName); in getAdSelectionHistogramInfoFromUnifiedTable() argument 497 long adSelectionId, String callerPackageName); in doesAdSelectionMatchingCallerPackageNameExistInOnDeviceTable() argument [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | AuctionServerAdSelectionDaoTest.java | 74 long adSelectionId = 12345678L; in testInsertAndRead_validInput_success() local 83 adSelectionId, in testInsertAndRead_validInput_success() 94 mServerAdSelectionDao.getAuctionServerAdSelection(adSelectionId)); in testInsertAndRead_validInput_success() 99 long adSelectionId = 12345678L; in testUpdate_validInput_success() local 104 adSelectionId, seller, null, null, null, null, null); in testUpdate_validInput_success() 108 mServerAdSelectionDao.getAuctionServerAdSelection(adSelectionId)); in testUpdate_validInput_success() 117 adSelectionId, in testUpdate_validInput_success() 130 mServerAdSelectionDao.getAuctionServerAdSelection(adSelectionId)); in testUpdate_validInput_success() 135 long adSelectionId = 12345678L; in testInsert_duplicateAdSelectionId_aborts() local 144 adSelectionId, in testInsert_duplicateAdSelectionId_aborts() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | AdSelectionReportingTest.java | 158 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_registerBuyerAndSellerBeacons_happyPath() local 159 doReportImpression(adSelectionId, config); in testReportImpression_registerBuyerAndSellerBeacons_happyPath() 160 doReportEvent(adSelectionId, "click"); in testReportImpression_registerBuyerAndSellerBeacons_happyPath() 180 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_failToRegisterBuyerBeacon_sellerBeaconSucceeds() local 181 doReportImpression(adSelectionId, config); in testReportImpression_failToRegisterBuyerBeacon_sellerBeaconSucceeds() 182 doReportEvent(adSelectionId, "click"); in testReportImpression_failToRegisterBuyerBeacon_sellerBeaconSucceeds() 204 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_failToRegisterSellerBeacon_buyerBeaconSucceeds() local 205 doReportImpression(adSelectionId, config); in testReportImpression_failToRegisterSellerBeacon_buyerBeaconSucceeds() 206 doReportEvent(adSelectionId, "click"); in testReportImpression_failToRegisterSellerBeacon_buyerBeaconSucceeds() 228 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_withMismatchedSellerAdTech_buyerStillCalled() local [all …]
|
D | AdSelectionMediationTest.java | 91 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testSelectAds_withImpressionReporting_eventsAreReceived() local 95 .setAdSelectionIds(List.of(adSelectionId)) in testSelectAds_withImpressionReporting_eventsAreReceived() 98 doReportImpression(adSelectionId, config); in testSelectAds_withImpressionReporting_eventsAreReceived() 135 long adSelectionId = adSelectionOutcome1.getAdSelectionId(); in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate() local 140 .setAdSelectionIds(List.of(adSelectionId)) in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate() 152 .setAdSelectionIds(List.of(adSelectionId)) in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | ReportImpressionRequest.java | 50 long adSelectionId, @NonNull AdSelectionConfig adSelectionConfig) { in ReportImpressionRequest() argument 53 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in ReportImpressionRequest() 55 mAdSelectionId = adSelectionId; in ReportImpressionRequest() 71 public ReportImpressionRequest(long adSelectionId) { in ReportImpressionRequest() argument 73 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in ReportImpressionRequest() 75 mAdSelectionId = adSelectionId; in ReportImpressionRequest()
|
D | UpdateAdCounterHistogramRequest.java | 149 long adSelectionId, int adEventType, @NonNull AdTechIdentifier callerAdTech) { in Builder() argument 151 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in Builder() 160 mAdSelectionId = adSelectionId; in Builder() 171 public Builder setAdSelectionId(long adSelectionId) { in setAdSelectionId() argument 173 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in setAdSelectionId() 174 mAdSelectionId = adSelectionId; in setAdSelectionId()
|
D | ReportEventRequest.java | 172 long adSelectionId, in Builder() argument 180 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in Builder() 192 this.mAdSelectionId = adSelectionId; in Builder() 204 public Builder setAdSelectionId(long adSelectionId) { in setAdSelectionId() argument 206 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in setAdSelectionId() 207 mAdSelectionId = adSelectionId; in setAdSelectionId()
|
D | GetAdSelectionDataOutcome.java | 37 private GetAdSelectionDataOutcome(long adSelectionId, @Nullable byte[] adSelectionData) { in GetAdSelectionDataOutcome() argument 38 this.mAdSelectionId = adSelectionId; in GetAdSelectionDataOutcome() 81 public GetAdSelectionDataOutcome.Builder setAdSelectionId(long adSelectionId) { in setAdSelectionId() argument 82 this.mAdSelectionId = adSelectionId; in setAdSelectionId()
|
D | UpdateAdCounterHistogramInput.java | 196 long adSelectionId, in Builder() argument 201 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in Builder() 211 mAdSelectionId = adSelectionId; in Builder() 223 public Builder setAdSelectionId(long adSelectionId) { in setAdSelectionId() argument 225 adSelectionId != UNSET_AD_SELECTION_ID, UNSET_AD_SELECTION_ID_MESSAGE); in setAdSelectionId() 226 mAdSelectionId = adSelectionId; in setAdSelectionId()
|
D | AdSelectionOutcome.java | 60 private AdSelectionOutcome(long adSelectionId, @NonNull Uri renderUri) { in AdSelectionOutcome() argument 63 mAdSelectionId = adSelectionId; in AdSelectionOutcome() 113 public AdSelectionOutcome.Builder setAdSelectionId(long adSelectionId) { in setAdSelectionId() argument 114 this.mAdSelectionId = adSelectionId; in setAdSelectionId()
|
D | PersistAdSelectionResultRequest.java | 46 long adSelectionId, in PersistAdSelectionResultRequest() argument 49 this.mAdSelectionId = adSelectionId; in PersistAdSelectionResultRequest() 108 public PersistAdSelectionResultRequest.Builder setAdSelectionId(long adSelectionId) { in setAdSelectionId() argument 109 this.mAdSelectionId = adSelectionId; in setAdSelectionId()
|
D | PersistAdSelectionResultResponse.java | 56 private PersistAdSelectionResultResponse(long adSelectionId, @NonNull Uri adRenderUri) { in PersistAdSelectionResultResponse() argument 59 this.mAdSelectionId = adSelectionId; in PersistAdSelectionResultResponse() 122 public PersistAdSelectionResultResponse.Builder setAdSelectionId(long adSelectionId) { in setAdSelectionId() argument 123 this.mAdSelectionId = adSelectionId; in setAdSelectionId()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | ReportingComputationHelperUnifiedTablesEnabled.java | 35 public boolean doesAdSelectionIdExist(long adSelectionId) { in doesAdSelectionIdExist() argument 37 return mAdSelectionEntryDao.doesReportingComputationInfoExist(adSelectionId); in doesAdSelectionIdExist() 42 long adSelectionId, String callerPackageName) { in doesAdSelectionMatchingCallerPackageNameExist() argument 45 adSelectionId, callerPackageName); in doesAdSelectionMatchingCallerPackageNameExist() 49 public ReportingComputationData getReportingComputation(long adSelectionId) { in getReportingComputation() argument 51 mAdSelectionEntryDao.getReportingComputationInfoById(adSelectionId); in getReportingComputation()
|
D | ReportingComputationHelperUnifiedTablesDisabled.java | 34 public boolean doesAdSelectionIdExist(long adSelectionId) { in doesAdSelectionIdExist() argument 36 return mAdSelectionEntryDao.doesAdSelectionIdExist(adSelectionId); in doesAdSelectionIdExist() 41 long adSelectionId, String callerPackageName) { in doesAdSelectionMatchingCallerPackageNameExist() argument 43 adSelectionId, callerPackageName); in doesAdSelectionMatchingCallerPackageNameExist() 47 public ReportingComputationData getReportingComputation(long adSelectionId) { in getReportingComputation() argument 49 mAdSelectionEntryDao.getAdSelectionEntityById(adSelectionId); in getReportingComputation()
|
D | PersistAdSelectionResultRunner.java | 212 long adSelectionId = inputParams.getAdSelectionId(); in run() local 231 validateSellerAndCallerPackageName(inputParams, adSelectionId); in run() 254 notifySuccessToCaller(adRenderUri, adSelectionId, callback); in run() 267 notifyEmptySuccessToCaller(callback, adSelectionId); in run() 285 private void makeKAnonSignJoin(AuctionResult auctionResult, long adSelectionId) { in makeKAnonSignJoin() argument 294 auctionResult.getAdRenderUrl(), adSelectionId); in makeKAnonSignJoin() 314 long adSelectionId = request.getAdSelectionId(); in orchestratePersistAdSelectionResultRunner() local 338 makeKAnonSignJoin(auctionResult, adSelectionId); in orchestratePersistAdSelectionResultRunner() argument 352 auctionResult, winningAd, adSelectionId, seller); in orchestratePersistAdSelectionResultRunner() argument 354 auctionResult, adSelectionId, seller); in orchestratePersistAdSelectionResultRunner() argument [all …]
|
D | EventReporter.java | 178 long adSelectionId = input.getAdSelectionId(); in getReportingUris() local 190 adSelectionId, in getReportingUris() 196 adSelectionId, interactionKey, destination); in getReportingUris() 200 adSelectionId, in getReportingUris() 207 adSelectionId, interactionKey, destination); in getReportingUris() 303 long adSelectionId, String callerPackageName) { 307 adSelectionId, callerPackageName), 314 adSelectionId, callerPackageName),
|
D | AdCounterHistogramUpdaterImpl.java | 157 long adSelectionId, in updateNonWinHistogram() argument 172 adSelectionId, callerPackageName); in updateNonWinHistogram() 177 adSelectionId, callerPackageName); in updateNonWinHistogram() 182 adSelectionId, callerPackageName); in updateNonWinHistogram() 188 adSelectionId, callerPackageName); in updateNonWinHistogram() 197 adSelectionId, callerPackageName); in updateNonWinHistogram()
|
D | ReportingComputationHelper.java | 26 boolean doesAdSelectionIdExist(long adSelectionId); in doesAdSelectionIdExist() argument 29 long adSelectionId, String callerPackageName); in doesAdSelectionMatchingCallerPackageNameExist() argument 31 ReportingComputationData getReportingComputation(long adSelectionId); in getReportingComputation() argument
|
D | GetAdSelectionDataRunner.java | 335 long adSelectionId = mAdSelectionIdGenerator.generateId(); in run() local 371 adSelectionId, in run() 385 result, adSelectionId, callback, apiCalledStatsBuilder); in run() 427 long adSelectionId, in orchestrateGetAdSelectionDataRunner() argument 438 .setAdSelectionDataId(adSelectionId) in orchestrateGetAdSelectionDataRunner() 461 adSelectionId, in orchestrateGetAdSelectionDataRunner() 471 adSelectionId, seller, packageName, encrypted); in orchestrateGetAdSelectionDataRunner() 542 long adSelectionId, in persistAdSelectionIdRequest() argument 556 adSelectionId, adSelectionInitialization); in persistAdSelectionIdRequest() 566 long adSelectionId, [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | GetAdSelectionDataResponseFixture.java | 30 int adSelectionId, byte[] buffer, ExecutorService executorService) throws IOException { in getAdSelectionDataResponseWithAssetFileDescriptor() argument 32 .setAdSelectionId(adSelectionId) in getAdSelectionDataResponseWithAssetFileDescriptor() 44 int adSelectionId, byte[] buffer) throws IOException { in getAdSelectionDataResponseWithByteArray() argument 46 .setAdSelectionId(adSelectionId) in getAdSelectionDataResponseWithByteArray()
|
D | DataHandlersFixture.java | 202 long adSelectionId) { in getDBAdSelectionResultForCaAllFieldsWithId() argument 203 return DB_AD_SELECTION_RESULT_FOR_CA_ALL_FIELDS.setAdSelectionId(adSelectionId).build(); in getDBAdSelectionResultForCaAllFieldsWithId() 207 long adSelectionId) { in getDBAdSelectionResultForCaOnlyNameWithId() argument 208 return DB_AD_SELECTION_RESULT_FOR_CA_ONLY_NAME.setAdSelectionId(adSelectionId).build(); in getDBAdSelectionResultForCaOnlyNameWithId() 219 public static DBReportingData getDBReportingDataWithId(long adSelectionId) { in getDBReportingDataWithId() argument 220 return DB_REPORTING_DATA.setAdSelectionId(adSelectionId).build(); in getDBReportingDataWithId() 229 long adSelectionId, double bid, Uri adRenderUri) { in getAdSelectionResultBidAndUri() argument 231 .setAdSelectionId(adSelectionId) in getAdSelectionResultBidAndUri()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AuctionServerE2ETest.java | 538 long adSelectionId = callback1.mGetAdSelectionDataResponse.getAdSelectionId(); in testAuctionServer_consentDisabled_throwsException() local 548 .setAdSelectionId(adSelectionId) in testAuctionServer_consentDisabled_throwsException() 557 adSelectionId, callback2.mPersistAdSelectionResultResponse.getAdSelectionId()); in testAuctionServer_consentDisabled_throwsException() 677 long adSelectionId = in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled() local 694 .setAdSelectionId(adSelectionId) in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled() 708 adSelectionId, in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled() 806 long adSelectionId = in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled() local 822 .setAdSelectionId(adSelectionId) in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled() 836 adSelectionId, in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled() 956 long adSelectionId = in testAuctionServerFlow_withoutEncrypt_validRequest_FrequencyCapDisabled() local [all …]
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/ |
D | PermissionsAppOptOutTest.java | 277 long adSelectionId = 1; in testNoEnrollment_reportImpression() local 286 new ReportImpressionRequest(adSelectionId, adSelectionConfig); in testNoEnrollment_reportImpression() 303 long adSelectionId = 1; in testWithEnrollment_reportImpression() local 312 new ReportImpressionRequest(adSelectionId, adSelectionConfig); in testWithEnrollment_reportImpression() 325 long adSelectionId = 1; in testNoEnrollment_updateAdCounterHistogram() local 335 adSelectionId, in testNoEnrollment_updateAdCounterHistogram() 350 long adSelectionId = 1; in testWithEnrollment_updateAdCounterHistogram() local 360 adSelectionId, in testWithEnrollment_updateAdCounterHistogram()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/valid/src/com/android/adservices/tests/permissions/ |
D | PermissionsValidTest.java | 163 long adSelectionId = 1; in testValidPermissions_reportImpression() local 172 new ReportImpressionRequest(adSelectionId, adSelectionConfig); in testValidPermissions_reportImpression() 184 long adSelectionId = 1; in testValidPermissions_reportEvent() local 196 adSelectionId, in testValidPermissions_reportEvent() 213 long adSelectionId = 1; in testValidPermissions_updateAdCounterHistogram() local 223 adSelectionId, in testValidPermissions_updateAdCounterHistogram()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/notallowed/src/com/android/adservices/tests/permissions/ |
D | NotInAllowListTest.java | 183 long adSelectionId = 1; in testNotInAllowList_reportImpression() local 190 new ReportImpressionRequest(adSelectionId, adSelectionConfig); in testNotInAllowList_reportImpression() 201 long adSelectionId = 1; in testNotInAllowList_reportEvent() local 211 adSelectionId, in testNotInAllowList_reportEvent() 227 long adSelectionId = 1; in testNotInAllowList_updateAdCounterHistogram() local 235 adSelectionId, in testNotInAllowList_updateAdCounterHistogram()
|