Searched refs:PERMISSION_GRANT_STATE_GRANTED (Results 1 – 7 of 7) sorted by relevance
106 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantState()153 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionMixedPolicies()165 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED, in testPermissionGrantOfDisallowedPermissionWhileOtherPermIsGranted()227 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionUpdate_setGrantedState()249 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStateAppPreMDeviceAdminPreQ()256 assertCanSetPermissionGrantStateAppPreM(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStatePreMApp()265 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantState_developmentPermission()372 case DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED: in assertCanSetPermissionGrantStateAppPreM()
26 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED;140 PACKAGE_NAME, READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testSetPermissionGrantStateLogged()
21 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED;68 PERMISSION_GRANT_STATE_GRANTED); in testCannotAccessApis()
112 case DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED: { in buildLayout()167 permissionGrantState = DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; in onCheckedChanged()
572 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in grantCameraPermissionToSelf()594 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in grantLocationPermissionToSelf()
127 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED)), in buildAdminGrantedPermissionTest()
166 private static final int PERMISSION_GRANT_STATE_GRANTED = 1; field in DeviceAndProfileOwnerTest1619 .setInt(PERMISSION_GRANT_STATE_GRANTED) in testSetPermissionGrantStateLogged()