Home
last modified time | relevance | path

Searched refs:setWhitelist (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DWhitelistHelperTest.java51 () -> mWhitelistHelper.setWhitelist(new ArraySet<>(), null)); in testSetWhitelist_emptyArguments()
53 () -> mWhitelistHelper.setWhitelist(null, new ArraySet<>())); in testSetWhitelist_emptyArguments()
55 () -> mWhitelistHelper.setWhitelist(new ArraySet<>(), new ArraySet<>())); in testSetWhitelist_emptyArguments()
72 mWhitelistHelper.setWhitelist(packages, null); in testSetWhitelist_nullPackage()
86 mWhitelistHelper.setWhitelist(null, components); in testSetWhitelist_nullActivity()
100 mWhitelistHelper.setWhitelist(null, components); in testSetWhitelist_replaceWhitelist()
106 mWhitelistHelper.setWhitelist(null, components2); in testSetWhitelist_replaceWhitelist()
115 mWhitelistHelper.setWhitelist(packages, null); in testIsWhitelisted_packageWhitelisted()
129 mWhitelistHelper.setWhitelist(null, components); in testIsWhitelisted_activityWhitelisted()
/frameworks/base/core/java/com/android/internal/infra/
DWhitelistHelper.java56 public void setWhitelist(@Nullable ArraySet<String> packageNames, in setWhitelist() method in WhitelistHelper
96 public void setWhitelist(@Nullable List<String> packageNames, in setWhitelist() method in WhitelistHelper
102 setWhitelist(packageNamesSet, componentsSet); in setWhitelist()
DGlobalWhitelistState.java52 public void setWhitelist(@UserIdInt int userId, @Nullable List<String> packageNames, in setWhitelist() method in GlobalWhitelistState
63 helper.setWhitelist(packageNames, components); in setWhitelist()
/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/
DContentCaptureManagerServiceTest.java302 mContentCaptureManagerService.mGlobalContentCaptureOptions.setWhitelist( in getOptions_contentCaptureEnabled_contentProtectionDisabled()
324 mContentCaptureManagerService.mGlobalContentCaptureOptions.setWhitelist( in getOptions_contentCaptureEnabled_contentProtectionEnabled()
365 mContentCaptureManagerService.mGlobalContentCaptureOptions.setWhitelist( in isWhitelisted_packageName_contentCaptureEnabled_contentProtectionDisabled()
381 mContentCaptureManagerService.mGlobalContentCaptureOptions.setWhitelist( in isWhitelisted_packageName_contentCaptureEnabled_contentProtectionEnabled()
420 mContentCaptureManagerService.mGlobalContentCaptureOptions.setWhitelist( in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionDisabled()
436 mContentCaptureManagerService.mGlobalContentCaptureOptions.setWhitelist( in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionEnabled()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java646 mMaster.mGlobalContentCaptureOptions.setWhitelist(mUserId, packages, activities); in setContentCaptureWhitelist()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java1564 mMaster.mAugmentedAutofillState.setWhitelist(mUserId, packages, components); in allowlistForAugmentedAutofillPackages()