Home
last modified time | relevance | path

Searched refs:PERMISSION_GRANT_STATE_DEFAULT (Results 1 – 7 of 7) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPermissionGrantTest.java29 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
150 .isEqualTo(PERMISSION_GRANT_STATE_DEFAULT); in getPermissionGrantState_smsPermission_notAbleToSetState_alsoCantReadState()
180 .isEqualTo(PERMISSION_GRANT_STATE_DEFAULT); in getPermissionGrantState_sensorPermission_notAbleToSetState_alsoCantReadState()
405 DEVELOPMENT_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in setDevelopmentPermissionToDefault_cannotSet()
637 permission, PERMISSION_GRANT_STATE_DEFAULT); in grantLocationPermission_userNotified() local
669 .isEqualTo(PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantState_permissionIsNotDeclared_doesNotSetGrantState()
686 .isEqualTo(PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantState_appIsNotInstalled_doesNotSetGrantState()
704 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantStateDefault_wasPreviouslyGranted_permissionStaysGranted()
712 .isEqualTo(PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantStateDefault_wasPreviouslyGranted_permissionStaysGranted()
737 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantStateDefault_wasPreviouslyDenied_permissionStaysDenied()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java20 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
224 PRE_M_APP_PACKAGE_NAME, permission), PERMISSION_GRANT_STATE_DEFAULT); in assertCannotSetPermissionGrantStatePreMApp() local
278 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DEFAULT); in testPermissionPolicyAutoDeny_permissionLocked()
316 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DEFAULT); in testPermissionPolicyAutoGrant_permissionLocked()
DDevicePolicyLoggingTest.java26 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
152 READ_CONTACTS, PERMISSION_GRANT_STATE_DEFAULT); in testSetPermissionGrantStateLogged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPermissionLockdownTestActivity.java140 case DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT: { in buildLayout()
195 permissionGrantState = DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT; in onCheckedChanged()
DCommandReceiverActivity.java389 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT)); in onCreate()
652 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT); in clearAllPoliciesAndRestrictions()
654 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT); in clearAllPoliciesAndRestrictions()
656 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT); in clearAllPoliciesAndRestrictions()
DEnterprisePrivacyTestListActivity.java119 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT)), in buildAdminGrantedPermissionTest()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java185 private static final int PERMISSION_GRANT_STATE_DEFAULT = 0; field in DeviceAndProfileOwnerTest
1531 .setInt(PERMISSION_GRANT_STATE_DEFAULT) in testSetPermissionGrantStateLogged()