Home
last modified time | relevance | path

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

12345678910>>...13

/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/utils_vcard_gtest/
Dcontact_data_test.cpp210 int32_t errorCode = 0; variable
241 int32_t errorCode = 0; variable
275 int32_t errorCode = 0; variable
309 int32_t errorCode = 0; variable
349 int32_t errorCode = 0; variable
436 int32_t errorCode = -1; variable
447 int32_t errorCode = -1; variable
475 int32_t errorCode = -1; variable
506 int32_t errorCode = -1; variable
514 int32_t errorCode = 0; variable
[all …]
/base/location/frameworks/native/locator_sdk/source/
Dlocator_proxy.cpp434 LocationErrCode errorCode = in GetSwitchStateV9() local
454 LocationErrCode errorCode = in EnableAbilityV9() local
469 LocationErrCode errorCode = in EnableAbilityForUser() local
478 …LocationErrCode errorCode = SendSimpleMsgV9(static_cast<int>(LocatorInterfaceCode::UPDATE_SA_ABILI… in UpdateSaAbilityV9() local
545 LocationErrCode errorCode = in RegisterSwitchCallbackV9() local
553 LocationErrCode errorCode = in UnregisterSwitchCallbackV9() local
561 LocationErrCode errorCode = in RegisterGnssStatusCallbackV9() local
569 LocationErrCode errorCode = in UnregisterGnssStatusCallbackV9() local
588 LocationErrCode errorCode = in RegisterNmeaMessageCallbackV9() local
607 LocationErrCode errorCode = in UnregisterNmeaMessageCallbackV9() local
[all …]
Dlocator_callback_host.cpp42 int errorCode = data.ReadInt32(); in OnRemoteRequest() local
63 void LocatorCallbackHost::OnErrorReport(const int errorCode) in OnErrorReport()
/base/telephony/core_service/utils/vcard/src/
Dvcard_decoder_v30.cpp81 …0::DealParams(const std::string &params, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealParams()
100 int32_t errorCode = TELEPHONY_SUCCESS; in EncodeParamValue() local
105 …g &param, const std::string &paramValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealAnyParam()
111 const std::string &paramValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealNoNameParam()
117 const std::string &paramValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealTypeParam()
122 void VCardDecoderV30::DealAgent(std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) {} in DealAgent()
152 …g &param, const std::string &paramValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealParamV30()
193 std::string VCardDecoderV30::GetBase64(const std::string &value, int32_t &errorCode) in GetBase64()
Dvcard_decoder_v21.cpp101 void VCardDecoderV21::Decode(int32_t &errorCode) in Decode()
112 bool VCardDecoderV21::DecodeOne(int32_t &errorCode) in DecodeOne()
150 void VCardDecoderV21::ParseItems(int32_t &errorCode) in ParseItems()
160 bool VCardDecoderV21::ParseItem(int32_t &errorCode) in ParseItem()
195 const std::string &name, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealRawDataValue()
264 const std::string &rawValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealBase64OrB()
276 const std::string &fromCharSet, const std::string &toCharSet, int32_t &errorCode) in DealEncodingQPOrNoEncodingFN()
330 …1::BuildRawData(const std::string &line, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in BuildRawData()
358 int32_t &errorCode, int32_t &status, int32_t &namePos, int32_t &index) in DealGroupOrTypeNameStatus()
390 int32_t &errorCode, int32_t &status, int32_t &namePos, int32_t &index) in DealParamsStatus()
[all …]
Dvcard_decoder.cpp32 std::shared_ptr<VCardDecoder> VCardDecoder::Create(const std::string &path, int32_t &errorCode) in Create()
50 …red_ptr<VCardDecoder> VCardDecoder::Create(std::shared_ptr<std::ifstream> file, int32_t &errorCode) in Create()
97 void VCardDecoder::Decode(int32_t &errorCode) {} in Decode()
99 bool VCardDecoder::DecodeOne(int32_t &errorCode) in DecodeOne()
Dvcard_manager.cpp67 int32_t errorCode = TELEPHONY_SUCCESS; in OnRawDataCreated() local
80 int32_t errorCode = Import(path, accountId); in ImportLock() local
88 int32_t errorCode = TELEPHONY_SUCCESS; in Import() local
103 void VCardManager::Decode(const std::string &path, int32_t &errorCode) in Decode()
117 void VCardManager::InsertContactDbAbility(int32_t accountId, int32_t &errorCode) in InsertContactDbAbility()
141 void VCardManager::BatchInsertContactDbAbility(int32_t accountId, int32_t &errorCode) in BatchInsertContactDbAbility()
177 int32_t accountId, uint32_t size, std::vector<int32_t> &rawIds, int32_t &errorCode) in BatchInsertRawContact()
196 …nt32_t> &rawIds, const std::vector<std::shared_ptr<VCardContact>> &contactList, int32_t &errorCode) in BatchInsertContactData()
315 …ardManager::ParameterTypeAndCharsetCheck(int32_t cardType, std::string charset, int32_t &errorCode) in ParameterTypeAndCharsetCheck()
338 int32_t errorCode = Export(path, predicates, cardType, charset); in ExportLock() local
[all …]
/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()
Dvcard_test.cpp227 int32_t errorCode = VCardManager::GetInstance().Import(TEL_FILE_NAME, 0); variable
295 int32_t errorCode; variable
314 int32_t errorCode; variable
328 int32_t errorCode; variable
342 int32_t errorCode; variable
369 int32_t errorCode; variable
387 int32_t errorCode; variable
405 int32_t errorCode; variable
427 int32_t errorCode; variable
456 int32_t errorCode; variable
[all …]
/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/telephony/core_service/frameworks/js/napi/
Dnapi_util.cpp96 std::string NapiUtil::GetErrorMessage(int32_t errorCode) in GetErrorMessage()
129 napi_value NapiUtil::CreateErrorMessage(napi_env env, const std::string &msg, int32_t errorCode) in CreateErrorMessage()
302 std::string errorCode = std::to_string(queueWorkStatus); in HandleAsyncWork() local
398 JsError NapiUtil::ConverErrorMessageForJs(int32_t errorCode) in ConverErrorMessageForJs()
428 bool NapiUtil::CreateParameterErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateParameterErrorMessageForJs()
453 bool NapiUtil::CreateNetworkSearchErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateNetworkSearchErrorMessageForJs()
472 bool NapiUtil::CreateVcardErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateVcardErrorMessageForJs()
487 bool NapiUtil::CreateSimErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateSimErrorMessageForJs()
513 bool NapiUtil::CreateSmsErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateSmsErrorMessageForJs()
533 bool NapiUtil::CreateObserverErrorMessageForJs(int32_t errorCode, JsErrorCode &jsErrorCode) in CreateObserverErrorMessageForJs()
[all …]
/base/location/frameworks/js/napi/source/
Dlocation_napi_event.cpp148 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeGnssStatusV9() local
170 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeNmeaMessageV9() local
238 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeLocationChangeV9() local
325 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeCacheLocationChangeV9() local
355 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeFenceStatusChangeV9() local
421 LocationErrCode errorCode = g_locatorProxy->StartLocatingV9(context->request_, callbackPtr); in GenerateExecuteContext() local
584 LocationErrCode errorCode = CheckLocationSwitchEnable(); in RequestLocationOnceV9() local
672 … LocationErrCode errorCode = SubscribeLocationServiceStateV9(env, handlerRef, switchCallbackHost); in OnLocationServiceStateCallback() local
720 …LocationErrCode errorCode = SubscribeCacheLocationChangeV9(env, argv[PARAM1], handlerRef, cachedCa… in OnCachedGnssLocationsReportingCallback() local
759 LocationErrCode errorCode = SubscribeGnssStatusV9(env, handlerRef, gnssCallbackHost); in OnGnssStatusChangeCallback() local
[all …]
Dlocation_napi_adapter.cpp78 LocationErrCode errorCode = CheckLocationSwitchState(); in HandleGetCachedLocation() local
106 LocationErrCode errorCode = g_locatorClient->IsLocationEnabledV9(isEnabled); in IsLocationEnabled() local
147 LocationErrCode errorCode = g_locatorClient->GetCurrentWifiBssidForLocating(bssid); in GetCurrentWifiBssidForLocating() local
212 LocationErrCode errorCode = g_locatorClient->EnableAbilityV9(false); in DisableLocation() local
282 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in IsGeoServiceAvailable() local
323 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() local
364 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() local
524 LocationErrCode errorCode = g_locatorClient->IsLocationPrivacyConfirmedV9(type, isEnabled); in CreateReverseGeocodeAsyncContext() local
562 … LocationErrCode errorCode = g_locatorClient->SetLocationPrivacyConfirmStatusV9(type, isConfirmed); in CreateReverseGeocodeAsyncContext() local
593 LocationErrCode errorCode = CheckLocationSwitchState(); in CreateReverseGeocodeAsyncContext() local
[all …]
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_error.cpp47 napi_value CreateError(napi_env env, ErrCode errorCode) in CreateError()
53 napi_value CreateErrorWithInnerCode(napi_env env, ErrCode errorCode, std::string &errMessage) in CreateErrorWithInnerCode()
63 napi_value CreateError(napi_env env, int32_t errorCode, const std::string &errMessage) in CreateError()
/base/global/resource_management/frameworks/resmgr/src/
Dnative_resource_manager.cpp128 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetMediaBase64Data() local
164 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetMediaBase64DataByName() local
201 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetMediaData() local
234 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetMediaDataByName() local
344 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetSymbol() local
362 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetSymbolByName() local
422 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetStringArray() local
439 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetStringArrayByName() local
456 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetPluralStringByName() local
473 ResourceManager_ErrorCode errorCode = static_cast<ResourceManager_ErrorCode>(state); in OH_ResourceManager_GetPluralString() local
[all …]
/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/telephony/core_service/test/fuzztest/vcard_fuzzer/
Dvcard_fuzzer.cpp74 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcard() local
95 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcardData() local
106 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcardRelation() local
119 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcardRelationData() local
218 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcardRelationV30() local
229 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcardRelationDataV30() local
239 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcardRelationV40() local
251 int32_t errorCode = static_cast<int32_t>(*data % TYPE_NUM); in DecodeVcardRelationDataV40() local
/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()
47 const struct CmBlob *certName, int32_t errorCode) in CmReport()
/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/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/useriam/pin_auth/frameworks/client/src/
Dinputer_data_impl.cpp56 …authSubType, const std::vector<uint8_t> &dataIn, std::vector<uint8_t> &dataOut, int32_t &errorCode) in GetPinData()
98 …authSubType, const std::vector<uint8_t> &dataIn, std::vector<uint8_t> &dataOut, int32_t &errorCode) in GetPrivatePinData()
137 int32_t errorCode = UserAuth::GENERAL_ERROR; in OnSetData() local
169 …uterDataImpl::OnSetDataInner(int32_t authSubType, std::vector<uint8_t> &setData, int32_t errorCode) in OnSetDataInner()
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp357 static void AddHuksErrorCodePart1(napi_env env, napi_value errorCode) in AddHuksErrorCodePart1()
401 static void AddHuksErrorCodePart2(napi_env env, napi_value errorCode) in AddHuksErrorCodePart2()
447 static void AddHuksErrorCodePart3(napi_env env, napi_value errorCode) in AddHuksErrorCodePart3()
465 napi_value errorCode = nullptr; in CreateHuksErrorCode() local
475 static void AddHuksErrCodePart(napi_env env, napi_value errorCode) in AddHuksErrCodePart()
504 napi_value errorCode = nullptr; in CreateHuksErrCode() local
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_util.c111 static int32_t AddGroupErrorInfo(int32_t errorCode, const CompatibleBindSubSession *session, in AddGroupErrorInfo()
129 static int32_t GenerateGroupErrorMsg(int32_t errorCode, int64_t requestId, const CJson *jsonParams,… in GenerateGroupErrorMsg()
212 void InformPeerGroupErrorIfNeeded(bool isNeedInform, int32_t errorCode, const CompatibleBindSubSess… in InformPeerGroupErrorIfNeeded()
237 int32_t errorCode) in InformPeerProcessError()
/base/telephony/core_service/frameworks/js/sim/src/
Dnapi_sim.cpp185 const std::string &errMessage, bool funcIgnoreReturnVal = false, int errorCode = ERROR_DEFAULT) in NapiAsyncCompleteCallback()
484 …int32_t errorCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().SetActiveSim(simContext-… in NativeActivateSim() local
515 int32_t errorCode = in NativeDeactivateSim() local
582 …int32_t errorCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().GetDefaultVoiceSimId(sim… in NativeGetDefaultVoiceSimId() local
632 … int32_t errorCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().GetISOCountryCodeForSim( in NativeGetIsoForSim() local
697 int32_t errorCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().GetSimOperatorNumeric( in NativeGetSimOperatorNumeric() local
762 …int32_t errorCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().GetSimSpn(asyncContext->… in NativeGetSimSpn() local
820 int32_t errorCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().GetDsdsMode(dsdsMode); in NativeGetDsdsMode() local
871 int32_t errorCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().SimAuthentication( in NativeGetSimAuthentication() local
932 int32_t errorCode = in NativeGetSimState() local
[all …]

12345678910>>...13