Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPackagePolicyTest.java19 import static android.app.admin.PackagePolicy.PACKAGE_POLICY_ALLOWLIST;
85 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST); in testEmptyAllowlistCreation()
86 assertEquals(PACKAGE_POLICY_ALLOWLIST, policy.getPolicyType()); in testEmptyAllowlistCreation()
114 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST, packageNames); in testSuppliedAllowlistCreation()
115 assertEquals(PACKAGE_POLICY_ALLOWLIST, policy.getPolicyType()); in testSuppliedAllowlistCreation()
155 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST, packageNames); in testAllowlist_isPackageAllowed()
/frameworks/base/core/java/android/app/admin/
DPackagePolicy.java74 public static final int PACKAGE_POLICY_ALLOWLIST = 3; field in PackagePolicy
84 PACKAGE_POLICY_ALLOWLIST
110 && policyType != PACKAGE_POLICY_ALLOWLIST) { in PackagePolicy()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14292 new PackagePolicy(PackagePolicy.PACKAGE_POLICY_ALLOWLIST); in setCrossProfileCallerIdDisabled()
14353 == PackagePolicy.PACKAGE_POLICY_ALLOWLIST; in getCrossProfileCallerIdDisabledForUser()
14474 new PackagePolicy(PackagePolicy.PACKAGE_POLICY_ALLOWLIST); in setCrossProfileContactsSearchDisabled()
/frameworks/base/core/api/
Dcurrent.txt8532 field public static final int PACKAGE_POLICY_ALLOWLIST = 3; // 0x3