Home
last modified time | relevance | path

Searched refs:PACKAGE_POLICY_BLOCKLIST (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPackagePolicyTest.java21 import static android.app.admin.PackagePolicy.PACKAGE_POLICY_BLOCKLIST;
55 final int policyType = PACKAGE_POLICY_BLOCKLIST; in testParceling()
77 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_BLOCKLIST); in testEmptyBlocklistCreation()
78 assertEquals(PACKAGE_POLICY_BLOCKLIST, policy.getPolicyType()); in testEmptyBlocklistCreation()
103 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_BLOCKLIST, packageNames); in testSuppliedBlocklistCreation()
104 assertEquals(PACKAGE_POLICY_BLOCKLIST, policy.getPolicyType()); in testSuppliedBlocklistCreation()
139 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_BLOCKLIST, packageNames); in testBlocklist_isPackageAllowed()
/frameworks/base/core/java/android/app/admin/
DPackagePolicy.java49 public static final int PACKAGE_POLICY_BLOCKLIST = 1; field in PackagePolicy
82 PACKAGE_POLICY_BLOCKLIST,
108 if (policyType != PACKAGE_POLICY_BLOCKLIST in PackagePolicy()
152 if (mPolicyType == PACKAGE_POLICY_BLOCKLIST) { in isPackageAllowed()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14295 new PackagePolicy(PackagePolicy.PACKAGE_POLICY_BLOCKLIST); in setCrossProfileCallerIdDisabled()
14331 != PackagePolicy.PACKAGE_POLICY_BLOCKLIST; in getCrossProfileCallerIdDisabled()
14477 new PackagePolicy(PackagePolicy.PACKAGE_POLICY_BLOCKLIST); in setCrossProfileContactsSearchDisabled()
14506 != PackagePolicy.PACKAGE_POLICY_BLOCKLIST; in getCrossProfileContactsSearchDisabled()
14531 != PackagePolicy.PACKAGE_POLICY_BLOCKLIST; in getCrossProfileContactsSearchDisabledForUser()
/frameworks/base/core/api/
Dcurrent.txt8534 field public static final int PACKAGE_POLICY_BLOCKLIST = 1; // 0x1