Searched refs:PERMISSION_GRANT_STATE_DEFAULT (Results 1 – 9 of 9) sorted by relevance
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PermissionGrantTest.java | 19 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 …]
|
D | DeviceManagementCoexistenceTest.java | 38 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/ |
D | PermissionsTest.java | 20 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()
|
D | DevicePolicyLoggingTest.java | 24 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/ |
D | PermissionLockdownTestActivity.java | 140 case DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT: { in buildLayout() 193 permissionGrantState = DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT; in onCheckedChanged()
|
D | CommandReceiverActivity.java | 405 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()
|
D | EnterprisePrivacyTestListActivity.java | 119 DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT)), in buildAdminGrantedPermissionTest()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 158 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/ |
D | current.txt | 8415 field public static final int PERMISSION_GRANT_STATE_DEFAULT = 0; // 0x0
|