Home
last modified time | relevance | path

Searched refs:isConsentRevokedForApp (Results 1 – 23 of 23) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DAdServicesStorageManagerTest.java216 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled()
220 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled()
224 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled()
228 mAdServicesStorageManager.isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled()
232 mAdServicesStorageManager.isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled()
236 mAdServicesStorageManager.isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled()
256 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled()
260 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled()
264 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled()
268 mAdServicesStorageManager.isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled()
[all …]
DAppConsentStorageManagerTest.java111 mAppConsentStorageManager.isConsentRevokedForApp( in testAppNotFoundException()
298 mAppConsentStorageManager.isConsentRevokedForApp( in testIsConsentRevokedForApp()
302 mAppConsentStorageManager.isConsentRevokedForApp( in testIsConsentRevokedForApp()
306 mAppConsentStorageManager.isConsentRevokedForApp( in testIsConsentRevokedForApp()
377 mAppConsentStorageManager.isConsentRevokedForApp( in testSetConsentForApp()
383 mAppConsentStorageManager.isConsentRevokedForApp( in testSetConsentForApp()
DConsentCompositeStorageTest.java86 consentCompositeStorage.isConsentRevokedForApp(MOCK_PACKAGE_NAME); in testAllReadMethods()
127 Mockito.verify(consentStorage).isConsentRevokedForApp(eq(MOCK_PACKAGE_NAME)); in verifyReadMethods()
DAppConsentForRStorageManagerTest.java128 () -> mAppConsentForRStorageManager.isConsentRevokedForApp("")); in testNotSupportMethodException()
DConsentManagerV2Test.java933 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()
937 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()
941 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()
985 when(mAppSearchConsentManagerMock.isConsentRevokedForApp(app1)).thenReturn(false); in runTestIsFledgeConsentRevokedForAppWithFullApiConsentAppSearchOnly()
986 when(mAppSearchConsentManagerMock.isConsentRevokedForApp(app2)).thenReturn(true); in runTestIsFledgeConsentRevokedForAppWithFullApiConsentAppSearchOnly()
987 when(mAppSearchConsentManagerMock.isConsentRevokedForApp(app3)).thenReturn(false); in runTestIsFledgeConsentRevokedForAppWithFullApiConsentAppSearchOnly()
1011 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()
1015 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()
1019 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()
DConsentManagerTest.java986 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()
990 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()
994 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()
1064 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()
1068 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()
1072 .isConsentRevokedForApp( in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DAppConsentManagerTest.java258 mAppConsentManager.isConsentRevokedForApp( in testIsConsentRevokedForAppSuccess()
263 mAppConsentManager.isConsentRevokedForApp( in testIsConsentRevokedForAppSuccess()
271 mAppConsentManager.isConsentRevokedForApp( in testIsConsentRevokedForAppSuccess()
276 mAppConsentManager.isConsentRevokedForApp( in testIsConsentRevokedForAppSuccess()
284 mAppConsentManager.isConsentRevokedForApp( in testIsConsentRevokedForAppSuccess()
289 mAppConsentManager.isConsentRevokedForApp( in testIsConsentRevokedForAppSuccess()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/consent/
DAppConsentDaoTest.java300 assertFalse(mAppConsentDao.isConsentRevokedForApp(AppConsentDaoFixture.APP10_PACKAGE_NAME)); in testIsConsentRevokedForAppSuccess()
302 assertFalse(mAppConsentDao.isConsentRevokedForApp(AppConsentDaoFixture.APP20_PACKAGE_NAME)); in testIsConsentRevokedForAppSuccess()
307 assertTrue(mAppConsentDao.isConsentRevokedForApp(AppConsentDaoFixture.APP10_PACKAGE_NAME)); in testIsConsentRevokedForAppSuccess()
309 assertFalse(mAppConsentDao.isConsentRevokedForApp(AppConsentDaoFixture.APP20_PACKAGE_NAME)); in testIsConsentRevokedForAppSuccess()
314 assertTrue(mAppConsentDao.isConsentRevokedForApp(AppConsentDaoFixture.APP10_PACKAGE_NAME)); in testIsConsentRevokedForAppSuccess()
316 assertFalse(mAppConsentDao.isConsentRevokedForApp(AppConsentDaoFixture.APP20_PACKAGE_NAME)); in testIsConsentRevokedForAppSuccess()
327 mAppConsentDao.isConsentRevokedForApp( in testIsConsentRevokedForNotFoundAppThrows()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentStorageManager.java251 public boolean isConsentRevokedForApp(String packageName) throws IllegalArgumentException { in isConsentRevokedForApp() method in AppConsentStorageManager
254 mAppConsentDao.isConsentRevokedForApp(packageName), false); in isConsentRevokedForApp()
DAdServicesStorageManager.java224 public boolean isConsentRevokedForApp(String packageName) { in isConsentRevokedForApp() method in AdServicesStorageManager
226 return mAdServicesManager.isConsentRevokedForApp(packageName, packageUid); in isConsentRevokedForApp()
DAppConsentForRStorageManager.java133 public boolean isConsentRevokedForApp(String packageName) { in isConsentRevokedForApp() method in AppConsentForRStorageManager
DIConsentStorage.java155 boolean isConsentRevokedForApp(@NonNull String packageName) in isConsentRevokedForApp() method
DConsentCompositeStorage.java457 public boolean isConsentRevokedForApp(String packageName) throws IllegalArgumentException { in isConsentRevokedForApp() method in ConsentCompositeStorage
460 return storage.isConsentRevokedForApp(packageName); in isConsentRevokedForApp()
DConsentManager.java901 return mAppConsentDao.isConsentRevokedForApp(packageName);
909 return mAdServicesManager.isConsentRevokedForApp(
DConsentManagerV2.java699 return mConsentCompositeStorage.isConsentRevokedForApp(packageName); in isFledgeConsentRevokedForApp()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl217 boolean isConsentRevokedForApp(in String packageName,in int packageUid); in isConsentRevokedForApp() method
DAdServicesManager.java354 public boolean isConsentRevokedForApp(String packageName, int packageUid) { in isConsentRevokedForApp() method in AdServicesManager
356 return mService.isConsentRevokedForApp(packageName, packageUid); in isConsentRevokedForApp()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DAppConsentManager.java166 public boolean isConsentRevokedForApp(@NonNull String packageName, int packageUid) in isConsentRevokedForApp() method in AppConsentManager
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/consent/
DAppConsentDao.java197 public boolean isConsentRevokedForApp(@NonNull String packageName) in isConsentRevokedForApp() method in AppConsentDao
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java657 mService.isConsentRevokedForApp( in testSetAppConsent()
666 mService.isConsentRevokedForApp( in testSetAppConsent()
675 mService.isConsentRevokedForApp( in testSetAppConsent()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManagerTest.java191 expect.that(mAppSearchConsentStorageManager.isConsentRevokedForApp(PACKAGE_NAME1)) in testIsFledgeConsentRevokedForApp_consented()
202 expect.that(mAppSearchConsentStorageManager.isConsentRevokedForApp(PACKAGE_NAME1)).isTrue(); in testIsFledgeConsentRevokedForApp_revoked()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java706 public boolean isConsentRevokedForApp(@NonNull String packageName, int packageUid) in isConsentRevokedForApp() method in AdServicesManagerService
718 .isConsentRevokedForApp(packageName, packageUid); in isConsentRevokedForApp()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManager.java261 public boolean isConsentRevokedForApp(@NonNull String packageName) { in isConsentRevokedForApp() method in AppSearchConsentStorageManager