Searched refs:PERMISSION_GRANT_STATE_GRANTED (Results 1 – 8 of 8) sorted by relevance
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PermissionGrantTest.java | 31 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; 140 READ_SMS, PERMISSION_GRANT_STATE_GRANTED); in getPermissionGrantState_smsPermission_notAbleToSetState_alsoCantReadState() local 170 permission, PERMISSION_GRANT_STATE_GRANTED); in getPermissionGrantState_sensorPermission_notAbleToSetState_alsoCantReadState() local 231 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_GRANTED); in grantPermission_setsGrantState() 239 .isEqualTo(PERMISSION_GRANT_STATE_GRANTED); in grantPermission_setsGrantState() 285 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_GRANTED); in grantPermission_permissionIsGranted() local 328 permission, PERMISSION_GRANT_STATE_GRANTED); in grantPermission_doesNotApply_permissionIsNotGranted() local 350 DEVELOPMENT_PERMISSION, PERMISSION_GRANT_STATE_GRANTED); in grantDevelopmentPermission_cannotGrant() 358 .isNotEqualTo(PERMISSION_GRANT_STATE_GRANTED); in grantDevelopmentPermission_cannotGrant() 426 READ_SMS, PERMISSION_GRANT_STATE_GRANTED); in grantSmsPermission_setsGrantState() [all …]
|
D | AdminPermissionControlParamsTests.java | 35 private static final int GRANT_STATE = DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED;
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 22 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; 155 setPermissionGrantState(CUSTOM_PERM_A_NAME, PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStateDenied_otherPermissionIsGranted() 158 assertPermissionGrantState(CUSTOM_PERM_A_NAME, PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStateDenied_otherPermissionIsGranted() 177 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStateGranted() 179 assertPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStateGranted() 188 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStateGranted_mixedPolicies() 216 assertCannotSetPermissionGrantStatePreMApp(READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantState_preMApp_preQDeviceAdmin() 236 assertCanSetPermissionGrantStatePreMApp(READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantState_preMApp() 252 case PERMISSION_GRANT_STATE_GRANTED: in assertCanSetPermissionGrantStatePreMApp()
|
D | DevicePolicyLoggingTest.java | 28 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; 148 PACKAGE_NAME, READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testSetPermissionGrantStateLogged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | PermissionLockdownTestActivity.java | 126 if (readPermissionState == DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED || in buildLayout() 127 writePermissionState == DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED) { in buildLayout() 128 currentPermissionState = DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; in buildLayout() 137 case DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED: { in buildLayout() 192 permissionGrantState = DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; in onCheckedChanged()
|
D | EnterprisePrivacyTestListActivity.java | 125 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED)), in buildAdminGrantedPermissionTest()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | PermissionGrantDelegateTest.java | 20 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; 56 PERMISSION_GRANT_STATE_GRANTED); in testCannotAccessApis()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 186 private static final int PERMISSION_GRANT_STATE_GRANTED = 1; field in DeviceAndProfileOwnerTest 1519 .setInt(PERMISSION_GRANT_STATE_GRANTED) in testSetPermissionGrantStateLogged()
|