Searched refs:PERMISSION_GRANT_STATE_GRANTED (Results 1 – 7 of 7) sorted by relevance
128 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantState()175 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionMixedPolicies()187 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED, in testPermissionGrantOfDisallowedPermissionWhileOtherPermIsGranted()249 assertSetPermissionGrantState(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionUpdate_setGrantedState()271 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStateAppPreMDeviceAdminPreQ()278 assertCanSetPermissionGrantStateAppPreM(DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantStatePreMApp()287 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in testPermissionGrantState_developmentPermission()393 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()
564 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in grantCameraPermissionToSelf()586 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED); in grantLocationPermissionToSelf()
127 DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED)), in buildAdminGrantedPermissionTest()
168 private static final int PERMISSION_GRANT_STATE_GRANTED = 1; field in DeviceAndProfileOwnerTest1741 .setInt(PERMISSION_GRANT_STATE_GRANTED) in testSetPermissionGrantStateLogged()