| /base/telephony/core_service/services/network_search/test/ |
| D | network_search_test_callback_stub.cpp | 21 …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/ |
| D | contact_data_test.cpp | 210 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/ |
| D | locator_proxy.cpp | 434 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 …]
|
| D | locator_callback_host.cpp | 42 int errorCode = data.ReadInt32(); in OnRemoteRequest() local 63 void LocatorCallbackHost::OnErrorReport(const int errorCode) in OnErrorReport()
|
| /base/telephony/core_service/utils/vcard/src/ |
| D | vcard_decoder_v30.cpp | 81 …0::DealParams(const std::string ¶ms, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealParams() 100 int32_t errorCode = TELEPHONY_SUCCESS; in EncodeParamValue() local 105 …g ¶m, const std::string ¶mValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealAnyParam() 111 const std::string ¶mValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealNoNameParam() 117 const std::string ¶mValue, 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 ¶m, const std::string ¶mValue, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealParamV30() 193 std::string VCardDecoderV30::GetBase64(const std::string &value, int32_t &errorCode) in GetBase64()
|
| D | vcard_decoder_v21.cpp | 101 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 …]
|
| D | vcard_decoder.cpp | 32 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()
|
| D | vcard_manager.cpp | 67 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/ |
| D | network_search_test_callback_stub.cpp | 122 …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()
|
| D | vcard_test.cpp | 227 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/web/webview/test/unittest/ohos_adapter/drawing_text_adapter_test/ |
| D | drawing_text_adapter_test.cpp | 65 …int32_t errorCode = drawingTextFontAdapter->GetSystemFontFullNamesByType(systemFontType, &drawingA… variable 89 int32_t errorCode = drawingTextFontAdapter->GetFontDescriptorByFullName( variable 111 int32_t errorCode = drawingTextFontAdapter->GetSystemFontFullNameByIndex( variable 150 … int32_t errorCode = drawingTextTypographyAdapter->GetSystemFontConfigInfo(fontConfigInfoErrorCode, variable 171 … int32_t errorCode = drawingTextTypographyAdapter->GetDrawingArraySize(drawingArray, sizeOfArray); variable 210 int32_t errorCode = drawingTextFontAdapter->GetFontDescriptorByFullName( variable
|
| /base/telephony/core_service/frameworks/native/src/ |
| D | i_network_search_callback_stub.cpp | 135 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/ |
| D | napi_util.cpp | 96 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/msdp/device_status/frameworks/js/napi/motion/src/ |
| D | motion_napi_error.cpp | 26 napi_value CreateMotionNapiError(const napi_env &env, int32_t errorCode, const std::string &errorMs… in CreateMotionNapiError() 38 std::optional<std::string> GetMotionErrMsg(int32_t errorCode) in GetMotionErrMsg() 48 void ThrowMotionErr(const napi_env &env, int32_t errorCode, const std::string &printMsg) in ThrowMotionErr()
|
| /base/location/frameworks/js/napi/source/ |
| D | location_napi_event.cpp | 148 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 …]
|
| D | location_napi_adapter.cpp | 78 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/ |
| D | napi_edm_error.cpp | 47 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/ |
| D | native_resource_manager.cpp | 128 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/ |
| D | mock_image_source.cpp | 31 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/ |
| D | vcard_fuzzer.cpp | 74 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/global/i18n/frameworks/intl/src/ |
| D | i18n_normalizer.cpp | 20 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/certificate_manager/services/cert_manager_standard/cert_manager_service/main/hisysevent_wrapper/src/ |
| D | cm_report_wrapper.c | 22 const char *name, int32_t errorCode) in ReportFaultEvent() 47 const struct CmBlob *certName, int32_t errorCode) in CmReport()
|
| /base/web/webview/ohos_adapter/location_adapter/src/ |
| D | location_callback_adapter_impl.cpp | 47 int32_t errorCode = data.ReadInt32(); in OnRemoteRequest() local 83 void LocationCallbackImpl::OnErrorReport(const int errorCode) in OnErrorReport()
|
| /base/useriam/pin_auth/frameworks/client/src/ |
| D | inputer_data_impl.cpp | 56 …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/ |
| D | huks_napi.cpp | 357 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
|