Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DPermissionGrantDelegateTest.java19 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;
59 mDpm.setPermissionPolicy(null, PERMISSION_POLICY_AUTO_GRANT); in testCannotAccessApis()
62 PERMISSION_POLICY_AUTO_GRANT == mDpm.getPermissionPolicy(null)); in testCannotAccessApis()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java125 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicy()
131 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicy()
144 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionMixedPolicies()
154 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionMixedPolicies()
234 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionUpdate_setAutoGrantedPolicy()
DDevicePolicyLoggingTest.java28 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;
133 PERMISSION_POLICY_AUTO_GRANT); in testSetPermissionPolicyLogged()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java163 private static final int PERMISSION_POLICY_AUTO_GRANT = 1; field in DeviceAndProfileOwnerTest
1599 .setInt(PERMISSION_POLICY_AUTO_GRANT) in testSetPermissionPolicyLogged()