Home
last modified time | relevance | path

Searched defs:errorCode (Results 1 – 25 of 195) sorted by relevance

12345678

/base/telephony/core_service/services/network_search/test/
Dnetwork_search_test_callback_stub.cpp21 …earchTestCallbackStub::OnGetNetworkModeCallback(const int32_t searchModel, const int32_t errorCode) in OnGetNetworkModeCallback()
28 …workSearchTestCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) in OnSetNetworkModeCallback()
36 …tworkSearchTestCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) in OnSetRadioStateCallback()
44 …tworkSearchTestCallbackStub::OnGetRadioStateCallback(const bool setResult, const int32_t errorCode) in OnGetRadioStateCallback()
53 const sptr<NetworkSearchResult> &nsResult, const int32_t errorCode) in OnGetNetworkSearchInformation()
82 …rkSearchTestCallbackStub::OnSetPreferredNetworkCallback(const bool result, const int32_t errorCode) in OnSetPreferredNetworkCallback()
91 const int32_t networkMode, const int32_t errorCode) in OnGetPreferredNetworkCallback()
99 …orkSearchTestCallbackStub::OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode) in OnSetNrOptionModeCallback()
104 …tworkSearchTestCallbackStub::OnGetNrOptionModeCallback(const int32_t mode, const int32_t errorCode) in OnGetNrOptionModeCallback()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test_callback_stub.cpp122 …earchTestCallbackStub::OnGetNetworkModeCallback(const int32_t searchModel, const int32_t errorCode) in OnGetNetworkModeCallback()
130 …workSearchTestCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) in OnSetNetworkModeCallback()
138 …tworkSearchTestCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) in OnSetRadioStateCallback()
146 …tworkSearchTestCallbackStub::OnGetRadioStateCallback(const bool isRadioOn, const int32_t errorCode) in OnGetRadioStateCallback()
155 const sptr<NetworkSearchResult> &nsResult, const int32_t errorCode) in OnGetNetworkSearchInformation()
193 …rkSearchTestCallbackStub::OnSetPreferredNetworkCallback(const bool result, const int32_t errorCode) in OnSetPreferredNetworkCallback()
201 …TestCallbackStub::OnGetPreferredNetworkCallback(const int32_t networkMode, const int32_t errorCode) in OnGetPreferredNetworkCallback()
209 …orkSearchTestCallbackStub::OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode) in OnSetNrOptionModeCallback()
216 …tworkSearchTestCallbackStub::OnGetNrOptionModeCallback(const int32_t mode, const int32_t errorCode) in OnGetNrOptionModeCallback()
/base/telephony/core_service/frameworks/native/src/
Di_network_search_callback_stub.cpp135 const sptr<NetworkSearchResult> &networkSearchResult, const int32_t errorCode) in OnGetNetworkSearchInformation()
138 …SearchCallbackStub::OnGetNetworkModeCallback(const int32_t searchModel, const int32_t errorCode) {} in OnGetNetworkModeCallback()
140 …tworkSearchCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) {} in OnSetNetworkModeCallback()
142 …etworkSearchCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) {} in OnSetRadioStateCallback()
144 …etworkSearchCallbackStub::OnGetRadioStateCallback(const bool setResult, const int32_t errorCode) {} in OnGetRadioStateCallback()
158 …orkSearchCallbackStub::OnSetPreferredNetworkCallback(const bool result, const int32_t errorCode) {} in OnSetPreferredNetworkCallback()
160 …hCallbackStub::OnGetPreferredNetworkCallback(const int32_t networkMode, const int32_t errorCode) {} in OnGetPreferredNetworkCallback()
162 …NetworkSearchCallbackStub::OnSetNrOptionModeCallback(const bool result, const int32_t errorCode) {} in OnSetNrOptionModeCallback()
164 …etworkSearchCallbackStub::OnGetNrOptionModeCallback(const int32_t mode, const int32_t errorCode) {} in OnGetNrOptionModeCallback()
/base/location/frameworks/native/source/
Dlocator_proxy.cpp493 LocationErrCode errorCode = in GetSwitchStateV9() local
513 LocationErrCode errorCode = in EnableAbilityV9() local
521 …LocationErrCode errorCode = SendSimpleMsgV9(static_cast<int>(LocatorInterfaceCode::UPDATE_SA_ABILI… in UpdateSaAbilityV9() local
588 LocationErrCode errorCode = in RegisterSwitchCallbackV9() local
596 LocationErrCode errorCode = in UnregisterSwitchCallbackV9() local
604 LocationErrCode errorCode = in RegisterGnssStatusCallbackV9() local
612 LocationErrCode errorCode = in UnregisterGnssStatusCallbackV9() local
631 LocationErrCode errorCode = in RegisterNmeaMessageCallbackV9() local
650 LocationErrCode errorCode = in UnregisterNmeaMessageCallbackV9() local
670 LocationErrCode errorCode = in StartLocatingV9() local
[all …]
/base/telephony/core_service/frameworks/js/napi/
Dnapi_util.cpp85 std::string NapiUtil::GetErrorMessage(int32_t errorCode) in GetErrorMessage()
108 napi_value NapiUtil::CreateErrorMessage(napi_env env, const std::string &msg, int32_t errorCode) in CreateErrorMessage()
281 std::string errorCode = std::to_string(queueWorkStatus); in HandleAsyncWork() local
377 JsError NapiUtil::ConverErrorMessageForJs(int32_t errorCode) in ConverErrorMessageForJs()
406 bool NapiUtil::CreateParameterErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateParameterErrorMessageForJs()
431 bool NapiUtil::CreateNetworkSearchErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateNetworkSearchErrorMessageForJs()
450 bool NapiUtil::CreateSimErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateSimErrorMessageForJs()
476 bool NapiUtil::CreateSmsErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateSmsErrorMessageForJs()
496 bool NapiUtil::CreateObserverErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateObserverErrorMessageForJs()
523 bool NapiUtil::CreateCommonErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateCommonErrorMessageForJs()
[all …]
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_error.cpp41 napi_value CreateError(napi_env env, ErrCode errorCode) in CreateError()
47 napi_value CreateErrorWithInnerCode(napi_env env, ErrCode errorCode, std::string &errMessage) in CreateErrorWithInnerCode()
57 napi_value CreateError(napi_env env, int32_t errorCode, const std::string &errMessage) in CreateError()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/hisysevent_wrapper/src/
Dcm_report_wrapper.c22 const char *name, int32_t errorCode) in ReportFaultEvent()
38 const struct CmBlob *certName, int32_t errorCode) in CmReport()
/base/location/frameworks/js/napi/source/
Dlocation_napi_event.cpp144 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeGnssStatusV9() local
166 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeNmeaMessageV9() local
233 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeLocationChangeV9() local
310 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeCacheLocationChangeV9() local
338 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeFenceStatusChangeV9() local
368 LocationErrCode errorCode = CheckLocationSwitchEnable(); in UnSubscribeFenceStatusChangeV9() local
523 LocationErrCode errorCode = CheckLocationSwitchEnable(); in RequestLocationOnceV9() local
611 … LocationErrCode errorCode = SubscribeLocationServiceStateV9(env, handlerRef, switchCallbackHost); in OnLocationServiceStateCallback() local
659 …LocationErrCode errorCode = SubscribeCacheLocationChangeV9(env, argv[PARAM1], handlerRef, cachedCa… in OnCachedGnssLocationsReportingCallback() local
698 LocationErrCode errorCode = SubscribeGnssStatusV9(env, handlerRef, gnssCallbackHost); in OnGnssStatusChangeCallback() local
[all …]
Dlocation_napi_adapter.cpp73 LocationErrCode errorCode = CheckLocationSwitchState(); in HandleGetCachedLocation() local
102 LocationErrCode errorCode = g_locatorClient->IsLocationEnabledV9(isEnabled); in IsLocationEnabled() local
184 LocationErrCode errorCode = g_locatorClient->EnableAbilityV9(false); in DisableLocation() local
255 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in IsGeoServiceAvailable() local
296 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() local
337 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() local
497 LocationErrCode errorCode = g_locatorClient->IsLocationPrivacyConfirmedV9(type, isEnabled); in CreateReverseGeocodeAsyncContext() local
535 … LocationErrCode errorCode = g_locatorClient->SetLocationPrivacyConfirmStatusV9(type, isConfirmed); in CreateReverseGeocodeAsyncContext() local
566 LocationErrCode errorCode = CheckLocationSwitchState(); in CreateReverseGeocodeAsyncContext() local
617 LocationErrCode errorCode = CheckLocationSwitchState(); in CreateReverseGeocodeAsyncContext() local
[all …]
/base/location/test/location_locator/source/
Dlocator_required_data_manager_test.cpp58 LocationErrCode errorCode = locatorDataManager->RegisterCallback(dataConfig, client); variable
79 LocationErrCode errorCode = locatorDataManager->RegisterCallback(dataConfig, client); variable
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
Dmock_image_source.cpp31 void MockImageSourceCreateImageSource(bool mockRet, uint32_t errorCode) in MockImageSourceCreateImageSource()
37 void MockImageSourceCreatePixelMap(bool mockRet, uint32_t errorCode) in MockImageSourceCreatePixelMap()
66 const SourceOptions &opts, uint32_t &errorCode) in CreateImageSource()
72 const SourceOptions &opts, uint32_t &errorCode) in CreateImageSource()
85 uint32_t &errorCode) in CreateImageSource()
98 uint32_t &errorCode) in CreateImageSource()
104 uint32_t &errorCode) in CreateIncrementalImageSource()
112 …lMap> ImageSource::CreatePixelMapEx(uint32_t index, const DecodeOptions &opts, uint32_t &errorCode) in CreatePixelMapEx()
122 …xelMap> ImageSource::CreatePixelMap(uint32_t index, const DecodeOptions &opts, uint32_t &errorCode) in CreatePixelMap()
128 uint32_t &errorCode) in CreateIncrementalPixelMap()
[all …]
/base/global/i18n/frameworks/intl/src/
Di18n_normalizer.cpp20 I18nNormalizer::I18nNormalizer(I18nNormalizerMode mode, I18nErrorCode &errorCode) in I18nNormalizer()
42 std::string I18nNormalizer::Normalize(const char *text, int32_t length, I18nErrorCode &errorCode) in Normalize()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_credential.cpp43 static bool IsDlpCredentialHuksError(int errorCode) in IsDlpCredentialHuksError()
48 static bool IsDlpCredentialIpcError(int errorCode) in IsDlpCredentialIpcError()
53 static bool IsDlpCredentialServerError(int errorCode) in IsDlpCredentialServerError()
58 static bool IsNoPermissionError(int errorCode) in IsNoPermissionError()
64 static bool IsNoAccountError(int errorCode) in IsNoAccountError()
69 static int32_t ConvertCredentialError(int errorCode) in ConvertCredentialError()
157 static void DlpPackPolicyCallback(uint64_t requestId, int errorCode, DLP_EncPolicyData* outParams) in DlpPackPolicyCallback()
201 static void DlpRestorePolicyCallback(uint64_t requestId, int errorCode, DLP_RestorePolicyData* outP… in DlpRestorePolicyCallback()
/base/update/updateservice/services/core/ability/utils/src/
Dfile_utils.cpp38 std::error_code errorCode; in GetFileSize() local
55 std::error_code errorCode; in IsSpaceEnough() local
104 std::error_code errorCode; in RemoveAll() local
188 std::error_code errorCode; in CreatDirWithPermission() local
/base/web/webview/ohos_adapter/location_adapter/src/
Dlocation_callback_adapter_impl.cpp47 int32_t errorCode = data.ReadInt32(); in OnRemoteRequest() local
83 void LocationCallbackImpl::OnErrorReport(const int errorCode) in OnErrorReport()
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi.cpp41 static void AddCMErrorCodePart(napi_env env, napi_value errorCode) in AddCMErrorCodePart()
53 napi_value errorCode = nullptr; in CreateCMErrorCode() local
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_report.c32 const struct HksParamSet *paramSetIn, int32_t errorCode) in HksReport()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_util.c109 static int32_t AddGroupErrorInfo(int32_t errorCode, const CompatibleBindSubSession *session, in AddGroupErrorInfo()
127 static int32_t GenerateGroupErrorMsg(int32_t errorCode, int64_t requestId, const CJson *jsonParams,… in GenerateGroupErrorMsg()
209 void InformPeerGroupErrorIfNeeded(bool isNeedInform, int32_t errorCode, const CompatibleBindSubSess… in InformPeerGroupErrorIfNeeded()
234 int32_t errorCode) in InformPeerProcessError()
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp332 static void AddHuksErrorCodePart1(napi_env env, napi_value errorCode) in AddHuksErrorCodePart1()
376 static void AddHuksErrorCodePart2(napi_env env, napi_value errorCode) in AddHuksErrorCodePart2()
422 static void AddHuksErrorCodePart3(napi_env env, napi_value errorCode) in AddHuksErrorCodePart3()
440 napi_value errorCode = nullptr; in CreateHuksErrorCode() local
450 static void AddHuksErrCodePart(napi_env env, napi_value errorCode) in AddHuksErrCodePart()
477 napi_value errorCode = nullptr; in CreateHuksErrCode() local
/base/telephony/core_service/frameworks/js/network_search/src/
Dget_nr_option_mode_callback.cpp26 void GetNrOptionModeCallback::OnGetNrOptionModeCallback(const int32_t mode, const int32_t errorCode) in OnGetNrOptionModeCallback()
Dset_preferred_network_callback.cpp27 …ferredNetworkCallback::OnSetPreferredNetworkCallback(const bool setResult, const int32_t errorCode) in OnSetPreferredNetworkCallback()
Dset_network_search_mode_callback.cpp26 …tNetworkSearchModeCallback::OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) in OnSetNetworkModeCallback()
Dget_network_search_info_callback.cpp28 const sptr<NetworkSearchResult> &networkSearchResult, const int32_t errorCode) in OnGetNetworkSearchInformation()
Dget_radio_state_callback.cpp24 void GetRadioStateCallback::OnGetRadioStateCallback(const bool isOn, const int32_t errorCode) in OnGetRadioStateCallback()
Dset_radio_state_callback.cpp26 void SetRadioStateCallback::OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) in OnSetRadioStateCallback()

12345678