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/ |
D | AppInstallDaoTest.java | 94 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/ |
D | AppInstallAdFiltererImplTest.java | 140 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/ |
D | AppInstallDao.java | 54 public abstract boolean canBuyerFilterPackage( in canBuyerFilterPackage() method in AppInstallDao
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AppInstallAdFiltererImpl.java | 139 if (mAppInstallDao.canBuyerFilterPackage(buyer, packageName)) { in doesAdPassAppInstallFilters()
|