Home
last modified time | relevance | path

Searched refs:clearConsentForUninstalledApp (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentCompositeStorageTest.java96 consentCompositeStorage.clearConsentForUninstalledApp(MOCK_PACKAGE_NAME); in testAllWriteMethods()
97 consentCompositeStorage.clearConsentForUninstalledApp(MOCK_PACKAGE_NAME, MOCK_PACKAGE_UID); in testAllWriteMethods()
135 Mockito.verify(consentStorage).clearConsentForUninstalledApp(eq(MOCK_PACKAGE_NAME)); in verifySetMethodCalled()
137 .clearConsentForUninstalledApp(eq(MOCK_PACKAGE_NAME), eq(MOCK_PACKAGE_UID)); in verifySetMethodCalled()
DAppConsentStorageManagerTest.java133 mAppConsentStorageManager.clearConsentForUninstalledApp( in testClearConsentForUninstalledApp()
144 mAppConsentStorageManager.clearConsentForUninstalledApp( in testClearConsentForUninstalledAppWithoutUid()
151 verify(mAppConsentDaoSpy).clearConsentForUninstalledApp(anyString()); in testClearConsentForUninstalledAppWithoutUid()
159 mAppConsentStorageManager.clearConsentForUninstalledApp(null); in testClearConsentForUninstalledAppWithoutUid_validatesInput()
164 mAppConsentStorageManager.clearConsentForUninstalledApp(""); in testClearConsentForUninstalledAppWithoutUid_validatesInput()
DAppConsentForRStorageManagerTest.java100 () -> mAppConsentForRStorageManager.clearConsentForUninstalledApp("", 0)); in testNotSupportMethodException()
104 () -> mAppConsentForRStorageManager.clearConsentForUninstalledApp("")); in testNotSupportMethodException()
DAdServicesStorageManagerTest.java92 public void clearConsentForUninstalledApp() throws RemoteException { in clearConsentForUninstalledApp() method in AdServicesStorageManagerTest
93 mAdServicesStorageManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp()
96 .clearConsentForUninstalledApp( in clearConsentForUninstalledApp()
DConsentManagerV2Test.java1779 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppApiOnly()
1787 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_systemServerOnly()
1790 .clearConsentForUninstalledApp( in clearConsentForUninstalledApp_systemServerOnly()
1807 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppApiAndSystemServer()
1811 .clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppApiAndSystemServer()
1822 mConsentManager.clearConsentForUninstalledApp(packageName, AppConsentDaoFixture.APP10_UID); in clearConsentForUninstalledApp_appSearchOnly()
1824 .clearConsentForUninstalledApp(packageName, AppConsentDaoFixture.APP10_UID); in clearConsentForUninstalledApp_appSearchOnly()
1836 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppapiAndAdExtDataServiceOnly()
1846 mConsentManager.clearConsentForUninstalledApp(AppConsentDaoFixture.APP20_PACKAGE_NAME); in clearConsentForUninstalledAppWithoutUid_ppApiOnly()
1852 verify(mAppConsentDaoSpy).clearConsentForUninstalledApp(anyString()); in clearConsentForUninstalledAppWithoutUid_ppApiOnly()
[all …]
DConsentManagerTest.java1854 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppApiOnly()
1862 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_systemServerOnly()
1865 .clearConsentForUninstalledApp( in clearConsentForUninstalledApp_systemServerOnly()
1882 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppApiAndSystemServer()
1886 .clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppApiAndSystemServer()
1897 mConsentManager.clearConsentForUninstalledApp(packageName, AppConsentDaoFixture.APP10_UID); in clearConsentForUninstalledApp_appSearchOnly()
1898 verify(mAppSearchConsentManagerMock).clearConsentForUninstalledApp(packageName); in clearConsentForUninstalledApp_appSearchOnly()
1910 mConsentManager.clearConsentForUninstalledApp( in clearConsentForUninstalledApp_ppapiAndAdExtDataServiceOnly()
1920 mConsentManager.clearConsentForUninstalledApp(AppConsentDaoFixture.APP20_PACKAGE_NAME); in clearConsentForUninstalledAppWithoutUid_ppApiOnly()
1926 verify(mAppConsentDaoSpy).clearConsentForUninstalledApp(anyString()); in clearConsentForUninstalledAppWithoutUid_ppApiOnly()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/consent/
DAppConsentDaoTest.java477 mAppConsentDao.clearConsentForUninstalledApp( in testClearConsentForUninstalledApp()
492 mAppConsentDao.clearConsentForUninstalledApp( in testClearConsentForUninstalledAppWithInvalidArgsThrows()
497 mAppConsentDao.clearConsentForUninstalledApp( in testClearConsentForUninstalledAppWithInvalidArgsThrows()
502 mAppConsentDao.clearConsentForUninstalledApp( in testClearConsentForUninstalledAppWithInvalidArgsThrows()
529 mAppConsentDao.clearConsentForUninstalledApp(AppConsentDaoFixture.APP20_PACKAGE_NAME); in testClearAllConsentForUninstalledApp()
545 () -> mAppConsentDao.clearConsentForUninstalledApp(null)); in testClearAllConsentForUninstalledAppWithInvalidArgsThrows()
548 () -> mAppConsentDao.clearConsentForUninstalledApp("")); in testClearAllConsentForUninstalledAppWithInvalidArgsThrows()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentStorageManager.java85 public void clearConsentForUninstalledApp(String packageName) throws IOException { in clearConsentForUninstalledApp() method in AppConsentStorageManager
86 mAppConsentDao.clearConsentForUninstalledApp(packageName); in clearConsentForUninstalledApp()
97 public void clearConsentForUninstalledApp(String packageName, int packageUid) in clearConsentForUninstalledApp() method in AppConsentStorageManager
99 mAppConsentDao.clearConsentForUninstalledApp(packageName, packageUid); in clearConsentForUninstalledApp()
DAdServicesStorageManager.java100 public void clearConsentForUninstalledApp(String packageName) throws IOException { in clearConsentForUninstalledApp() method in AdServicesStorageManager
102 mAdServicesManager.clearConsentForUninstalledApp(packageName, packageUid); in clearConsentForUninstalledApp()
107 public void clearConsentForUninstalledApp(String packageName, int packageUid) { in clearConsentForUninstalledApp() method in AdServicesStorageManager
108 mAdServicesManager.clearConsentForUninstalledApp(packageName, packageUid); in clearConsentForUninstalledApp()
DAppConsentForRStorageManager.java71 public void clearConsentForUninstalledApp(String packageName) { in clearConsentForUninstalledApp() method in AppConsentForRStorageManager
78 public void clearConsentForUninstalledApp(String packageName, int packageUid) { in clearConsentForUninstalledApp() method in AppConsentForRStorageManager
DIConsentStorage.java62 void clearConsentForUninstalledApp(@NonNull String packageName) throws IOException; in clearConsentForUninstalledApp() method
71 void clearConsentForUninstalledApp(@NonNull String packageName, int packageUid) in clearConsentForUninstalledApp() method
DConsentCompositeStorage.java106 public void clearConsentForUninstalledApp(@NonNull String packageName) { in clearConsentForUninstalledApp() method in ConsentCompositeStorage
109 storage.clearConsentForUninstalledApp(packageName); in clearConsentForUninstalledApp()
130 public void clearConsentForUninstalledApp(String packageName, int packageUid) { in clearConsentForUninstalledApp() method in ConsentCompositeStorage
133 storage.clearConsentForUninstalledApp(packageName, packageUid); in clearConsentForUninstalledApp()
DConsentManager.java1009 public void clearConsentForUninstalledApp(String packageName, int packageUid) {
1011 ConsentManagerV2.getInstance().clearConsentForUninstalledApp(packageName, packageUid);
1015 () -> mAppConsentDao.clearConsentForUninstalledApp(packageName, packageUid),
1016 () -> mAdServicesManager.clearConsentForUninstalledApp(packageName, packageUid),
1017 () -> mAppSearchConsentManager.clearConsentForUninstalledApp(packageName),
1037 public void clearConsentForUninstalledApp(@NonNull String packageName) {
1039 ConsentManagerV2.getInstance().clearConsentForUninstalledApp(packageName);
1046 () -> mAppConsentDao.clearConsentForUninstalledApp(packageName),
1048 () -> mAppSearchConsentManager.clearConsentForUninstalledApp(packageName),
DConsentManagerV2.java734 public void clearConsentForUninstalledApp(String packageName, int packageUid) { in clearConsentForUninstalledApp() method in ConsentManagerV2
735 mConsentCompositeStorage.clearConsentForUninstalledApp(packageName, packageUid); in clearConsentForUninstalledApp()
747 public void clearConsentForUninstalledApp(@NonNull String packageName) { in clearConsentForUninstalledApp() method in ConsentManagerV2
748 mConsentCompositeStorage.clearConsentForUninstalledApp(packageName); in clearConsentForUninstalledApp()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DAppConsentManagerTest.java414 mAppConsentManager.clearConsentForUninstalledApp( in testClearConsentForUninstalledApp()
429 mAppConsentManager.clearConsentForUninstalledApp( in testClearConsentForUninstalledAppWithInvalidArgsThrows()
434 mAppConsentManager.clearConsentForUninstalledApp( in testClearConsentForUninstalledAppWithInvalidArgsThrows()
439 mAppConsentManager.clearConsentForUninstalledApp( in testClearConsentForUninstalledAppWithInvalidArgsThrows()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/consent/
DAppConsentDao.java230 public void clearConsentForUninstalledApp(@NonNull String packageName, int packageUid) in clearConsentForUninstalledApp() method in AppConsentDao
249 public void clearConsentForUninstalledApp(@NonNull String packageName) throws IOException { in clearConsentForUninstalledApp() method in AppConsentDao
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManager.java116 public void clearConsentForUninstalledApp(@NonNull String packageName) { in clearConsentForUninstalledApp() method in AppSearchConsentStorageManager
117 clearConsentForUninstalledApp(packageName, 0); in clearConsentForUninstalledApp()
131 public void clearConsentForUninstalledApp(@NonNull String packageName, int packageUid) { in clearConsentForUninstalledApp() method in AppSearchConsentStorageManager
DAppSearchConsentManager.java259 public void clearConsentForUninstalledApp(@NonNull String packageName) { in clearConsentForUninstalledApp() method in AppSearchConsentManager
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPackageChangedReceiver.java345 instance.clearConsentForUninstalledApp(packageName); in consentOnPackageFullyRemoved()
354 instance.clearConsentForUninstalledApp(packageName, packageUid); in consentOnPackageFullyRemoved()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl221 void clearConsentForUninstalledApp(in String packageName,in int packageUid); in clearConsentForUninstalledApp() method
DAdServicesManager.java380 public void clearConsentForUninstalledApp(String packageName, int packageUid) { in clearConsentForUninstalledApp() method in AdServicesManager
382 mService.clearConsentForUninstalledApp(packageName, packageUid); in clearConsentForUninstalledApp()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java709 .clearConsentForUninstalledApp(any(), anyInt()); in runPackageFullyRemovedForConsent_onS()
719 verify(mConsentManager).clearConsentForUninstalledApp(any(), anyInt()); in runPackageFullyRemovedForConsent_onS()
736 .clearConsentForUninstalledApp(anyString()); in validateConsentWhenPackageUidAbsent()
1032 verify(mConsentManager, never()).clearConsentForUninstalledApp(any(), anyInt()); in testAppConsentDeletion_onR()
1050 verify(mConsentManager, never()).clearConsentForUninstalledApp(anyString()); in testClearConsentNotCalled_WhenPackageUidInvalid_OnTPlus()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DAppConsentManager.java196 public void clearConsentForUninstalledApp(@NonNull String packageName, int packageUid) in clearConsentForUninstalledApp() method in AppConsentManager
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java762 public void clearConsentForUninstalledApp(@NonNull String packageName, int packageUid) { in clearConsentForUninstalledApp() method in AdServicesManagerService
773 .clearConsentForUninstalledApp(packageName, packageUid); in clearConsentForUninstalledApp()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java244 mAppSearchConsentManager.clearConsentForUninstalledApp(PACKAGE_NAME1); in testClearConsentForUninstalledApp()

12