Home
last modified time | relevance | path

Searched refs:getKnownAppsWithConsent (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DAppConsentStorageManagerTest.java122 .getKnownAppsWithConsent() in testClearAllAppConsentData()
223 mAppConsentStorageManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsentAfterConsentForOneOfThemWasRevoked()
240 mAppConsentStorageManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsentAfterConsentForOneOfThemWasRevokedAndRestored()
252 knownAppsWithConsent = mAppConsentStorageManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsentAfterConsentForOneOfThemWasRevokedAndRestored()
265 mAppConsentStorageManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_ppApiOnly()
329 mAppConsentStorageManager.getKnownAppsWithConsent(); in testResetAllAppConsentAndAppData()
338 knownAppsWithConsent = mAppConsentStorageManager.getKnownAppsWithConsent(); in testResetAllAppConsentAndAppData()
351 mAppConsentStorageManager.getKnownAppsWithConsent(); in testResetAllowedAppConsentAndAppData()
360 mAppConsentStorageManager.getKnownAppsWithConsent(); in testResetAllowedAppConsentAndAppData()
436 .getKnownAppsWithConsent() in setConsentForOneApp()
DAdServicesStorageManagerTest.java131 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent()
139 mAdServicesStorageManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent()
144 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent()
DConsentManagerV2Test.java1422 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_ppApiOnly()
1451 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_systemServerOnly()
1458 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_systemServerOnly()
1462 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_systemServerOnly()
1497 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_ppApiAndSystemServer()
1504 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_ppApiAndSystemServer()
1508 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_ppApiAndSystemServer()
1534 doReturn(consentedAppsList).when(mAppSearchConsentManagerMock).getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_appSearchOnly()
1537 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_appSearchOnly()
1540 verify(mAppSearchConsentManagerMock).getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_appSearchOnly()
[all …]
DConsentManagerTest.java1479 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_ppApiOnly()
1508 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_systemServerOnly()
1515 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_systemServerOnly()
1519 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_systemServerOnly()
1554 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_ppApiAndSystemServer()
1561 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_ppApiAndSystemServer()
1565 .getKnownAppsWithConsent( in testGetKnownAppsWithConsent_ppApiAndSystemServer()
1591 doReturn(consentedAppsList).when(mAppSearchConsentManagerMock).getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_appSearchOnly()
1594 ImmutableList<App> knownAppsWithConsent = mConsentManager.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_appSearchOnly()
1597 verify(mAppSearchConsentManagerMock).getKnownAppsWithConsent(); in testGetKnownAppsWithConsent_appSearchOnly()
[all …]
DAppConsentForRStorageManagerTest.java124 () -> mAppConsentForRStorageManager.getKnownAppsWithConsent()); in testNotSupportMethodException()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DAppConsentManagerTest.java308 mAppConsentManager.getKnownAppsWithConsent(applicationsInstalled); in testGetKnownAppsWithConsent()
326 mAppConsentManager.getKnownAppsWithConsent(new ArrayList<>()); in testGetKnownAppsWithConsentNotExistentApp()
402 assertTrue(mAppConsentManager.getKnownAppsWithConsent(applicationsInstalled).isEmpty()); in testClearKnownAppsWithConsent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentStorageManager.java179 public ImmutableList<String> getKnownAppsWithConsent() throws IOException { in getKnownAppsWithConsent() method in AppConsentStorageManager
181 mAppConsentDao.getKnownAppsWithConsent().stream().collect(Collectors.toList())); in getKnownAppsWithConsent()
DAdServicesStorageManager.java166 public ImmutableList<String> getKnownAppsWithConsent() { in getKnownAppsWithConsent() method in AdServicesStorageManager
168 mAdServicesManager.getKnownAppsWithConsent(getInstalledPackages())); in getKnownAppsWithConsent()
DAppConsentForRStorageManager.java112 public ImmutableList<String> getKnownAppsWithConsent() throws IOException { in getKnownAppsWithConsent() method in AppConsentForRStorageManager
DIConsentStorage.java125 ImmutableList<String> getKnownAppsWithConsent() throws IOException; in getKnownAppsWithConsent() method
DConsentCompositeStorage.java305 public ImmutableList<String> getKnownAppsWithConsent() { in getKnownAppsWithConsent() method in ConsentCompositeStorage
308 return storage.getKnownAppsWithConsent(); in getKnownAppsWithConsent()
DConsentManager.java648 public ImmutableList<App> getKnownAppsWithConsent() { in getKnownAppsWithConsent() method in ConsentManager
650 return ConsentManagerV2.getInstance().getKnownAppsWithConsent(); in getKnownAppsWithConsent()
656 mAppConsentDao.getKnownAppsWithConsent().stream() in getKnownAppsWithConsent()
662 .getKnownAppsWithConsent( in getKnownAppsWithConsent()
668 () -> mAppSearchConsentManager.getKnownAppsWithConsent(), in getKnownAppsWithConsent()
DConsentManagerV2.java578 public ImmutableList<App> getKnownAppsWithConsent() { in getKnownAppsWithConsent() method in ConsentManagerV2
580 mConsentCompositeStorage.getKnownAppsWithConsent().stream() in getKnownAppsWithConsent()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java691 mService.getKnownAppsWithConsent( in testSetAppConsent()
724 mService.getKnownAppsWithConsent( in testClearAppConsent()
741 mService.getKnownAppsWithConsent( in testClearAppConsent()
755 mService.getKnownAppsWithConsent( in testClearAppConsent()
772 mService.getKnownAppsWithConsent( in testClearAppConsent()
786 mService.getKnownAppsWithConsent( in testClearAppConsent()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/consent/
DAppConsentDaoTest.java352 final Set<String> knownAppsWithConsent = mAppConsentDao.getKnownAppsWithConsent(); in testGetKnownAppsWithConsent()
372 final Set<String> knownAppsWithConsent = mAppConsentDao.getKnownAppsWithConsent(); in testGetKnownAppsWithConsentNotExistentApp()
465 assertTrue(mAppConsentDao.getKnownAppsWithConsent().isEmpty()); in testClearKnownAppsWithConsent()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl207 List<String> getKnownAppsWithConsent(in List<String> installedPackages); in getKnownAppsWithConsent() method
DAdServicesManager.java300 public List<String> getKnownAppsWithConsent(List<String> installedPackages) { in getKnownAppsWithConsent() method in AdServicesManager
302 return mService.getKnownAppsWithConsent(installedPackages); in getKnownAppsWithConsent()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewmodels/
DMainViewModel.java145 return mConsentManager.getKnownAppsWithConsent().size(); in getCountOfApps()
DAppsViewModel.java171 return mConsentManager.getKnownAppsWithConsent(); in getAppsFromConsentManager()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java111 public ImmutableList<App> getKnownAppsWithConsent() { in getKnownAppsWithConsent() method in AppSearchConsentManager
491 List<App> consentedApps = getKnownAppsWithConsent(); in migrateConsentDataIfNeeded()
DAppSearchConsentStorageManager.java204 public ImmutableList<String> getKnownAppsWithConsent() { in getKnownAppsWithConsent() method in AppSearchConsentStorageManager
361 List<String> consentedApps = getKnownAppsWithConsent(); in migrateConsentDataIfNeeded()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DAppConsentManager.java89 public List<String> getKnownAppsWithConsent(@NonNull List<String> installedPackages) { in getKnownAppsWithConsent() method in AppConsentManager
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/consent/
DAppConsentDao.java122 public Set<String> getKnownAppsWithConsent() throws IOException { in getKnownAppsWithConsent() method in AppConsentDao
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java623 public List<String> getKnownAppsWithConsent(@NonNull List<String> installedPackages) { in getKnownAppsWithConsent() method in AdServicesManagerService
627 .getKnownAppsWithConsent(installedPackages)); in getKnownAppsWithConsent()
/packages/modules/AdServices/adservices/apk/tests/settings/src/com/android/adservices/ui/settings/
DDialogFragmentTest.java110 doReturn(appsList).when(mConsentManager).getKnownAppsWithConsent(); in setup()

12