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.java147 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicy()
153 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionPolicy()
166 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionMixedPolicies()
176 assertSetPermissionPolicy(DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT); in testPermissionMixedPolicies()
256 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.java165 private static final int PERMISSION_POLICY_AUTO_GRANT = 1; field in DeviceAndProfileOwnerTest
1721 .setInt(PERMISSION_POLICY_AUTO_GRANT) in testSetPermissionPolicyLogged()