Home
last modified time | relevance | path

Searched refs:PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DPackagePolicy.java63 public static final int PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM = 2; field in PackagePolicy
83 PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM,
109 && policyType != PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM in PackagePolicy()
156 || (mPolicyType == PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM in isPackageAllowed()
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPackagePolicyTest.java20 import static android.app.admin.PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM;
93 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM); in testEmptyAllowlistAndSystemCreation()
94 assertEquals(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM, policy.getPolicyType()); in testEmptyAllowlistAndSystemCreation()
125 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM, packageNames); in testSuppliedAllowlistAndSystemCreation()
126 assertEquals(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM, policy.getPolicyType()); in testSuppliedAllowlistAndSystemCreation()
171 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM, packageNames); in testAllowlistAndSystem_isPackageAllowed()
/frameworks/base/core/java/android/service/credentials/
DCredentialProviderInfoFactory.java571 return mPp.getPolicyType() == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM; in isPackageAllowed()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14326 == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM) { in getCrossProfileCallerIdDisabled()
14527 == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM) { in getCrossProfileContactsSearchDisabledForUser()
/frameworks/base/core/api/
Dcurrent.txt8533 field public static final int PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM = 2; // 0x2