/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_manager.cpp | 123 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 …]
|
D | dlp_permission_set_manager.cpp | 77 if (iter->grantStatus[0] == PERMISSION_DENIED) { in UpdatePermStateWithDlpInfo() 83 iter->grantStatus[0] = PERMISSION_DENIED; in UpdatePermStateWithDlpInfo()
|
D | permission_policy_set.cpp | 152 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/ |
D | sensor_agent.cpp | 26 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/ |
D | accesstoken.h | 29 PERMISSION_DENIED = -1, enumerator
|
D | access_token.h | 64 PERMISSION_DENIED = -1, enumerator
|
/base/sensors/miscdevice/interfaces/native/vibrator/src/ |
D | vibrator_agent.cpp | 33 case PERMISSION_DENIED: { in NormalizeErrCode() 34 return PERMISSION_DENIED; in NormalizeErrCode()
|
/base/sensors/miscdevice/services/miscdevice_service/src/ |
D | miscdevice_service_stub.cpp | 62 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/ |
D | accesstoken_info_manager_test.cpp | 145 .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/ |
D | vibrator_napi_error.h | 29 {PERMISSION_DENIED, "Permission denied."},
|
/base/sensors/sensor/interfaces/plugin/include/ |
D | sensor_napi_error.h | 29 {PERMISSION_DENIED, "Permission denied."},
|
/base/msdp/device_status/utils/src/ |
D | devicestatus_permission.cpp | 26 int32_t auth = Security::AccessToken::TypePermissionState::PERMISSION_DENIED; in CheckCallingPermission()
|
/base/account/os_account/services/accountmgr/src/ |
D | account_permission_manager.cpp | 47 if (result == TypePermissionState::PERMISSION_DENIED) { in VerifyPermission()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
D | mock_accesstoken_kit.cpp | 50 return PERMISSION_DENIED; in VerifyAccessToken()
|
/base/powermgr/power_manager/utils/permission/src/ |
D | permission.cpp | 150 int32_t result = PermissionState::PERMISSION_DENIED; in IsPermissionGranted() 163 if (result == PermissionState::PERMISSION_DENIED) { in IsPermissionGranted()
|
/base/sensors/sensor/services/sensor/src/ |
D | sensor_service_stub.cpp | 85 return PERMISSION_DENIED; in SensorEnableInner() 100 return PERMISSION_DENIED; in SensorDisableInner()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_stub.cpp | 171 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/ |
D | accesstoken_kit_test.cpp | 183 .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 …]
|
D | remote_token_kit_test.cpp | 382 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/ |
D | napi_edm_error.cpp | 24 …EdmReturnErrCode::PERMISSION_DENIED, "the application does not have permission to call this functi…
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_ability.cpp | 359 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/ |
D | edm_errors.h | 33 constexpr uint32_t PERMISSION_DENIED = 201; variable
|
/base/telephony/core_service/utils/common/src/ |
D | telephony_permission.cpp | 67 int result = PermissionState::PERMISSION_DENIED; in CheckPermission()
|
/base/time/time_service/services/ |
D | time_permission.cpp | 36 int result = Security::AccessToken::PERMISSION_DENIED; in CheckCallingPermission()
|
/base/startup/init/device_info/ |
D | device_info_stub.cpp | 82 if (result == TypePermissionState::PERMISSION_DENIED) { in CheckPermission()
|