Home
last modified time | relevance | path

Searched refs:mFrequencyCapDao (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DFrequencyCapDaoTest.java69 private FrequencyCapDao mFrequencyCapDao; field in FrequencyCapDaoTest
84 mFrequencyCapDao = in setup()
103 mFrequencyCapDao.insertNewHistogramIdentifier( in testInsertNewHistogramIdentifier()
111 mFrequencyCapDao.getHistogramIdentifierForeignKeyIfExists( in testGetMissingHistogramIdentifierForeignKeyIfExistsReturnsNull()
122 mFrequencyCapDao.insertNewHistogramIdentifier( in testGetHistogramIdentifierForeignKeyIfExists()
126 mFrequencyCapDao.getHistogramIdentifierForeignKeyIfExists( in testGetHistogramIdentifierForeignKeyIfExists()
143 long rowId = mFrequencyCapDao.insertNewHistogramIdentifier(originalIdentifier); in testInsertNewHistogramIdentifierWithSameForeignKeyThrows()
146 mFrequencyCapDao.getHistogramIdentifierForeignKeyIfExists( in testInsertNewHistogramIdentifierWithSameForeignKeyThrows()
161 () -> mFrequencyCapDao.insertNewHistogramIdentifier(conflictingIdentifier)); in testInsertNewHistogramIdentifierWithSameForeignKeyThrows()
165 mFrequencyCapDao.getHistogramIdentifierForeignKeyIfExists( in testInsertNewHistogramIdentifierWithSameForeignKeyThrows()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdFilteringFeatureFactoryTest.java50 FrequencyCapDao mFrequencyCapDao = field in AdFilteringFeatureFactoryTest
70 mFrequencyCapDao, in testGetFrequencyCapAdFiltererFilteringEnabled()
92 mFrequencyCapDao, in testAppInstallAdFiltererFilteringEnabled()
114 mFrequencyCapDao, in testGetAdCounterKeyCopierFilteringEnabled()
136 mFrequencyCapDao, in testGetFrequencyCapAdDataValidatorFilteringEnabled()
156 mFrequencyCapDao, in testGetAdCounterHistogramUpdaterFilteringEnabled()
DAdSelectionServiceImplTest.java308 private FrequencyCapDao mFrequencyCapDao; field in AdSelectionServiceImplTest
374 mFrequencyCapDao = sharedDb.frequencyCapDao(); in setUp()
378 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
519 mFrequencyCapDao, in testReportImpressionSuccessWithRegisterAdBeaconDisabled()
647 mFrequencyCapDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerEnabled()
775 mFrequencyCapDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerEnabled()
896 mFrequencyCapDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerDisabled()
1024 mFrequencyCapDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerDisabled()
1144 mFrequencyCapDao, in testReportImpressionSuccessfullyReportsAdCost()
1280 mFrequencyCapDao, in testReportImpressionSuccessfullyReportsDataVersionHeader()
[all …]
DAdSelectionFailureE2ETest.java233 private FrequencyCapDao mFrequencyCapDao; field in AdSelectionFailureE2ETest
265 mFrequencyCapDao = in setUp()
292 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
427 mFrequencyCapDao, in testRunAdSelection_webViewNotInstalled_failsGracefully()
518 mFrequencyCapDao, in testReportImpression_webViewNotInstalled_failsGracefully()
DAdSelectionE2ETest.java643 private FrequencyCapDao mFrequencyCapDao; field in AdSelectionE2ETest
680 mFrequencyCapDao = in setUp()
687 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
742 mFrequencyCapDao, in setUp()
998 mFrequencyCapDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled()
1130 mFrequencyCapDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled()
1281 mFrequencyCapDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled()
1428 mFrequencyCapDao, in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader()
1556 mFrequencyCapDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingDisabled()
1780 mFrequencyCapDao, in testRunAdSelectionSuccess_prebuiltFeatureDisabled_failure()
[all …]
DAdSelectionFromOutcomesE2ETest.java232 private FrequencyCapDao mFrequencyCapDao; field in AdSelectionFromOutcomesE2ETest
285 mFrequencyCapDao = sharedDb.frequencyCapDao(); in setUp()
293 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
324 mFrequencyCapDao, in setUp()
489 mFrequencyCapDao, in testSelectAdsFromOutcomesPickHighestSuccessDifferentTables()
572 mFrequencyCapDao, in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables()
DReportAndRegisterEventE2ETest.java171 private FrequencyCapDao mFrequencyCapDao; field in ReportAndRegisterEventE2ETest
315 mFrequencyCapDao = sharedDb.frequencyCapDao(); in setup()
319 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setup()
1038 mFrequencyCapDao, in getAdSelectionServiceImpl()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeMaintenanceTasksWorker.java52 @NonNull private final FrequencyCapDao mFrequencyCapDao; field in FledgeMaintenanceTasksWorker
84 mFrequencyCapDao = frequencyCapDao; in FledgeMaintenanceTasksWorker()
97 mFrequencyCapDao = SharedStorageDatabase.getInstance(context).frequencyCapDao(); in FledgeMaintenanceTasksWorker()
201 int numExpiredEvents = mFrequencyCapDao.deleteAllExpiredHistogramData(expirationInstant); in clearInvalidFrequencyCapHistogramData()
213 mFrequencyCapDao.deleteAllDisallowedBuyerHistogramData(mEnrollmentDao); in clearInvalidFrequencyCapHistogramData()
223 mFrequencyCapDao.deleteAllDisallowedSourceAppHistogramData(packageManager, mFlags); in clearInvalidFrequencyCapHistogramData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdFilteringFeatureFactory.java45 private final FrequencyCapDao mFrequencyCapDao; field in AdFilteringFeatureFactory
70 mFrequencyCapDao = frequencyCapDao; in AdFilteringFeatureFactory()
87 return new FrequencyCapAdFiltererImpl(mFrequencyCapDao, Clock.systemUTC()); in getFrequencyCapAdFilterer()
153 mFrequencyCapDao, in getAdCounterHistogramUpdater()
DAdCounterHistogramUpdaterImpl.java44 private final FrequencyCapDao mFrequencyCapDao; field in AdCounterHistogramUpdaterImpl
73 mFrequencyCapDao = frequencyCapDao; in AdCounterHistogramUpdaterImpl()
110 mFrequencyCapDao.insertHistogramEvent( in updateWinHistogram()
146 mFrequencyCapDao.insertHistogramEvent( in updateWinHistogram()
212 mFrequencyCapDao.insertHistogramEvent( in updateNonWinHistogram()
DFrequencyCapAdFiltererImpl.java43 @NonNull private final FrequencyCapDao mFrequencyCapDao; field in FrequencyCapAdFiltererImpl
49 mFrequencyCapDao = frequencyCapDao; in FrequencyCapAdFiltererImpl()
217 mFrequencyCapDao.getNumEventsForCustomAudienceAfterTime( in doesAdPassFrequencyCapFiltersForWinType()
252 mFrequencyCapDao.getNumEventsForBuyerAfterTime( in doesAdPassFrequencyCapFiltersForNonWinType()
DAdSelectionServiceImpl.java159 @NonNull private final FrequencyCapDao mFrequencyCapDao; field in AdSelectionServiceImpl
255 mFrequencyCapDao = frequencyCapDao; in AdSelectionServiceImpl()
1101 mFrequencyCapDao, in updateAdCounterHistogram()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManagerV2.java127 private final FrequencyCapDao mFrequencyCapDao; field in ConsentManagerV2
190 mFrequencyCapDao = frequencyCapDao; in ConsentManagerV2()
614 () -> mFrequencyCapDao.deleteHistogramDataBySourceApp(app.getPackageName())); in revokeConsentForApp()
646 asyncExecute(mFrequencyCapDao::deleteAllHistogramData); in resetAppsAndBlockedApps()
670 asyncExecute(mFrequencyCapDao::deleteAllHistogramData); in resetApps()
DConsentManager.java139 private final FrequencyCapDao mFrequencyCapDao; field in ConsentManager
201 mFrequencyCapDao = frequencyCapDao; in ConsentManager()
751 () -> mFrequencyCapDao.deleteHistogramDataBySourceApp(app.getPackageName()));
823 asyncExecute(mFrequencyCapDao::deleteAllHistogramData);
862 asyncExecute(mFrequencyCapDao::deleteAllHistogramData);
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java224 private FrequencyCapDao mFrequencyCapDao; field in CustomAudienceServiceEndToEndTest
276 mFrequencyCapDao = sharedDb.frequencyCapDao(); in setup()
331 mFrequencyCapDao, in setup()
407 mFrequencyCapDao, in testJoinCustomAudience_notInBinderThread_fail()
1133 mFrequencyCapDao, in testLeaveCustomAudience_notInBinderThread_fail()
2977 mFrequencyCapDao, in testCustomAudience_throttledSubsequentCallFails()
3197 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, flags)); in reInitServiceWithFlags()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java332 private FrequencyCapDao mFrequencyCapDao; field in FledgeE2ETest
389 mFrequencyCapDao = sharedDb.frequencyCapDao(); in setUp()
395 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, DEFAULT_FLAGS); in setUp()
1209 mFrequencyCapDao, in testFledgeFlowFailsWithMismatchedPackageNamesReportImpression()
1372 mFrequencyCapDao, in testFledgeFlowFailsWithWrongPackageNameReportInteraction()
3490 mFrequencyCapDao, in testFledgeFlowSuccessWithMockServer_ContextualAdsFlow()
4910 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, flags)); in initClients()
4915 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, flags); in initClients()
4929 mFrequencyCapDao, in initClients()