Home
last modified time | relevance | path

Searched refs:canBuyerFilterPackage (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DAppInstallDaoTest.java94 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenRead()
110 assertFalse(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenDeleteThenRead()
121 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenReadMultiple()
122 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_2, PACKAGE_2)); in testSetThenReadMultiple()
132 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenReadMultipleSeparateCalls()
133 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_2, PACKAGE_2)); in testSetThenReadMultipleSeparateCalls()
143 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenReadMultipleBuyers()
144 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_2, PACKAGE_1)); in testSetThenReadMultipleBuyers()
165 assertFalse(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenDeleteThenReadMultipleBuyers()
166 assertFalse(mAppInstallDao.canBuyerFilterPackage(BUYER_2, PACKAGE_1)); in testSetThenDeleteThenReadMultipleBuyers()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAppInstallAdFiltererImplTest.java140 when(mAppInstallDaoMock.canBuyerFilterPackage(any(), any())).thenReturn(false); in testFilterContextualAdsDoesNotFilterForAppNotInstalled()
158 .canBuyerFilterPackage( in testFilterContextualAdsDoesNotFilterForAppNotInstalled()
164 when(mAppInstallDaoMock.canBuyerFilterPackage(any(), any())).thenReturn(true); in testFilterContextualAdsFiltersForAppInstalled()
183 .canBuyerFilterPackage( in testFilterContextualAdsFiltersForAppInstalled()
189 when(mAppInstallDaoMock.canBuyerFilterPackage(any(), eq(CommonFixture.TEST_PACKAGE_NAME_1))) in testFilterContextualAdsFiltersForMixedApps()
191 when(mAppInstallDaoMock.canBuyerFilterPackage(any(), eq(CommonFixture.TEST_PACKAGE_NAME_2))) in testFilterContextualAdsFiltersForMixedApps()
215 .canBuyerFilterPackage( in testFilterContextualAdsFiltersForMixedApps()
221 when(mAppInstallDaoMock.canBuyerFilterPackage(any(), eq(CommonFixture.TEST_PACKAGE_NAME_1))) in testFilterContextualAdsFiltersForMixedAds()
223 when(mAppInstallDaoMock.canBuyerFilterPackage(any(), eq(CommonFixture.TEST_PACKAGE_NAME_2))) in testFilterContextualAdsFiltersForMixedAds()
256 .canBuyerFilterPackage( in testFilterContextualAdsFiltersForMixedAds()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DAppInstallDao.java54 public abstract boolean canBuyerFilterPackage( in canBuyerFilterPackage() method in AppInstallDao
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAppInstallAdFiltererImpl.java139 if (mAppInstallDao.canBuyerFilterPackage(buyer, packageName)) { in doesAdPassAppInstallFilters()