Searched refs:PERMISSION_GRANT_STATE_DENIED (Results 1 – 8 of 8) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 21 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 120 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied() 122 assertPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied() 133 setPermissionGrantState(CUSTOM_PERM_B_NAME, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied_otherPermissionIsGranted() 136 assertPermissionGrantState(CUSTOM_PERM_B_NAME, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantStateDenied_otherPermissionIsGranted() 163 assertCannotSetPermissionGrantStatePreMApp(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantState_preMApp_preQDeviceAdmin() 183 assertCanSetPermissionGrantStatePreMApp(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionGrantState_preMApp() 215 case PERMISSION_GRANT_STATE_DENIED: in assertCanSetPermissionGrantStatePreMApp() 236 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DENIED); in testPermissionPolicyAutoDeny_permissionLocked()
|
D | DevicePolicyLoggingTest.java | 25 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 128 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() 195 permissionGrantState = DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; in onCheckedChanged()
|
D | CommandReceiverActivity.java | 411 case DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED: in onCreate()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PermissionGrantTest.java | 20 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 195 permission, PERMISSION_GRANT_STATE_DENIED); in denyPermission_setsGrantState() 203 .isEqualTo(PERMISSION_GRANT_STATE_DENIED); in denyPermission_setsGrantState() 248 permission, PERMISSION_GRANT_STATE_DENIED); in denyPermission_permissionIsDenied() local 294 permission, PERMISSION_GRANT_STATE_DENIED); in denyPermission_doesNotApply_permissionIsNotDenied() local 371 DEVELOPMENT_PERMISSION, PERMISSION_GRANT_STATE_DENIED); in denyDevelopmentPermission_cannotDeny() 379 .isNotEqualTo(PERMISSION_GRANT_STATE_DENIED); in denyDevelopmentPermission_cannotDeny() 736 NOT_DECLARED_PERMISSION, PERMISSION_GRANT_STATE_DENIED); in setPermissionGrantState_permissionIsNotDeclared_doesNotSetGrantState() 762 permission, PERMISSION_GRANT_STATE_DENIED); in setPermissionGrantStateDeny_autoGrantPermission_deniesPermissions() local 846 permission, PERMISSION_GRANT_STATE_DENIED); in setPermissionGrantStateDeny_autoDenyPermission_deniesPermissions() local [all …]
|
D | DeviceManagementCoexistenceTest.java | 39 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 433 List.of(PERMISSION_GRANT_STATE_DENIED, in getDevicePolicyState_permissionGrantState_returnsCorrectResolutionMechanism()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 160 private static final int PERMISSION_GRANT_STATE_DENIED = 2; field in DeviceAndProfileOwnerTest 1010 .setInt(PERMISSION_GRANT_STATE_DENIED) in testSetPermissionGrantStateLogged()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 8416 field public static final int PERMISSION_GRANT_STATE_DENIED = 2; // 0x2
|