Home
last modified time | relevance | path

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

123456789

/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/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.cpp100 void VCardDecoderV21::Decode(int32_t &errorCode) in Decode()
111 bool VCardDecoderV21::DecodeOne(int32_t &errorCode) in DecodeOne()
149 void VCardDecoderV21::ParseItems(int32_t &errorCode) in ParseItems()
159 bool VCardDecoderV21::ParseItem(int32_t &errorCode) in ParseItem()
190 const std::string &name, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealRawDataValue()
255 const std::string &rawValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealBase64OrB()
263 const std::string &fromCharSet, const std::string &toCharSet, int32_t &errorCode) in DealEncodingQPOrNoEncodingFN()
313 …1::BuildRawData(const std::string &line, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in BuildRawData()
341 int32_t &errorCode, int32_t &status, int32_t &namePos, int32_t &index) in DealGroupOrTypeNameStatus()
369 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()
194 …nt32_t> &rawIds, const std::vector<std::shared_ptr<VCardContact>> &contactList, int32_t &errorCode) in BatchInsertContactData()
314 …ardManager::ParameterTypeAndCharsetCheck(int32_t cardType, std::string charset, int32_t &errorCode) in ParameterTypeAndCharsetCheck()
337 int32_t errorCode = Export(path, predicates, cardType, charset); in ExportLock() local
[all …]
Dvcard_encoder.cpp29 …ncoder::ContructVCard(std::shared_ptr<DataShare::DataShareResultSet> resultSet, int32_t &errorCode) in ContructVCard()
68 std::shared_ptr<DataShare::DataShareResultSet> rawResultSet, int32_t &errorCode) in ContructContact()
/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/location/test/location_locator/source/
Dlocator_required_data_manager_test.cpp61 LocationErrCode errorCode = locatorDataManager->RegisterCallback(dataConfig, nullptr); variable
82 …LocationErrCode errorCode = locatorDataManager->RegisterCallback(dataConfig, callback->AsObject()); variable
101 …LocationErrCode errorCode = locatorDataManager->RegisterCallback(dataConfig, callback->AsObject()); variable
/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.cpp496 LocationErrCode errorCode = in GetSwitchStateV9() local
516 LocationErrCode errorCode = in EnableAbilityV9() local
524 …LocationErrCode errorCode = SendSimpleMsgV9(static_cast<int>(LocatorInterfaceCode::UPDATE_SA_ABILI… in UpdateSaAbilityV9() local
591 LocationErrCode errorCode = in RegisterSwitchCallbackV9() local
599 LocationErrCode errorCode = in UnregisterSwitchCallbackV9() local
607 LocationErrCode errorCode = in RegisterGnssStatusCallbackV9() local
615 LocationErrCode errorCode = in UnregisterGnssStatusCallbackV9() local
634 LocationErrCode errorCode = in RegisterNmeaMessageCallbackV9() local
653 LocationErrCode errorCode = in UnregisterNmeaMessageCallbackV9() local
673 LocationErrCode errorCode = in StartLocatingV9() local
[all …]
/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/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_error.cpp43 napi_value CreateError(napi_env env, ErrCode errorCode) in CreateError()
49 napi_value CreateErrorWithInnerCode(napi_env env, ErrCode errorCode, std::string &errMessage) in CreateErrorWithInnerCode()
59 napi_value CreateError(napi_env env, int32_t errorCode, const std::string &errMessage) in CreateError()
/base/location/frameworks/js/napi/source/
Dlocation_napi_event.cpp146 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeGnssStatusV9() local
168 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeNmeaMessageV9() local
235 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeLocationChangeV9() local
312 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeCacheLocationChangeV9() local
341 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeFenceStatusChangeV9() local
404 LocationErrCode errorCode = g_locatorProxy->StartLocatingV9(context->request_, callbackPtr); in GenerateExecuteContext() local
547 LocationErrCode errorCode = CheckLocationSwitchEnable(); in RequestLocationOnceV9() local
629 … LocationErrCode errorCode = SubscribeLocationServiceStateV9(env, handlerRef, switchCallbackHost); in OnLocationServiceStateCallback() local
677 …LocationErrCode errorCode = SubscribeCacheLocationChangeV9(env, argv[PARAM1], handlerRef, cachedCa… in OnCachedGnssLocationsReportingCallback() local
716 LocationErrCode errorCode = SubscribeGnssStatusV9(env, handlerRef, gnssCallbackHost); in OnGnssStatusChangeCallback() local
[all …]
Dlocation_napi_adapter.cpp73 LocationErrCode errorCode = CheckLocationSwitchState(); in HandleGetCachedLocation() local
101 LocationErrCode errorCode = g_locatorClient->IsLocationEnabledV9(isEnabled); in IsLocationEnabled() local
186 LocationErrCode errorCode = g_locatorClient->EnableAbilityV9(false); in DisableLocation() local
257 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in IsGeoServiceAvailable() local
298 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() local
339 LocationErrCode errorCode = g_locatorClient->IsGeoServiceAvailableV9(isAvailable); in CreateReverseGeocodeAsyncContext() local
499 LocationErrCode errorCode = g_locatorClient->IsLocationPrivacyConfirmedV9(type, isEnabled); in CreateReverseGeocodeAsyncContext() local
537 … LocationErrCode errorCode = g_locatorClient->SetLocationPrivacyConfirmStatusV9(type, isConfirmed); in CreateReverseGeocodeAsyncContext() local
568 LocationErrCode errorCode = CheckLocationSwitchState(); in CreateReverseGeocodeAsyncContext() local
619 LocationErrCode errorCode = CheckLocationSwitchState(); in CreateReverseGeocodeAsyncContext() 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/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/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/test/fuzztest/vcard_fuzzer/
Dvcard_fuzzer.cpp73 int32_t errorCode; in DecodeVcard() local
94 int32_t errorCode; in DecodeVcardData() local
105 int32_t errorCode; in DecodeVcardRelation() local
118 int32_t errorCode; in DecodeVcardRelationData() 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/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp336 static void AddHuksErrorCodePart1(napi_env env, napi_value errorCode) in AddHuksErrorCodePart1()
380 static void AddHuksErrorCodePart2(napi_env env, napi_value errorCode) in AddHuksErrorCodePart2()
426 static void AddHuksErrorCodePart3(napi_env env, napi_value errorCode) in AddHuksErrorCodePart3()
444 napi_value errorCode = nullptr; in CreateHuksErrorCode() local
454 static void AddHuksErrCodePart(napi_env env, napi_value errorCode) in AddHuksErrCodePart()
482 napi_value errorCode = nullptr; in CreateHuksErrCode() local
/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/telephony/core_service/frameworks/js/network_search/src/
Dset_nr_option_mode_callback.cpp26 …d SetNrOptionModeCallback::OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode) in OnSetNrOptionModeCallback()

123456789