Searched refs:PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM (Results 1 – 5 of 5) sorted by relevance
63 public static final int PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM = 2; field in PackagePolicy83 PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM,109 && policyType != PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM in PackagePolicy()156 || (mPolicyType == PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM in isPackageAllowed()
20 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()
571 return mPp.getPolicyType() == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM; in isPackageAllowed()
14326 == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM) { in getCrossProfileCallerIdDisabled()14527 == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM) { in getCrossProfileContactsSearchDisabledForUser()
8533 field public static final int PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM = 2; // 0x2