Home
last modified time | relevance | path

Searched refs:setWhitelist (Results 1 – 5 of 5) 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/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java618 mMaster.mGlobalContentCaptureOptions.setWhitelist(mUserId, packages, activities); in setContentCaptureWhitelist()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java1410 mMaster.mAugmentedAutofillState.setWhitelist(mUserId, packages, components); in whitelistForAugmentedAutofillPackages()