Home
last modified time | relevance | path

Searched refs:doesAdSelectionIdExist (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DAdSelectionEntryDaoTest.java629 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_1)); in testReturnsTrueIfAdSelectionIdExists()
633 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_1)); in testReturnsTrueIfAdSelectionIdExists()
634 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_2)); in testReturnsTrueIfAdSelectionIdExists()
695 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_1)); in testDeletesByAdSelectionId()
696 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_2)); in testDeletesByAdSelectionId()
700 assertFalse(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_1)); in testDeletesByAdSelectionId()
701 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_2)); in testDeletesByAdSelectionId()
708 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_1)); in testDeletesByAdSelectionIdNotExist()
709 assertFalse(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_2)); in testDeletesByAdSelectionIdNotExist()
713 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(AD_SELECTION_ID_1)); in testDeletesByAdSelectionIdNotExist()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DReportingComputationHelperUnifiedTablesDisabled.java34 public boolean doesAdSelectionIdExist(long adSelectionId) { in doesAdSelectionIdExist() method in ReportingComputationHelperUnifiedTablesDisabled
36 return mAdSelectionEntryDao.doesAdSelectionIdExist(adSelectionId); in doesAdSelectionIdExist()
DReportingComputationHelper.java26 boolean doesAdSelectionIdExist(long adSelectionId); in doesAdSelectionIdExist() method
DReportingComputationHelperUnifiedTablesEnabled.java35 public boolean doesAdSelectionIdExist(long adSelectionId) { in doesAdSelectionIdExist() method in ReportingComputationHelperUnifiedTablesEnabled
DImpressionReporterLegacy.java561 mReportingComputationHelper.doesAdSelectionIdExist( in fetchReportingComputationInfo()
DAdSelectionRunner.java748 while (mAdSelectionEntryDao.doesAdSelectionIdExist(adSelectionId)) {
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportingComputationHelperUnifiedTablesEnabledTest.java57 mReportingComputationHelperUnifiedTablesEnabled.doesAdSelectionIdExist(AD_SELECTION_ID); in testDoesAdSelectionIdExist()
59 verify(mAdSelectionEntryDaoMock, never()).doesAdSelectionIdExist(anyLong()); in testDoesAdSelectionIdExist()
DReportingComputationHelperUnifiedTablesDisabledTest.java57 mReportingComputationHelperUnifiedTablesDisabled.doesAdSelectionIdExist(AD_SELECTION_ID); in testDoesAdSelectionIdExist()
58 verify(mAdSelectionEntryDaoMock).doesAdSelectionIdExist(AD_SELECTION_ID); in testDoesAdSelectionIdExist()
DOnDeviceAdSelectionRunnerTest.java535 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionSuccess()
677 assertFalse(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag()
820 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionSuccessWithBuyerContextualSignals()
949 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionSuccessWithSellerDataVersionHeader()
1007 assertFalse(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionSuccessFilteringDisabled()
1095 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionSuccessFilteringDisabled()
1240 assertFalse(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision()
1241 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(existingAdSelectionId)); in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision()
1268 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision()
1269 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(existingAdSelectionId)); in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision()
[all …]
DAdSelectionE2ETest.java960 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogic()
1082 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled()
1224 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled()
1375 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled()
1509 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader()
1640 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingDisabled()
1745 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_prebuiltScoringLogic()
1965 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_flagToPreV3_preV3BiddingLogic()
2041 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_v3BiddingLogic()
2161 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_v3BiddingLogicWithAdCostCpcBillingEnabled()
[all …]
DAdSelectionServiceImplTest.java10764 verify(adSelectionEntryDaoSpy, times(1)).doesAdSelectionIdExist(AD_SELECTION_ID); in testReportImpressionSuccess_callsServerAuctionForImpressionReporterIsOff()
10834 verify(adSelectionEntryDaoSpy, times(0)).doesAdSelectionIdExist(AD_SELECTION_ID); in testReportImpressionSuccess_callsServerAuctionForImpressionReporterIsOn()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DAdSelectionEntryDao.java117 public abstract boolean doesAdSelectionIdExist(long adSelectionId); in doesAdSelectionIdExist() method in AdSelectionEntryDao
715 return doesAdSelectionIdExist(adSelectionId); in doesAdSelectionIdExistUponFlag()
775 || doesAdSelectionIdExist(adSelectionId)) { in persistAdSelectionInitialization()
865 } else if (!shouldUseUnifiedTables && doesAdSelectionIdExist(adSelectionId)) { in getReportingDataForId()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java504 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconDisabled()
569 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingEnabled()
634 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingDisabled()
754 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderEnabled()
839 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderDisabled()
971 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconEnabled()
1038 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithDevOverridesGaUxEnabled()
1105 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithDevOverridesWithRevokedUserConsentForApp()
1172 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowSuccessWithDevOverridesWithRevokedUserConsentForAppGaUxEnabled()
1322 assertTrue(mAdSelectionEntryDao.doesAdSelectionIdExist(resultSelectionId)); in testFledgeFlowFailsWithMismatchedPackageNamesReportImpression()
[all …]