Searched refs:PERMISSION_POLICY_AUTO_DENY (Results 1 – 4 of 4) sorted by relevance
21 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_DENY;71 mDpm.setPermissionPolicy(null, PERMISSION_POLICY_AUTO_DENY); in testCanAccessApis()73 PERMISSION_POLICY_AUTO_DENY == mDpm.getPermissionPolicy(null)); in testCanAccessApis()
23 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_DENY;133 setPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionGrantStateDenied_mixedPolicies()135 assertPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionGrantStateDenied_mixedPolicies()196 setPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionGrantStateGranted_mixedPolicies()198 assertPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionGrantStateGranted_mixedPolicies()266 setPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionPolicyAutoDeny()268 assertPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionPolicyAutoDeny()328 setPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionPolicyAutoGrant_permissionLocked()330 assertPermissionPolicy(PERMISSION_POLICY_AUTO_DENY); in testPermissionPolicyAutoGrant_permissionLocked()
29 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_DENY;139 PERMISSION_POLICY_AUTO_DENY); in testSetPermissionPolicyLogged()
184 private static final int PERMISSION_POLICY_AUTO_DENY = 2; field in DeviceAndProfileOwnerTest1496 .setInt(PERMISSION_POLICY_AUTO_DENY) in testSetPermissionPolicyLogged()