/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | AppInstallDaoTest.java | 60 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/ |
D | AdFilteringFeatureFactoryTest.java | 46 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()
|
D | AdSelectionServiceImplTest.java | 307 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 …]
|
D | FrequencyCapFilteringE2ETest.java | 201 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()
|
D | AdSelectionFailureE2ETest.java | 232 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()
|
D | AdSelectionE2ETest.java | 642 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 …]
|
D | AuctionServerE2ETest.java | 322 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 …]
|
D | AdSelectionFromOutcomesE2ETest.java | 231 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()
|
D | ReportAndRegisterEventE2ETest.java | 170 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/ |
D | AdFilteringFeatureFactory.java | 44 private final AppInstallDao mAppInstallDao; field in AdFilteringFeatureFactory 69 mAppInstallDao = appInstallDao; in AdFilteringFeatureFactory() 102 return new AppInstallAdFiltererImpl(mAppInstallDao, Clock.systemUTC()); in getAppInstallAdFilterer()
|
D | AppInstallAdFiltererImpl.java | 41 @NonNull private final AppInstallDao mAppInstallDao; field in AppInstallAdFiltererImpl 46 mAppInstallDao = appInstallDao; in AppInstallAdFiltererImpl() 139 if (mAppInstallDao.canBuyerFilterPackage(buyer, packageName)) { in doesAdPassAppInstallFilters()
|
D | AppInstallAdvertisersSetter.java | 69 @NonNull private final AppInstallDao mAppInstallDao; field in AppInstallAdvertisersSetter 95 mAppInstallDao = appInstallDao; in AppInstallAdvertisersSetter() 252 mAppInstallDao.setAdTechsForPackage(callerPackageName, permissions); in doSetAppInstallAdvertisers()
|
D | AdSelectionServiceImpl.java | 156 @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/ |
D | BackgroundFetchRunner.java | 55 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/ |
D | ConsentManagerV2.java | 125 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()
|
D | ConsentManager.java | 137 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/ |
D | CustomAudienceServiceEndToEndTest.java | 223 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/ |
D | FledgeE2ETest.java | 331 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/ |
D | KAnonE2ETest.java | 302 private AppInstallDao mAppInstallDao; field in KAnonE2ETest 391 mAppInstallDao = sharedDb.appInstallDao(); in setUp() 399 new AdFilteringFeatureFactory(mAppInstallDao, mFrequencyCapDaoSpy, mFlags); in setUp() 2074 mAppInstallDao,
|