Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPermissionGrantTest.java19 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
396 DEVELOPMENT_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in setDevelopmentPermissionToDefault_cannotSet()
712 permission, PERMISSION_GRANT_STATE_DEFAULT); in grantLocationPermission_userNotified() local
744 .isEqualTo(PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantState_permissionIsNotDeclared_doesNotSetGrantState()
748 NOT_DECLARED_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantState_permissionIsNotDeclared_doesNotSetGrantState() local
777 permission, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantStateDeny_autoGrantPermission_deniesPermissions() local
861 permission, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantStateDeny_autoDenyPermission_deniesPermissions() local
894 ACCESS_FINE_LOCATION, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionGrantStateDeny_promptPermission_deniesPermissions() local
923 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionStateGranted_autoDenyPermission_grantsPermissions() local
956 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in setPermissionStateGranted_promptPermission_grantsPermissions() local
[all …]
DDeviceManagementCoexistenceTest.java38 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
435 PERMISSION_GRANT_STATE_DEFAULT)); in getDevicePolicyState_permissionGrantState_returnsCorrectResolutionMechanism()
729 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in permissionGrantStateSet_serialisation_loadsPolicy() local
1272 GRANTABLE_PERMISSION, PERMISSION_GRANT_STATE_DEFAULT); in multiplePoliciesSet_serialisation_loadsPolicies() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java20 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
172 PRE_M_APP_PACKAGE_NAME, permission), PERMISSION_GRANT_STATE_DEFAULT); in assertCannotSetPermissionGrantStatePreMApp() local
237 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DEFAULT); in testPermissionPolicyAutoDeny_permissionLocked()
242 == PERMISSION_GRANT_STATE_DEFAULT); in testPermissionPolicyAutoDeny_permissionLocked()
281 setPermissionGrantState(READ_CONTACTS, PERMISSION_GRANT_STATE_DEFAULT); in testPermissionPolicyAutoGrant_permissionLocked()
DDevicePolicyLoggingTest.java24 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
130 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()
193 permissionGrantState = DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT; in onCheckedChanged()
DCommandReceiverActivity.java405 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT); in onCreate()
414 case DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT: in onCreate()
732 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT); in clearAllPoliciesAndRestrictions()
734 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT); in clearAllPoliciesAndRestrictions()
736 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.java158 private static final int PERMISSION_GRANT_STATE_DEFAULT = 0; field in DeviceAndProfileOwnerTest
1016 .setInt(PERMISSION_GRANT_STATE_DEFAULT) in testSetPermissionGrantStateLogged()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt8415 field public static final int PERMISSION_GRANT_STATE_DEFAULT = 0; // 0x0