Home
last modified time | relevance | path

Searched refs:mAppInstallDao (Results 1 – 19 of 19) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DAppInstallDaoTest.java60 private AppInstallDao mAppInstallDao; field in AppInstallDaoTest
74 mAppInstallDao = in setup()
85 mAppInstallDao.deleteByPackageName(PACKAGE_1); in cleanup()
86 mAppInstallDao.deleteByPackageName(PACKAGE_2); in cleanup()
91 mAppInstallDao.setAdTechsForPackage( in testSetThenRead()
94 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenRead()
99 mAppInstallDao.setAdTechsForPackage( in testSetThenDelete()
101 assertEquals(1, mAppInstallDao.deleteByPackageName(PACKAGE_1)); in testSetThenDelete()
106 mAppInstallDao.setAdTechsForPackage( in testSetThenDeleteThenRead()
108 mAppInstallDao.deleteByPackageName(PACKAGE_1); in testSetThenDeleteThenRead()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdFilteringFeatureFactoryTest.java46 AppInstallDao mAppInstallDao = field in AdFilteringFeatureFactoryTest
69 mAppInstallDao, in testGetFrequencyCapAdFiltererFilteringEnabled()
91 mAppInstallDao, in testAppInstallAdFiltererFilteringEnabled()
113 mAppInstallDao, in testGetAdCounterKeyCopierFilteringEnabled()
135 mAppInstallDao, in testGetFrequencyCapAdDataValidatorFilteringEnabled()
155 mAppInstallDao, in testGetAdCounterHistogramUpdaterFilteringEnabled()
DAdSelectionServiceImplTest.java307 private AppInstallDao mAppInstallDao; field in AdSelectionServiceImplTest
373 mAppInstallDao = sharedDb.appInstallDao(); in setUp()
378 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
516 mAppInstallDao, in testReportImpressionSuccessWithRegisterAdBeaconDisabled()
644 mAppInstallDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerEnabled()
772 mAppInstallDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerEnabled()
893 mAppInstallDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerDisabled()
1021 mAppInstallDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerDisabled()
1141 mAppInstallDao, in testReportImpressionSuccessfullyReportsAdCost()
1277 mAppInstallDao, in testReportImpressionSuccessfullyReportsDataVersionHeader()
[all …]
DFrequencyCapFilteringE2ETest.java201 private AppInstallDao mAppInstallDao; field in FrequencyCapFilteringE2ETest
240 mAppInstallDao = in setup()
271 mAppInstallDao, mFrequencyCapDaoSpy, flagsEnablingAdFiltering); in setup()
291 mAppInstallDao, in setup()
454 mAppInstallDao, mFrequencyCapDaoSpy, flagsWithDisabledAdFiltering); in testUpdateHistogramDisabledFeatureFlagNotifiesError()
459 mAppInstallDao, in testUpdateHistogramDisabledFeatureFlagNotifiesError()
522 mAppInstallDao, mFrequencyCapDaoSpy, flagsWithLowRateLimit); in testUpdateHistogramExceedingRateLimitNotifiesError()
527 mAppInstallDao, in testUpdateHistogramExceedingRateLimitNotifiesError()
792 mAppInstallDao, in testUpdateHistogramBeyondMaxTotalEventCountDoesNotFilterAds()
913 mAppInstallDao, in testUpdateHistogramBeyondMaxPerBuyerEventCountDoesNotFilterAds()
DAdSelectionFailureE2ETest.java232 private AppInstallDao mAppInstallDao; field in AdSelectionFailureE2ETest
261 mAppInstallDao = in setUp()
292 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
424 mAppInstallDao, in testRunAdSelection_webViewNotInstalled_failsGracefully()
515 mAppInstallDao, in testReportImpression_webViewNotInstalled_failsGracefully()
DAdSelectionE2ETest.java642 private AppInstallDao mAppInstallDao; field in AdSelectionE2ETest
676 mAppInstallDao = in setUp()
687 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
739 mAppInstallDao, in setUp()
995 mAppInstallDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled()
1127 mAppInstallDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled()
1278 mAppInstallDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled()
1425 mAppInstallDao, in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader()
1553 mAppInstallDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingDisabled()
1777 mAppInstallDao, in testRunAdSelectionSuccess_prebuiltFeatureDisabled_failure()
[all …]
DAuctionServerE2ETest.java322 private AppInstallDao mAppInstallDao; field in AuctionServerE2ETest
383 mAppInstallDao = sharedDb.appInstallDao(); in setUp()
394 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDaoSpy, mFlags); in setUp()
629 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDaoSpy, flags); in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled()
763 mAppInstallDao, mFrequencyCapDaoSpy, flagsWithBothFiltersEnabled); in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled()
862 mAppInstallDao, mFrequencyCapDaoSpy, flagsWithAppInstallDisabled); in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled()
913 mAppInstallDao, mFrequencyCapDaoSpy, flagsWithBothFiltersEnabled); in testAuctionServerFlow_withoutEncrypt_validRequest_FrequencyCapDisabled()
1012 mAppInstallDao, mFrequencyCapDaoSpy, flagsWithFCapDisabled); in testAuctionServerFlow_withoutEncrypt_validRequest_FrequencyCapDisabled()
1618 mAppInstallDao, in testPersistAdSelectionResult_withoutDecrypt_validRequest_successOmitAdsEnabled()
1842 mAppInstallDao, in testPersistAdSelectionResult_withDecrypt_validRequest_successEmptyUri()
[all …]
DAdSelectionFromOutcomesE2ETest.java231 private AppInstallDao mAppInstallDao; field in AdSelectionFromOutcomesE2ETest
284 mAppInstallDao = sharedDb.appInstallDao(); in setUp()
293 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setUp()
321 mAppInstallDao, in setUp()
486 mAppInstallDao, in testSelectAdsFromOutcomesPickHighestSuccessDifferentTables()
569 mAppInstallDao, in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables()
DReportAndRegisterEventE2ETest.java170 private AppInstallDao mAppInstallDao; field in ReportAndRegisterEventE2ETest
314 mAppInstallDao = sharedDb.appInstallDao(); in setup()
319 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, mFlags); in setup()
1035 mAppInstallDao, in getAdSelectionServiceImpl()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdFilteringFeatureFactory.java44 private final AppInstallDao mAppInstallDao; field in AdFilteringFeatureFactory
69 mAppInstallDao = appInstallDao; in AdFilteringFeatureFactory()
102 return new AppInstallAdFiltererImpl(mAppInstallDao, Clock.systemUTC()); in getAppInstallAdFilterer()
DAppInstallAdFiltererImpl.java41 @NonNull private final AppInstallDao mAppInstallDao; field in AppInstallAdFiltererImpl
46 mAppInstallDao = appInstallDao; in AppInstallAdFiltererImpl()
139 if (mAppInstallDao.canBuyerFilterPackage(buyer, packageName)) { in doesAdPassAppInstallFilters()
DAppInstallAdvertisersSetter.java69 @NonNull private final AppInstallDao mAppInstallDao; field in AppInstallAdvertisersSetter
95 mAppInstallDao = appInstallDao; in AppInstallAdvertisersSetter()
252 mAppInstallDao.setAdTechsForPackage(callerPackageName, permissions); in doSetAppInstallAdvertisers()
DAdSelectionServiceImpl.java156 @NonNull private final AppInstallDao mAppInstallDao; field in AdSelectionServiceImpl
252 mAppInstallDao = appInstallDao; in AdSelectionServiceImpl()
1050 mAppInstallDao, in setAppInstallAdvertisers()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DBackgroundFetchRunner.java55 private final AppInstallDao mAppInstallDao; field in BackgroundFetchRunner
76 mAppInstallDao = appInstallDao; in BackgroundFetchRunner()
124 int numDeleted = mAppInstallDao.deleteAllDisallowedPackageEntries(mPackageManager, mFlags); in deleteDisallowedPackageAppInstallEntries()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManagerV2.java125 private final AppInstallDao mAppInstallDao; field in ConsentManagerV2
188 mAppInstallDao = appInstallDao; in ConsentManagerV2()
617 asyncExecute(() -> mAppInstallDao.deleteByPackageName(app.getPackageName())); in revokeConsentForApp()
649 asyncExecute(mAppInstallDao::deleteAllAppInstallData); in resetAppsAndBlockedApps()
673 asyncExecute(mAppInstallDao::deleteAllAppInstallData); in resetApps()
DConsentManager.java137 private final AppInstallDao mAppInstallDao; field in ConsentManager
199 mAppInstallDao = appInstallDao; in ConsentManager()
754 asyncExecute(() -> mAppInstallDao.deleteByPackageName(app.getPackageName()));
826 asyncExecute(mAppInstallDao::deleteAllAppInstallData);
865 asyncExecute(mAppInstallDao::deleteAllAppInstallData);
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java223 private AppInstallDao mAppInstallDao; field in CustomAudienceServiceEndToEndTest
275 mAppInstallDao = sharedDb.appInstallDao(); in setup()
330 mAppInstallDao, in setup()
406 mAppInstallDao, in testJoinCustomAudience_notInBinderThread_fail()
1132 mAppInstallDao, in testLeaveCustomAudience_notInBinderThread_fail()
2976 mAppInstallDao, 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.java331 private AppInstallDao mAppInstallDao; field in FledgeE2ETest
388 mAppInstallDao = sharedDb.appInstallDao(); in setUp()
395 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, DEFAULT_FLAGS); in setUp()
1206 mAppInstallDao, in testFledgeFlowFailsWithMismatchedPackageNamesReportImpression()
1369 mAppInstallDao, in testFledgeFlowFailsWithWrongPackageNameReportInteraction()
3487 mAppInstallDao, in testFledgeFlowSuccessWithMockServer_ContextualAdsFlow()
4910 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, flags)); in initClients()
4915 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDao, flags); in initClients()
4926 mAppInstallDao, in initClients()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java302 private AppInstallDao mAppInstallDao; field in KAnonE2ETest
391 mAppInstallDao = sharedDb.appInstallDao(); in setUp()
399 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDaoSpy, mFlags); in setUp()
2074 mAppInstallDao,