Searched refs:PERMISSION_POLICY_AUTO_GRANT (Results 1 – 4 of 4) sorted by relevance
24 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;128 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionGrantStateDenied_mixedPolicies()130 assertPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionGrantStateDenied_mixedPolicies()191 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionGrantStateGranted_mixedPolicies()193 assertPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionGrantStateGranted_mixedPolicies()287 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoDeny_permissionLocked()289 assertPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoDeny_permissionLocked()301 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoGrant()303 assertPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoGrant()317 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoGrant_permissionLocked()[all …]
30 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;141 PERMISSION_POLICY_AUTO_GRANT); in testSetPermissionPolicyLogged()
22 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;47 mDpm.setPermissionPolicy(null, PERMISSION_POLICY_AUTO_GRANT); in testCannotAccessApis()50 PERMISSION_POLICY_AUTO_GRANT == mDpm.getPermissionPolicy(null)); in testCannotAccessApis()
183 private static final int PERMISSION_POLICY_AUTO_GRANT = 1; field in DeviceAndProfileOwnerTest1501 .setInt(PERMISSION_POLICY_AUTO_GRANT) in testSetPermissionPolicyLogged()