Home
last modified time | relevance | path

Searched refs:PERMISSION_DENIED (Results 1 – 25 of 41) sorted by relevance

12

/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_manager.cpp123 return PERMISSION_DENIED; in VerifyHapAccessToken()
128 return PERMISSION_DENIED; in VerifyHapAccessToken()
140 return PERMISSION_DENIED; in VerifyNativeAccessToken()
151 return PERMISSION_DENIED; in VerifyNativeAccessToken()
156 return PERMISSION_DENIED; in VerifyNativeAccessToken()
162 return PERMISSION_DENIED; in VerifyNativeAccessToken()
175 return PERMISSION_DENIED; in VerifyAccessToken()
180 return PERMISSION_DENIED; in VerifyAccessToken()
191 return PERMISSION_DENIED; in VerifyAccessToken()
284 if (goalGrantStatus == PERMISSION_DENIED) { in GetSelfPermissionState()
[all …]
Ddlp_permission_set_manager.cpp77 if (iter->grantStatus[0] == PERMISSION_DENIED) { in UpdatePermStateWithDlpInfo()
83 iter->grantStatus[0] = PERMISSION_DENIED; in UpdatePermStateWithDlpInfo()
Dpermission_policy_set.cpp152 return PERMISSION_DENIED; in VerifyPermissStatus()
156 return PERMISSION_DENIED; in VerifyPermissStatus()
201 iter->grantStatus[0] = isGranted ? PERMISSION_GRANTED : PERMISSION_DENIED; in UpdatePermissionStatus()
231 perm.grantStatus[0] = PERMISSION_DENIED; in ResetUserGrantPermissionStatus()
/base/sensors/sensor/interfaces/native/src/
Dsensor_agent.cpp26 using OHOS::Sensors::PERMISSION_DENIED;
39 case PERMISSION_DENIED: { in NormalizeErrCode()
40 return PERMISSION_DENIED; in NormalizeErrCode()
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccesstoken.h29 PERMISSION_DENIED = -1, enumerator
Daccess_token.h64 PERMISSION_DENIED = -1, enumerator
/base/sensors/miscdevice/interfaces/native/vibrator/src/
Dvibrator_agent.cpp33 case PERMISSION_DENIED: { in NormalizeErrCode()
34 return PERMISSION_DENIED; in NormalizeErrCode()
/base/sensors/miscdevice/services/miscdevice_service/src/
Dmiscdevice_service_stub.cpp62 return PERMISSION_DENIED; in VibratePb()
82 return PERMISSION_DENIED; in CancelVibratorPb()
96 return PERMISSION_DENIED; in PlayVibratorEffectPb()
118 return PERMISSION_DENIED; in StopVibratorEffectPb()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp145 .grantStatus = {PermissionState::PERMISSION_DENIED},
152 .grantStatus = {PermissionState::PERMISSION_DENIED},
159 .grantStatus = {PermissionState::PERMISSION_DENIED, PermissionState::PERMISSION_DENIED},
166 .grantStatus = {PermissionState::PERMISSION_DENIED},
180 .grantStatus = {PermissionState::PERMISSION_DENIED},
1021 ASSERT_EQ(PERMISSION_DENIED, ret);
1027 ASSERT_EQ(PERMISSION_DENIED, ret);
1075 ASSERT_EQ(PERMISSION_DENIED, ret);
1094 g_infoManagerTestStateA.grantStatus[0] = PERMISSION_DENIED; in PrepareUserPermState()
1096 g_infoManagerTestStateB.grantStatus[0] = PERMISSION_DENIED; in PrepareUserPermState()
[all …]
/base/sensors/miscdevice/interfaces/plugin/vibrator/include/
Dvibrator_napi_error.h29 {PERMISSION_DENIED, "Permission denied."},
/base/sensors/sensor/interfaces/plugin/include/
Dsensor_napi_error.h29 {PERMISSION_DENIED, "Permission denied."},
/base/msdp/device_status/utils/src/
Ddevicestatus_permission.cpp26 int32_t auth = Security::AccessToken::TypePermissionState::PERMISSION_DENIED; in CheckCallingPermission()
/base/account/os_account/services/accountmgr/src/
Daccount_permission_manager.cpp47 if (result == TypePermissionState::PERMISSION_DENIED) { in VerifyPermission()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_accesstoken_kit.cpp50 return PERMISSION_DENIED; in VerifyAccessToken()
/base/powermgr/power_manager/utils/permission/src/
Dpermission.cpp150 int32_t result = PermissionState::PERMISSION_DENIED; in IsPermissionGranted()
163 if (result == PermissionState::PERMISSION_DENIED) { in IsPermissionGranted()
/base/sensors/sensor/services/sensor/src/
Dsensor_service_stub.cpp85 return PERMISSION_DENIED; in SensorEnableInner()
100 return PERMISSION_DENIED; in SensorDisableInner()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_stub.cpp171 VerifyAccessToken(callingTokenID, GRANT_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED && in GetPermissionFlagInner()
172 VerifyAccessToken(callingTokenID, REVOKE_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED && in GetPermissionFlagInner()
173 VerifyAccessToken(callingTokenID, GET_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED) { in GetPermissionFlagInner()
194 VerifyAccessToken(callingTokenID, GRANT_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED) { in GrantPermissionInner()
213 VerifyAccessToken(callingTokenID, REVOKE_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED) { in RevokePermissionInner()
229 VerifyAccessToken(callingTokenID, REVOKE_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED) { in ClearUserGrantedPermissionStateInner()
366 if (VerifyAccessToken(callingTokenID, GET_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED) { in RegisterPermStateChangeCallbackInner()
390 if (VerifyAccessToken(callingTokenID, GET_SENSITIVE_PERMISSIONS) == PERMISSION_DENIED) { in UnRegisterPermStateChangeCallbackInner()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_test.cpp183 .grantStatus = {PermissionState::PERMISSION_DENIED},
199 .grantStatus = {PermissionState::PERMISSION_DENIED},
207 .grantStatus = {PermissionState::PERMISSION_DENIED},
223 .grantStatus = {PermissionState::PERMISSION_DENIED},
231 .grantStatus = {PermissionState::PERMISSION_DENIED},
360 .grantStatus = {PermissionState::PERMISSION_DENIED}, in SetUp()
374 .grantStatus = {PermissionState::PERMISSION_DENIED}, in SetUp()
382 .grantStatus = {PermissionState::PERMISSION_DENIED}, in SetUp()
390 .grantStatus = {PermissionState::PERMISSION_DENIED}, in SetUp()
823 ASSERT_EQ(PERMISSION_DENIED, ret);
[all …]
Dremote_token_kit_test.cpp382 ASSERT_EQ(ret, PermissionState::PERMISSION_DENIED);
415 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied
433 ASSERT_EQ(ret, PermissionState::PERMISSION_DENIED);
473 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied
491 ASSERT_EQ(ret, PermissionState::PERMISSION_DENIED);
497 ASSERT_EQ(ret, PermissionState::PERMISSION_DENIED);
587 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied
639 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_error.cpp24 …EdmReturnErrCode::PERMISSION_DENIED, "the application does not have permission to call this functi…
/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_ability.cpp359 return EdmReturnErrCode::PERMISSION_DENIED; in EnableAdmin()
472 return EdmReturnErrCode::PERMISSION_DENIED; in DisableAdmin()
531 return EdmReturnErrCode::PERMISSION_DENIED; in DisableSuperAdmin()
613 return EdmReturnErrCode::PERMISSION_DENIED; in HandleDevicePolicy()
718 return EdmReturnErrCode::PERMISSION_DENIED; in SetEnterpriseInfo()
728 return EdmReturnErrCode::PERMISSION_DENIED; in SetEnterpriseInfo()
752 return EdmReturnErrCode::PERMISSION_DENIED; in HandleManagedEvent()
762 return EdmReturnErrCode::PERMISSION_DENIED; in HandleManagedEvent()
/base/customization/enterprise_device_management/common/native/include/
Dedm_errors.h33 constexpr uint32_t PERMISSION_DENIED = 201; variable
/base/telephony/core_service/utils/common/src/
Dtelephony_permission.cpp67 int result = PermissionState::PERMISSION_DENIED; in CheckPermission()
/base/time/time_service/services/
Dtime_permission.cpp36 int result = Security::AccessToken::PERMISSION_DENIED; in CheckCallingPermission()
/base/startup/init/device_info/
Ddevice_info_stub.cpp82 if (result == TypePermissionState::PERMISSION_DENIED) { in CheckPermission()

12