Searched refs:PERMISSION_POLICY_AUTO_GRANT (Results 1 – 5 of 5) sorted by relevance
24 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;252 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoDeny_permissionLocked()254 assertPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoDeny_permissionLocked()266 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoGrant()268 assertPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoGrant()282 setPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoGrant_permissionLocked()284 assertPermissionPolicy(PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicyAutoGrant_permissionLocked()
28 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;119 PERMISSION_POLICY_AUTO_GRANT); in testSetPermissionPolicyLogged()
23 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;634 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_notAllowed_throwsException()640 {PERMISSION_POLICY_AUTO_GRANT, PERMISSION_POLICY_AUTO_DENY}) int policy) { in setPermissionPolicy_setsPolicy()662 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_grant_automaticallyGrantsPermissions() local764 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionGrantStateDeny_autoGrantPermission_deniesPermissions() local794 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_sensorPermissions_autoGrantPermission_denies() local820 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_smsPermission_autoGrantPermission_denies() local1149 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_autoGrant_checkMultiplePermissionsInGroup_allPermissionsGranted() local
156 private static final int PERMISSION_POLICY_AUTO_GRANT = 1; field in DeviceAndProfileOwnerTest986 .setInt(PERMISSION_POLICY_AUTO_GRANT) in testSetPermissionPolicyLogged()
8419 field public static final int PERMISSION_POLICY_AUTO_GRANT = 1; // 0x1