| /base/account/os_account/frameworks/test/unittest/ |
| D | account_osaccount_proxy_mock_test.cpp | 94 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcco… variable 110 ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(type, domainInfo, osAccountInfo); variable 123 ErrCode errCode = OsAccountManager::OsAccountManager::RemoveOsAccount(TEST_USER_ID); variable 136 ErrCode errCode = OsAccountManager::IsOsAccountExists(TEST_USER_ID, isOsAccountExists); variable 150 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived); variable 164 ErrCode errCode = variable 179 ErrCode errCode = OsAccountManager::IsOsAccountVerified(TEST_USER_ID, isVerified); variable 193 ErrCode errCode = OsAccountManager::GetCreatedOsAccountsCount(osAccountsCount); variable 206 ErrCode errCode = OsAccountManager::GetOsAccountLocalIdFromProcess(id); variable 219 ErrCode errCode = OsAccountManager::IsMainOsAccount(isMainOsAccount); variable [all …]
|
| /base/account/os_account/frameworks/common/account_error/src/ |
| D | account_error_no.cpp | 28 int32_t AppAccountConvertOtherJSErrCode(int32_t errCode) in AppAccountConvertOtherJSErrCode() 67 int32_t AppAccountConvertToJSErrCode(int32_t errCode) in AppAccountConvertToJSErrCode() 82 int32_t OsAccountConvertToJSErrCode(int32_t errCode) in OsAccountConvertToJSErrCode() 121 static int32_t DomainAccountConvertToJSErrCode(int32_t errCode) in DomainAccountConvertToJSErrCode() 135 static bool IsAppAccountKitError(int32_t errCode) in IsAppAccountKitError() 141 static bool IsAppAccountServiceError(int32_t errCode) in IsAppAccountServiceError() 146 static bool IsOsAccountKitError(int32_t errCode) in IsOsAccountKitError() 152 static bool IsOsAccountServiceError(int32_t errCode) in IsOsAccountServiceError() 159 static bool IsDomainAccountServiceError(int32_t errCode) in IsDomainAccountServiceError()
|
| /base/telephony/call_manager/services/telephony_interaction/src/ |
| D | cellular_call_connection.cpp | 186 int errCode = cellularCallInterfacePtr_->Dial(callInfo); in Dial() local 202 int errCode = cellularCallInterfacePtr_->HangUp(callInfo, type); in HangUp() local 218 int errCode = cellularCallInterfacePtr_->Reject(callInfo); in Reject() local 234 int errCode = cellularCallInterfacePtr_->Answer(callInfo); in Answer() local 248 int errCode = cellularCallInterfacePtr_->HoldCall(callInfo); in HoldCall() local 262 int errCode = cellularCallInterfacePtr_->UnHoldCall(callInfo); in UnHoldCall() local 276 int errCode = cellularCallInterfacePtr_->SwitchCall(callInfo); in SwitchCall() local 299 int errCode = cellularCallInterfacePtr_->CombineConference(callInfo); in CombineConference() local 313 int errCode = cellularCallInterfacePtr_->SeparateConference(callInfo); in SeparateConference() local 327 int errCode = cellularCallInterfacePtr_->KickOutFromConference(callInfo); in KickOutFromConference() local [all …]
|
| /base/telephony/call_manager/frameworks/native/src/ |
| D | call_manager_proxy.cpp | 362 int32_t errCode = callManagerServicePtr_->DialCall(number, extras); in DialCall() local 381 int32_t errCode = callManagerServicePtr_->MakeCall(number); in MakeCall() local 400 int32_t errCode = callManagerServicePtr_->AnswerCall(callId, videoState); in AnswerCall() local 419 int32_t errCode = callManagerServicePtr_->RejectCall(callId, isSendSms, content); in RejectCall() local 438 int32_t errCode = callManagerServicePtr_->HangUpCall(callId); in HangUpCall() local 457 int32_t errCode = callManagerServicePtr_->GetCallState(); in GetCallState() local 476 int32_t errCode = callManagerServicePtr_->HoldCall(callId); in HoldCall() local 495 int32_t errCode = callManagerServicePtr_->UnHoldCall(callId); in UnHoldCall() local 514 int32_t errCode = callManagerServicePtr_->SwitchCall(callId); in SwitchCall() local 533 int32_t errCode = callManagerServicePtr_->CombineConference(callId); in CombineConference() local [all …]
|
| /base/time/time_service/test/unittest/service_test/src/ |
| D | time_client_test.cpp | 192 auto errCode = TimeServiceClient::GetInstance()->GetNtpTimeMs(time); variable 328 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeMs(time); variable 340 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeNs(time); variable 352 auto errCode = TimeServiceClient::GetInstance()->GetBootTimeNs(time); variable 364 auto errCode = TimeServiceClient::GetInstance()->GetBootTimeMs(time); variable 376 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(time); variable 388 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeNs(time); variable 400 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeMs(time); variable 412 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeNs(time); variable 446 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable [all …]
|
| /base/inputmethod/imf/frameworks/ndk/src/ |
| D | inputmethod_inputmethod_proxy_capi.cpp | 46 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_ShowKeyboard() local 57 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_ShowTextInput() local 71 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_HideKeyboard() local 81 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_NotifySelectionChange() local 101 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_NotifyConfigurationChange() local 115 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_NotifyCursorUpdate() local 131 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_SendPrivateCommand() local 156 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_SendMessage() local 180 auto errCode = IsValidInputMethodProxy(inputMethodProxy); in OH_InputMethodProxy_RecvMessage() local
|
| /base/security/crypto_framework/frameworks/cj/src/ |
| D | crypto_ffi.cpp | 25 int64_t FfiOHOSCreateRandom(int32_t* errCode) in FfiOHOSCreateRandom() 46 const char *FfiOHOSRandomGetAlgName(int64_t id, int32_t* errCode) in FfiOHOSRandomGetAlgName() 60 HcfBlob FfiOHOSGenerateRandom(int64_t id, int32_t numBytes, int32_t* errCode) in FfiOHOSGenerateRandom() 75 void FfiOHOSSetSeed(int64_t id, HcfBlob *seed, int32_t* errCode) in FfiOHOSSetSeed() 89 int64_t FfiOHOSCreateMd(char* algName, int32_t* errCode) in FfiOHOSCreateMd() 124 HcfBlob FfiOHOSDigest(int64_t id, int32_t* errCode) in FfiOHOSDigest() 144 uint32_t FfiOHOSGetMdLength(int64_t id, int32_t* errCode) in FfiOHOSGetMdLength() 160 int64_t FfiOHOSCreateSymKeyGenerator(char* algName, int32_t* errCode) in FfiOHOSCreateSymKeyGenerator() 181 const char* FfiOHOSSymKeyGeneratorGetAlgName(int64_t id, int32_t* errCode) in FfiOHOSSymKeyGeneratorGetAlgName() 195 int64_t FfiOHOSGenerateSymKey(int64_t id, int32_t* errCode) in FfiOHOSGenerateSymKey() [all …]
|
| D | random_impl.cpp | 29 const char* RandomImpl::GetAlgName(int32_t* errCode) in GetAlgName() 41 HcfBlob RandomImpl::GenerateRandom(int32_t numBytes, int32_t* errCode) in GenerateRandom() 57 void RandomImpl::SetSeed(HcfBlob *seed, int32_t* errCode) in SetSeed()
|
| D | ecc_key_util_impl.cpp | 24 HcfEccCommParamsSpec *ECCKeyUtilImpl::GenECCCommonParamsSpec(char *algName, int32_t *errCode) in GenECCCommonParamsSpec() 31 HcfPoint ECCKeyUtilImpl::ConvertPoint(char *curveName, HcfBlob encodedPoint, int32_t *errCode) in ConvertPoint() 38 …ob ECCKeyUtilImpl::GetEncodedPoint(char *curveName, HcfPoint point, char *format, int32_t *errCode) in GetEncodedPoint()
|
| /base/account/os_account/services/accountmgr/src/osaccount/ |
| D | inner_os_account_manager.cpp | 66 …ErrCode errCode = InnerDomainAccountManager::GetInstance().GetDomainAccountInfo(domainAccountInfo,… in GetDomainAccountStatus() local 142 ErrCode errCode = osAccountControl_->GetConstraintsByType(OsAccountType::ADMIN, constraints); in CreateBaseStandardAccount() local 190 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(id, osAccountInfo); in RetryToGetAccount() local 221 ErrCode errCode = GetRealOsAccountInfoById(defaultActivatedId_, osAccountInfo); in RetryToGetAccount() local 280 ErrCode errCode = FillOsAccountInfo(localName, shortName, type, domainInfo, osAccountInfo); in RetryToGetAccount() local 318 ErrCode errCode = osAccountControl_->GetSerialNumber(serialNumber); in RetryToGetAccount() local 352 ErrCode errCode = osAccountControl_->GetSerialNumber(serialNumber); in RetryToGetAccount() local 415 ErrCode errCode = OsAccountInterface::SendToStorageAccountCreate(osAccountInfo); in RetryToGetAccount() local 478 ErrCode errCode = PrepareOsAccountInfo(name, type, domainInfo, osAccountInfo); in RetryToGetAccount() local 527 ErrCode errCode = PrepareOsAccountInfo(localName, shortName, type, domainInfo, osAccountInfo); in RetryToGetAccount() local [all …]
|
| D | os_account_database_operator.cpp | 68 ErrCode errCode = ERR_OK; in GetOsAccountListFromDatabase() local 107 ErrCode errCode = accountDataStorage_->AddAccountInfo(osAccountInfo); in InsertOsAccountIntoDataBase() local 123 ErrCode errCode = accountDataStorage_->RemoveValueFromKvStore(std::to_string(id)); in DelOsAccountFromDatabase() local 138 ErrCode errCode = accountDataStorage_->SaveAccountInfo(osAccountInfo); in UpdateOsAccountInDatabase() local 231 ErrCode errCode = ERR_OK; in GetAccountListFromStoreID() local 261 …ErrCode errCode = accountDataStorage_->PutValueToKvStore(Constants::ACCOUNT_LIST, accountListJson.… in SaveAccountListToDatabase() local
|
| /base/inputmethod/imf/services/adapter/os_account_adapter/src/ |
| D | os_account_adapter.cpp | 26 auto errCode = OsAccountManager::IsOsAccountForeground(userId, isForeground); in IsOsAccountForeground() local 36 int errCode = OsAccountManager::QueryActiveOsAccountIds(userIds); in QueryActiveOsAccountIds() local 56 auto errCode = OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId); in GetOsAccountLocalIdFromUid() local 65 auto errCode = OsAccountManager::IsOsAccountVerified(userId, isUnlocked); in IsOsAccountVerified() local
|
| /base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
| D | notification_service_test.cpp | 137 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local 156 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local 179 ErrCode errCode = advancedNotificationService_->Subscribe(subscriber->GetImpl(), info); in BENCHMARK_F() local 210 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local 243 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local 260 ErrCode errCode = advancedNotificationService_->SetNotificationBadgeNum(2); in BENCHMARK_F() local 277 ErrCode errCode = advancedNotificationService_->GetBundleImportance(importance); in BENCHMARK_F() local 294 … ErrCode errCode = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundleOption, true); in BENCHMARK_F() local 311 … ErrCode errCode = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundleOption, true); in BENCHMARK_F() local 334 ErrCode errCode = advancedNotificationService_->GetAllActiveNotifications(notifications); in BENCHMARK_F() local [all …]
|
| /base/location/test/location_locator/source/ |
| D | locator_agent_test.cpp | 223 auto errCode = locatorAgent->StartGnssLocating(locatorCallback); variable 254 auto errCode = locatorAgent->StopGnssLocating(locatorCallback); variable 271 auto errCode = locatorAgent->RegisterNmeaMessageCallback(nmeaCallback); variable 285 auto errCode = locatorAgent->RegisterNmeaMessageCallback(nullptr); variable 302 auto errCode = locatorAgent->UnregisterNmeaMessageCallback(nmeaCallback); variable 316 auto errCode = locatorAgent->UnregisterNmeaMessageCallback(nullptr); variable 333 auto errCode = locatorAgent->RegisterGnssStatusCallback(gnssCallback); variable 347 auto errCode = locatorAgent->RegisterGnssStatusCallback(nullptr); variable 365 auto errCode = locatorAgent->UnregisterGnssStatusCallback(gnssCallback); variable 379 auto errCode = locatorAgent->UnregisterGnssStatusCallback(nullptr); variable
|
| /base/telephony/call_manager/frameworks/cj/src/ |
| D | telephony_call_ffi.cpp | 24 bool FfiOHOSTelephonyCallIsRinging(int32_t *errCode) in FfiOHOSTelephonyCallIsRinging() 29 …iOHOSTelephonyCallFormatPhoneNumberToE164(char *cPhoneNumber, char *cCountryCode, int32_t *errCode) in FfiOHOSTelephonyCallFormatPhoneNumberToE164() 39 …ool FfiOHOSTelephonyCallIsEmergencyPhoneNumber(char* phoneNumber, int32_t slotId, int32_t* errCode) in FfiOHOSTelephonyCallIsEmergencyPhoneNumber() 69 …char* FfiOHOSTelephonyCallFormatPhoneNumber(char *phoneNumber, char *countryCode, int32_t *errCode) in FfiOHOSTelephonyCallFormatPhoneNumber()
|
| /base/account/os_account/services/accountmgr/test/unittest/ohos_account/ |
| D | ohos_account_data_deal_test.cpp | 80 ErrCode errCode = dataDeal.AccountInfoFromJson(accountInfo, TEST_VALID_USER_ID); variable 95 ErrCode errCode = dataDeal.Init(TEST_VALID_USER_ID); variable 120 ErrCode errCode = dataDeal.Init(TEST_VALID_USER_ID); variable 168 ErrCode errCode = dataDeal.Init(TEST_INVALID_USER_ID); variable
|
| /base/security/code_signature/utils/include/ |
| D | cs_hisysevent.h | 25 inline void ReportEnableError(std::string filePath, int32_t errCode) in ReportEnableError() 32 inline void ReportLoadSAError(int32_t errCode) in ReportLoadSAError() 44 inline void ReportParseCodeSig(const std::string &fileInfo, int32_t errCode) in ReportParseCodeSig()
|
| /base/notification/distributed_notification_service/services/ans/src/ |
| D | advanced_notification_event_service.cpp | 41 const sptr<NotificationSubscribeInfo> &info, ErrCode errCode) in SendSubscribeHiSysEvent() 82 …tificationService::SendPublishHiSysEvent(const sptr<NotificationRequest> &request, ErrCode errCode) in SendPublishHiSysEvent() 102 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendCancelHiSysEvent() 118 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendRemoveHiSysEvent() 133 bool enabled, ErrCode errCode) in SendEnableNotificationHiSysEvent() 153 bool enabled, ErrCode errCode) in SendEnableNotificationSlotHiSysEvent()
|
| D | advanced_notification_subscriber_service.cpp | 49 ErrCode errCode = ERR_OK; in Subscribe() local 89 ErrCode errCode = ERR_OK; in SubscribeSelf() local 159 …ErrCode errCode = NotificationSubscriberManager::GetInstance()->RemoveSubscriber(subscriber, info); in Unsubscribe() local
|
| /base/usb/usb_manager/utils/native/src/ |
| D | usb_napi_errors.cpp | 24 std::optional<std::string_view> GetErrMsgByErrCode(int32_t errCode) in GetErrMsgByErrCode() 34 napi_value CreateBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg) in CreateBusinessError() 56 void ThrowBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg) in ThrowBusinessError()
|
| /base/telephony/call_manager/services/hisysevent/src/ |
| D | call_manager_hisysevent.cpp | 86 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent() 100 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteDialCallFaultEvent() 114 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteAnswerCallFaultEvent() 128 const int32_t slotId, const int32_t callId, const int32_t errCode, const std::string &desc) in WriteHangUpFaultEvent() 140 void CallManagerHisysevent::GetErrorDescription(const int32_t errCode, std::string &errordesc) in GetErrorDescription() 165 int32_t CallManagerHisysevent::ErrorCodeConversion(const int32_t errCode, CallErrorCode &eventValue) in ErrorCodeConversion() 175 int32_t CallManagerHisysevent::TelephonyErrorCodeConversion(const int32_t errCode, CallErrorCode &e… in TelephonyErrorCodeConversion() 209 int32_t CallManagerHisysevent::CallDataErrorCodeConversion(const int32_t errCode, CallErrorCode &ev… in CallDataErrorCodeConversion() 248 int32_t CallManagerHisysevent::CallInterfaceErrorCodeConversion(const int32_t errCode, CallErrorCod… in CallInterfaceErrorCodeConversion()
|
| /base/account/os_account/frameworks/osaccount/core/test/unittest/ |
| D | os_account_test.cpp | 123 …ErrCode errCode = g_osAccount->CreateOsAccount(STRING_NAME_OUT_OF_RANGE, OsAccountType::GUEST, osA… variable 137 … ErrCode errCode = g_osAccount->CreateOsAccount(STRING_EMPTY, OsAccountType::GUEST, osAccountInfo); variable 149 ErrCode errCode = g_osAccount->RemoveOsAccount(0); variable 165 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_NAME_OUT_OF_RANGE); variable 177 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_EMPTY); variable 189 ErrCode errCode = g_osAccount->SetOsAccountProfilePhoto(100, STRING_PHOTO_OUT_OF_RANGE); variable
|
| /base/location/frameworks/native/locator_sdk/source/ |
| D | locator_impl.cpp | 121 LocationErrCode errCode = proxy->EnableAbilityV9(enable); in EnableAbility() local 143 int errCode = proxy->StartLocating(requestConfig, callback, "location.ILocator", 0, 0); in StartLocating() local 688 LocationErrCode errCode = proxy->EnableAbilityV9(enable); in EnableAbilityV9() local 706 LocationErrCode errCode = proxy->EnableAbilityForUser(enable, userId); in EnableAbilityForUser() local 727 LocationErrCode errCode = proxy->StartLocatingV9(requestConfig, callback); in StartLocatingV9() local 745 LocationErrCode errCode = proxy->StopLocatingV9(callback); in StopLocatingV9() local 761 LocationErrCode errCode = proxy->GetCacheLocationV9(loc); in GetCachedLocationV9() local 801 LocationErrCode errCode = proxy->RegisterGnssStatusCallbackV9(callback); in RegisterGnssStatusCallbackV9() local 819 LocationErrCode errCode = proxy->UnregisterGnssStatusCallbackV9(callback); in UnregisterGnssStatusCallbackV9() local 840 LocationErrCode errCode = proxy->RegisterNmeaMessageCallbackV9(callback); in RegisterNmeaMessageCallbackV9() local [all …]
|
| /base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
| D | napi_hiappevent_watch.cpp | 52 bool IsValidName(const napi_env env, const napi_value name, int& errCode) in IsValidName() 72 bool IsValidCondition(const napi_env env, const napi_value cond, int& errCode) in IsValidCondition() 96 bool IsValidFilter(const napi_env env, const napi_value filter, int& errCode) in IsValidFilter() 129 bool IsValidFilters(const napi_env env, const napi_value filters, int& errCode) in IsValidFilters() 150 bool IsValidTrigger(const napi_env env, const napi_value trigger, int& errCode) in IsValidTrigger() 163 bool IsValidReceive(const napi_env env, const napi_value receive, int& errCode) in IsValidReceive() 176 bool IsValidWatcher(const napi_env env, const napi_value watcher, int& errCode) in IsValidWatcher() 293 int errCode = NapiError::ERR_OK; in AddWatcher() local 346 int errCode = NapiError::ERR_OK; in RemoveWatcher() local
|
| /base/usb/usb_manager/utils/native/include/ |
| D | usb_napi_errors.h | 65 #define USB_ASSERT_BASE(env, assertion, errCode, errMsg, retVal) \ argument 75 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… argument 76 #define USB_ASSERT_RETURN_VOID(env, assertion, errCode, errMsg) \ argument 78 #define USB_ASSERT_RETURN_FALSE(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, er… argument 79 #define USB_ASSERT_RETURN_UNDEF(env, assertion, errCode, errMsg) \ argument
|