Searched refs:PERMISSION_GRANT_STATE_DENIED (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | PermissionGrantDelegateTest.java | 19 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 78 PERMISSION_GRANT_STATE_DENIED)); in testCanAccessApis() 81 assertEquals("Permission grant state is not denied", PERMISSION_GRANT_STATE_DENIED, in testCanAccessApis()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 21 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 113 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied() 115 assertPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied() 124 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied_mixedPolicies() 156 setPermissionGrantState(CUSTOM_PERM_B_NAME, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied_otherPermissionIsGranted() 159 assertPermissionGrantState(CUSTOM_PERM_B_NAME, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied_otherPermissionIsGranted() 215 assertCannotSetPermissionGrantStatePreMApp(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantState_preMApp_preQDeviceAdmin() 235 assertCanSetPermissionGrantStatePreMApp(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantState_preMApp() 256 case PERMISSION_GRANT_STATE_DENIED: in assertCanSetPermissionGrantStatePreMApp() 277 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionPolicyAutoDeny_permissionLocked()
|
D | DevicePolicyLoggingTest.java | 27 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 150 READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testSetPermissionGrantStateLogged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | PermissionLockdownTestActivity.java | 129 } else if (readPermissionState == DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED || in buildLayout() 130 writePermissionState == DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED) { in buildLayout() 131 currentPermissionState = DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; in buildLayout() 143 case DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED: { in buildLayout() 198 permissionGrantState = DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; in onCheckedChanged()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PermissionGrantTest.java | 30 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 203 permission, PERMISSION_GRANT_STATE_DENIED); in denyPermission_setsGrantState() 211 .isEqualTo(PERMISSION_GRANT_STATE_DENIED); in denyPermission_setsGrantState() 259 permission, PERMISSION_GRANT_STATE_DENIED); in denyPermission_permissionIsDenied() local 308 permission, PERMISSION_GRANT_STATE_DENIED); in denyPermission_doesNotApply_permissionIsNotDenied() local 379 DEVELOPMENT_PERMISSION, PERMISSION_GRANT_STATE_DENIED); in denyDevelopmentPermission_cannotDeny() 387 .isNotEqualTo(PERMISSION_GRANT_STATE_DENIED); in denyDevelopmentPermission_cannotDeny() 661 NOT_DECLARED_PERMISSION, PERMISSION_GRANT_STATE_DENIED); in setPermissionGrantState_permissionIsNotDeclared_doesNotSetGrantState() 678 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DENIED); in setPermissionGrantState_appIsNotInstalled_doesNotSetGrantState() 733 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DENIED); in setPermissionGrantStateDefault_wasPreviouslyDenied_permissionStaysDenied() local
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 187 private static final int PERMISSION_GRANT_STATE_DENIED = 2; field in DeviceAndProfileOwnerTest 1525 .setInt(PERMISSION_GRANT_STATE_DENIED) in testSetPermissionGrantStateLogged()
|