Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java24 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()
DDevicePolicyLoggingTest.java28 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;
119 PERMISSION_POLICY_AUTO_GRANT); in testSetPermissionPolicyLogged()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPermissionGrantTest.java23 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() local
764 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionGrantStateDeny_autoGrantPermission_deniesPermissions() local
794 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_sensorPermissions_autoGrantPermission_denies() local
820 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_smsPermission_autoGrantPermission_denies() local
1149 sDeviceState.dpc().componentName(), PERMISSION_POLICY_AUTO_GRANT); in setPermissionPolicy_autoGrant_checkMultiplePermissionsInGroup_allPermissionsGranted() local
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java156 private static final int PERMISSION_POLICY_AUTO_GRANT = 1; field in DeviceAndProfileOwnerTest
986 .setInt(PERMISSION_POLICY_AUTO_GRANT) in testSetPermissionPolicyLogged()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt8419 field public static final int PERMISSION_POLICY_AUTO_GRANT = 1; // 0x1