Home
last modified time | relevance | path

Searched refs:setConsentForAppIfNew (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DAdServicesStorageManagerTest.java170 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent()
176 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent()
182 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent()
188 mAdServicesStorageManager.setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent()
192 mAdServicesStorageManager.setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent()
196 mAdServicesStorageManager.setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent()
DConsentCompositeStorageTest.java107 consentCompositeStorage.setConsentForAppIfNew(MOCK_PACKAGE_NAME, true); in testAllWriteMethods()
147 Mockito.verify(consentStorage).setConsentForAppIfNew(eq(MOCK_PACKAGE_NAME), eq(true)); in verifySetMethodCalled()
DAppConsentForRStorageManagerTest.java132 () -> mAppConsentForRStorageManager.setConsentForAppIfNew("", true)); in testNotSupportMethodException()
DConsentManagerV2Test.java1165 when(mAppSearchConsentManagerMock.setConsentForAppIfNew(app1, false)).thenReturn(false); in runTestIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentAppSearch()
1166 when(mAppSearchConsentManagerMock.setConsentForAppIfNew(app2, false)).thenReturn(true); in runTestIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentAppSearch()
1167 when(mAppSearchConsentManagerMock.setConsentForAppIfNew(app3, false)).thenReturn(false); in runTestIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentAppSearch()
1219 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()
1225 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()
1231 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()
1264 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()
1270 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()
1276 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()
DConsentManagerTest.java1276 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()
1282 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()
1288 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()
1321 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()
1327 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()
1333 .setConsentForAppIfNew( in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DAppConsentManagerTest.java206 mAppConsentManager.setConsentForAppIfNew( in testSetConsentForAppIfNewWithNewKeysSuccess()
215 mAppConsentManager.setConsentForAppIfNew( in testSetConsentForAppIfNewWithNewKeysSuccess()
237 mAppConsentManager.setConsentForAppIfNew( in testSetConsentForAppIfNewWithExistingKeysUsesOldValues()
242 mAppConsentManager.setConsentForAppIfNew( in testSetConsentForAppIfNewWithExistingKeysUsesOldValues()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/consent/
DAppConsentDaoTest.java242 mAppConsentDao.setConsentForAppIfNew( in testSetConsentForAppIfNewWithNewKeysSuccess()
249 mAppConsentDao.setConsentForAppIfNew( in testSetConsentForAppIfNewWithNewKeysSuccess()
270 mAppConsentDao.setConsentForAppIfNew( in testSetConsentForAppIfNewWithExistingKeysUsesOldValues()
273 mAppConsentDao.setConsentForAppIfNew( in testSetConsentForAppIfNewWithExistingKeysUsesOldValues()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentStorageManager.java369 public boolean setConsentForAppIfNew(String packageName, boolean isConsentRevoked) in setConsentForAppIfNew() method in AppConsentStorageManager
373 return mAppConsentDao.setConsentForAppIfNew(packageName, isConsentRevoked); in setConsentForAppIfNew()
DAdServicesStorageManager.java321 public boolean setConsentForAppIfNew(String packageName, boolean isConsentRevoked) { in setConsentForAppIfNew() method in AdServicesStorageManager
323 return mAdServicesManager.setConsentForAppIfNew(packageName, packageUid, isConsentRevoked); in setConsentForAppIfNew()
DAppConsentForRStorageManager.java212 public boolean setConsentForAppIfNew(String packageName, boolean isConsentRevoked) { in setConsentForAppIfNew() method in AppConsentForRStorageManager
DIConsentStorage.java232 boolean setConsentForAppIfNew(@NonNull String packageName, boolean isConsentRevoked) in setConsentForAppIfNew() method
DConsentCompositeStorage.java714 public boolean setConsentForAppIfNew(String packageName, boolean isConsentRevoked) { in setConsentForAppIfNew() method in ConsentCompositeStorage
719 boolean ret = storage.setConsentForAppIfNew(packageName, isConsentRevoked); in setConsentForAppIfNew()
DConsentManager.java962 return mAppConsentDao.setConsentForAppIfNew(packageName, false);
968 return mAdServicesManager.setConsentForAppIfNew(
974 mAppConsentDao.setConsentForAppIfNew(packageName, false);
979 return mAdServicesManager.setConsentForAppIfNew(
DConsentManagerV2.java726 return mConsentCompositeStorage.setConsentForAppIfNew(packageName, false); in isFledgeConsentRevokedForAppAfterSettingFledgeUse()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl219 …boolean setConsentForAppIfNew(in String packageName,in int packageUid,in boolean isConsentRevoked); in setConsentForAppIfNew() method
DAdServicesManager.java369 public boolean setConsentForAppIfNew( in setConsentForAppIfNew() method in AdServicesManager
372 return mService.setConsentForAppIfNew(packageName, packageUid, isConsentRevoked); in setConsentForAppIfNew()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DAppConsentManager.java149 public boolean setConsentForAppIfNew( in setConsentForAppIfNew() method in AppConsentManager
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/consent/
DAppConsentDao.java180 public boolean setConsentForAppIfNew(@NonNull String packageName, boolean isConsentRevoked) in setConsentForAppIfNew() method in AppConsentDao
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java661 mService.setConsentForAppIfNew( in testSetAppConsent()
679 mService.setConsentForAppIfNew( in testSetAppConsent()
685 mService.setConsentForAppIfNew( in testSetAppConsent()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManagerTest.java215 mAppSearchConsentStorageManager.setConsentForAppIfNew(PACKAGE_NAME1, false); in testIsFledgeConsentRevokedForAppAfterSettingFledgeUse()
228 mAppSearchConsentStorageManager.setConsentForAppIfNew(PACKAGE_NAME2, false); in testIsFledgeConsentRevokedForAppAfterSettingFledgeUse_revoked()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java733 public boolean setConsentForAppIfNew( in setConsentForAppIfNew() method in AdServicesManagerService
746 .setConsentForAppIfNew(packageName, packageUid, isConsentRevoked); in setConsentForAppIfNew()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManager.java506 public boolean setConsentForAppIfNew(@NonNull String packageName, boolean isConsentRevoked) in setConsentForAppIfNew() method in AppSearchConsentStorageManager