Home
last modified time | relevance | path

Searched refs:isPaDataReset (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchUxStatesDao.java85 boolean isPaDataReset) { in AppSearchUxStatesDao() argument
97 this.mIsPaDataReset = isPaDataReset; in AppSearchUxStatesDao()
255 public boolean isPaDataReset() { in isPaDataReset() method in AppSearchUxStatesDao
260 public void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
261 mIsPaDataReset = isPaDataReset; in setPaDataReset()
450 return dao.isPaDataReset(); in readIsPaDataReset()
DAppSearchConsentManager.java637 public void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
638 mAppSearchConsentWorker.setPaDataReset(isPaDataReset); in setPaDataReset()
642 public Boolean isPaDataReset() { in isPaDataReset() method in AppSearchConsentManager
643 return mAppSearchConsentWorker.isPaDataReset(); in isPaDataReset()
DAppSearchConsentStorageManager.java671 public Boolean isPaDataReset() { in isPaDataReset() method in AppSearchConsentStorageManager
672 return mAppSearchConsentWorker.isPaDataReset(); in isPaDataReset()
676 public void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
677 mAppSearchConsentWorker.setConsent(ConsentConstants.IS_PA_DATA_RESET, isPaDataReset); in setPaDataReset()
DAppSearchConsentWorker.java835 boolean isPaDataReset() { in isPaDataReset() method in AppSearchConsentWorker
846 void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
859 dao.setPaDataReset(isPaDataReset); in setPaDataReset()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java464 public Boolean isPaDataReset() { in isPaDataReset() method in AdServicesStorageManager
465 return mAdServicesManager.isPaDataReset(); in isPaDataReset()
469 public void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
470 mAdServicesManager.setPaDataReset(isPaDataReset); in setPaDataReset()
DIConsentStorage.java341 Boolean isPaDataReset() throws IOException; in isPaDataReset() method
344 void setPaDataReset(boolean isPaDataReset) throws IOException; in setPaDataReset() argument
DAppConsentStorageManager.java504 public Boolean isPaDataReset() { in isPaDataReset() method in AppConsentStorageManager
509 public void setPaDataReset(boolean isPaDataReset) throws IOException { in setPaDataReset() argument
510 mDatastore.put(ConsentConstants.IS_PA_DATA_RESET, isPaDataReset); in setPaDataReset()
DConsentCompositeStorage.java1062 public Boolean isPaDataReset() { in isPaDataReset() method in ConsentCompositeStorage
1065 return storage.isPaDataReset(); in isPaDataReset()
1079 public void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
1082 storage.setPaDataReset(isPaDataReset); in setPaDataReset()
DConsentManager.java2529 public Boolean isPaDataReset() {
2531 return ConsentManagerV2.getInstance().isPaDataReset();
2536 () -> mAdServicesManager.isPaDataReset(),
2537 () -> mAppSearchConsentManager.isPaDataReset(),
2544 public void setPaDataReset(boolean isPaDataReset) {
2546 ConsentManagerV2.getInstance().setPaDataReset(isPaDataReset);
2550 () -> mDatastore.put(ConsentConstants.IS_PA_DATA_RESET, isPaDataReset),
2551 () -> mAdServicesManager.setPaDataReset(isPaDataReset),
2552 () -> mAppSearchConsentManager.setPaDataReset(isPaDataReset),
2554 mDatastore.put(ConsentConstants.IS_PA_DATA_RESET, isPaDataReset),
DConsentManagerV2.java1522 boolean isPaDataReset() { in isPaDataReset() method in ConsentManagerV2
1523 return mConsentCompositeStorage.isPaDataReset(); in isPaDataReset()
1527 void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
1528 mConsentCompositeStorage.setPaDataReset(isPaDataReset); in setPaDataReset()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl271 boolean isPaDataReset(); in isPaDataReset() method
274 void setPaDataReset(boolean isPaDataReset); in setPaDataReset() argument
DAdServicesManager.java712 public boolean isPaDataReset() { in isPaDataReset() method in AdServicesManager
714 return mService.isPaDataReset(); in isPaDataReset()
722 public void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
724 mService.setPaDataReset(isPaDataReset); in setPaDataReset()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java624 public boolean isPaDataReset() { in isPaDataReset() method in ConsentManager
629 public void setPaDataReset(boolean isPaDataReset) throws IOException { in setPaDataReset() argument
630 setValueWithLock(IS_PA_DATA_RESET, isPaDataReset, /* callerName */ "isPaDataReset"); in setPaDataReset()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java4756 assertThat(spyConsentManager.isPaDataReset()).isFalse(); in isPaDataResetTest_SystemServerOnly()
4758 verify(mMockIAdServicesManager).isPaDataReset(); in isPaDataResetTest_SystemServerOnly()
4760 doReturn(true).when(mMockIAdServicesManager).isPaDataReset(); in isPaDataResetTest_SystemServerOnly()
4763 assertThat(spyConsentManager.isPaDataReset()).isTrue(); in isPaDataResetTest_SystemServerOnly()
4765 verify(mMockIAdServicesManager, times(2)).isPaDataReset(); in isPaDataResetTest_SystemServerOnly()
4776 assertThat(spyConsentManager.isPaDataReset()).isFalse(); in isPaDataResetTest_PpApiAndSystemServer()
4778 verify(mMockIAdServicesManager).isPaDataReset(); in isPaDataResetTest_PpApiAndSystemServer()
4780 doReturn(true).when(mMockIAdServicesManager).isPaDataReset(); in isPaDataResetTest_PpApiAndSystemServer()
4783 assertThat(spyConsentManager.isPaDataReset()).isTrue(); in isPaDataResetTest_PpApiAndSystemServer()
4785 verify(mMockIAdServicesManager, times(2)).isPaDataReset(); in isPaDataResetTest_PpApiAndSystemServer()
[all …]
DConsentManagerTest.java5057 assertThat(spyConsentManager.isPaDataReset()).isTrue(); in isPaDataResetTest_ppapiAndAdExtDataServiceOnly()
5059 assertThat(spyConsentManager.isPaDataReset()).isFalse(); in isPaDataResetTest_ppapiAndAdExtDataServiceOnly()
5069 assertThat(spyConsentManager.isPaDataReset()).isFalse(); in isPaDataResetTest_SystemServerOnly()
5071 verify(mMockIAdServicesManager).isPaDataReset(); in isPaDataResetTest_SystemServerOnly()
5073 doReturn(true).when(mMockIAdServicesManager).isPaDataReset(); in isPaDataResetTest_SystemServerOnly()
5076 assertThat(spyConsentManager.isPaDataReset()).isTrue(); in isPaDataResetTest_SystemServerOnly()
5078 verify(mMockIAdServicesManager, times(2)).isPaDataReset(); in isPaDataResetTest_SystemServerOnly()
5089 Boolean isPaDataReset = spyConsentManager.isPaDataReset(); in isPaDataResetTest_PpApiAndSystemServer() local
5091 assertThat(isPaDataReset).isFalse(); in isPaDataResetTest_PpApiAndSystemServer()
5093 verify(mMockIAdServicesManager).isPaDataReset(); in isPaDataResetTest_PpApiAndSystemServer()
[all …]
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java1394 public boolean isPaDataReset() { in isPaDataReset() method in AdServicesManagerService
1400 .isPaDataReset()); in isPaDataReset()
1405 public void setPaDataReset(boolean isPaDataReset) { in setPaDataReset() argument
1414 .setPaDataReset(isPaDataReset); in setPaDataReset()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchUxStatesDaoTest.java480 Mockito.when(dao.isPaDataReset()).thenReturn(false); in readIsPaDataResetTest_trueBit()
495 Mockito.when(dao2.isPaDataReset()).thenReturn(true); in readIsPaDataResetTest_trueBit()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DConsentManagerTest.java544 assertThat(consentManager.isPaDataReset()).isFalse(); in isPaDataResetTest()
547 assertThat(consentManager.isPaDataReset()).isTrue(); in isPaDataResetTest()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java883 doReturn(false).when(mConsentManager).isPaDataReset(); in testGetAdservicesCommonStates_getCommonStatus()
923 doReturn(true).when(mConsentManager).isPaDataReset(); in testGetAdservicesCommonStates_getCommonStatus_reset()
963 doReturn(false).when(mConsentManager).isPaDataReset(); in testGetAdservicesCommonStates_NotEnabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdServicesCommonServiceImpl.java524 if (consentManager.isPaDataReset()) { in getConsentStatus()