Home
last modified time | relevance | path

Searched defs:errCode (Results 1 – 25 of 211) sorted by relevance

123456789

/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp87 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcco… variable
103 ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(type, domainInfo, osAccountInfo); variable
116 ErrCode errCode = OsAccountManager::OsAccountManager::RemoveOsAccount(TEST_USER_ID); variable
129 ErrCode errCode = OsAccountManager::IsOsAccountExists(TEST_USER_ID, isOsAccountExists); variable
143 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived); variable
157 ErrCode errCode = variable
172 ErrCode errCode = OsAccountManager::IsOsAccountVerified(TEST_USER_ID, isVerified); variable
186 ErrCode errCode = OsAccountManager::GetCreatedOsAccountsCount(osAccountsCount); variable
199 ErrCode errCode = OsAccountManager::GetOsAccountLocalIdFromProcess(id); variable
212 ErrCode errCode = OsAccountManager::IsMainOsAccount(isMainOsAccount); variable
[all …]
/base/account/os_account/frameworks/common/account_error/src/
Daccount_error_no.cpp19 int32_t AppAccountConvertOtherJSErrCode(int32_t errCode) in AppAccountConvertOtherJSErrCode()
58 int32_t AppAccountConvertToJSErrCode(int32_t errCode) in AppAccountConvertToJSErrCode()
73 int32_t OsAccountConvertToJSErrCode(int32_t errCode) in OsAccountConvertToJSErrCode()
104 static int32_t DomainAccountConvertToJSErrCode(int32_t errCode) in DomainAccountConvertToJSErrCode()
118 static bool IsAppAccountKitError(int32_t errCode) in IsAppAccountKitError()
124 static bool IsAppAccountServiceError(int32_t errCode) in IsAppAccountServiceError()
129 static bool IsOsAccountKitError(int32_t errCode) in IsOsAccountKitError()
135 static bool IsOsAccountServiceError(int32_t errCode) in IsOsAccountServiceError()
141 static bool IsDomainAccountServiceError(int32_t errCode) in IsDomainAccountServiceError()
/base/telephony/call_manager/services/telephony_interaction/src/
Dcellular_call_connection.cpp186 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/
Dcall_manager_proxy.cpp304 int32_t errCode = callManagerServicePtr_->DialCall(number, extras); in DialCall() local
319 int32_t errCode = callManagerServicePtr_->AnswerCall(callId, videoState); in AnswerCall() local
334 int32_t errCode = callManagerServicePtr_->RejectCall(callId, isSendSms, content); in RejectCall() local
349 int32_t errCode = callManagerServicePtr_->HangUpCall(callId); in HangUpCall() local
364 int32_t errCode = callManagerServicePtr_->GetCallState(); in GetCallState() local
379 int32_t errCode = callManagerServicePtr_->HoldCall(callId); in HoldCall() local
394 int32_t errCode = callManagerServicePtr_->UnHoldCall(callId); in UnHoldCall() local
409 int32_t errCode = callManagerServicePtr_->SwitchCall(callId); in SwitchCall() local
424 int32_t errCode = callManagerServicePtr_->CombineConference(callId); in CombineConference() local
439 int32_t errCode = callManagerServicePtr_->SeparateConference(callId); in SeparateConference() local
[all …]
/base/time/time_service/test/unittest/service_test/src/
Dtime_client_test.cpp262 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeMs(time); variable
274 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeNs(time); variable
286 auto errCode = TimeServiceClient::GetInstance()->GetBootTimeNs(time); variable
298 auto errCode = TimeServiceClient::GetInstance()->GetBootTimeMs(time); variable
310 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(time); variable
322 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeNs(time); variable
334 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeMs(time); variable
346 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeNs(time); variable
383 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable
412 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable
[all …]
/base/account/os_account/services/accountmgr/src/osaccount/
Dinner_os_account_manager.cpp93 ErrCode errCode = osAccountControl_->GetConstraintsByType(OsAccountType::ADMIN, constants); in CreateBaseStandardAccount() local
113 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(defaultActivatedId_, osAccountInfo); in StartAccount() local
181 ErrCode errCode = osAccountControl_->GetSerialNumber(serialNumber); in PrepareOsAccountInfo() local
224 ErrCode errCode = OsAccountInterface::SendToStorageAccountCreate(osAccountInfo); in SendMsgForAccountCreate() local
256 ErrCode errCode = PrepareOsAccountInfo(name, type, domainInfo, osAccountInfo); in CreateOsAccount() local
304 … ErrCode errCode = PrepareOsAccountInfo(osAccountName, type, domainAccountInfo, osAccountInfo); in BindDomainAccount() local
358 ErrCode errCode = SendMsgForAccountRemove(osAccountInfo); in RemoveOsAccountOperate() local
406 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(id, osAccountInfo); in RemoveOsAccount() local
435 ErrCode errCode = OsAccountInterface::SendToAMSAccountStop(osAccountInfo); in SendMsgForAccountStop() local
461 ErrCode errCode = OsAccountInterface::SendToBMSAccountDelete(osAccountInfo); in SendMsgForAccountRemove() local
[all …]
Dos_account_database_operator.cpp69 ErrCode errCode = ERR_OK; in GetOsAccountListFromDatabase() local
108 ErrCode errCode = accountDataStorage_->AddAccountInfo(osAccountInfo); in InsertOsAccountIntoDataBase() local
124 ErrCode errCode = accountDataStorage_->RemoveValueFromKvStore(std::to_string(id)); in DelOsAccountFromDatabase() local
139 ErrCode errCode = accountDataStorage_->SaveAccountInfo(osAccountInfo); in UpdateOsAccountInDatabase() local
232 ErrCode errCode = ERR_OK; in GetAccountListFromStoreID() local
259 …ErrCode errCode = accountDataStorage_->PutValueToKvStore(Constants::ACCOUNT_LIST, accountListJson.… in SaveAccountListToDatabase() local
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
Dohos_account_data_deal_test.cpp71 ErrCode errCode = dataDeal.AccountInfoFromJson(accountInfo, TEST_VALID_USER_ID); variable
85 ErrCode errCode = dataDeal.Init(TEST_VALID_USER_ID); variable
109 ErrCode errCode = dataDeal.Init(TEST_VALID_USER_ID); variable
155 ErrCode errCode = dataDeal.Init(TEST_INVALID_USER_ID); variable
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp132 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local
151 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local
174 ErrCode errCode = advancedNotificationService_->Subscribe(subscriber->GetImpl(), info); in BENCHMARK_F() local
205 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local
238 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local
255 ErrCode errCode = advancedNotificationService_->SetNotificationBadgeNum(2); in BENCHMARK_F() local
272 ErrCode errCode = advancedNotificationService_->GetBundleImportance(importance); in BENCHMARK_F() local
289 … ErrCode errCode = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundleOption, true); in BENCHMARK_F() local
306 … ErrCode errCode = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundleOption, true); in BENCHMARK_F() local
329 ErrCode errCode = advancedNotificationService_->GetAllActiveNotifications(notifications); in BENCHMARK_F() local
[all …]
/base/location/frameworks/native/source/
Dlocator_impl.cpp116 LocationErrCode errCode = proxy->EnableAbilityV9(enable); in EnableAbility() local
630 LocationErrCode errCode = locationDataManager_->QuerySwitchState(isEnabled); in IsLocationEnabledV9() local
645 LocationErrCode errCode = proxy->EnableAbilityV9(enable); in EnableAbilityV9() local
667 LocationErrCode errCode = proxy->StartLocatingV9(requestConfig, callback); in StartLocatingV9() local
682 LocationErrCode errCode = proxy->StopLocatingV9(callback); in StopLocatingV9() local
701 LocationErrCode errCode = proxy->GetCacheLocationV9(loc); in GetCachedLocationV9() local
733 LocationErrCode errCode = proxy->RegisterGnssStatusCallbackV9(callback); in RegisterGnssStatusCallbackV9() local
748 LocationErrCode errCode = proxy->UnregisterGnssStatusCallbackV9(callback); in UnregisterGnssStatusCallbackV9() local
763 LocationErrCode errCode = proxy->RegisterNmeaMessageCallbackV9(callback); in RegisterNmeaMessageCallbackV9() local
778 LocationErrCode errCode = proxy->UnregisterNmeaMessageCallbackV9(callback); in UnregisterNmeaMessageCallbackV9() local
[all …]
/base/usb/usb_manager/utils/native/src/
Dusb_napi_errors.cpp24 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/security/code_signature/utils/include/
Dcs_hisysevent.h25 inline void ReportEnableError(std::string filePath, int32_t errCode) in ReportEnableError()
32 inline void ReportLoadSAError(int32_t errCode) in ReportLoadSAError()
/base/telephony/call_manager/services/call_manager_service/src/
Dcall_manager_hisysevent.cpp72 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent()
86 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteDialCallFaultEvent()
100 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteAnswerCallFaultEvent()
114 const int32_t slotId, const int32_t callId, const int32_t errCode, const std::string &desc) in WriteHangUpFaultEvent()
126 void CallManagerHisysevent::GetErrorDescription(const int32_t errCode, std::string &errordesc) in GetErrorDescription()
151 int32_t CallManagerHisysevent::ErrorCodeConversion(const int32_t errCode, CallErrorCode &eventValue) in ErrorCodeConversion()
161 int32_t CallManagerHisysevent::TelephonyErrorCodeConversion(const int32_t errCode, CallErrorCode &e… in TelephonyErrorCodeConversion()
195 int32_t CallManagerHisysevent::CallDataErrorCodeConversion(const int32_t errCode, CallErrorCode &ev… in CallDataErrorCodeConversion()
234 int32_t CallManagerHisysevent::CallInterfaceErrorCodeConversion(const int32_t errCode, CallErrorCod… in CallInterfaceErrorCodeConversion()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_test.cpp192 …ErrCode errCode = g_osAccount->CreateOsAccount(STRING_NAME_OUT_OF_RANGE, OsAccountType::GUEST, osA… variable
205 … ErrCode errCode = g_osAccount->CreateOsAccount(STRING_EMPTY, OsAccountType::GUEST, osAccountInfo); variable
217 ErrCode errCode = g_osAccount->RemoveOsAccount(0); variable
233 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_NAME_OUT_OF_RANGE); variable
245 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_EMPTY); variable
257 ErrCode errCode = g_osAccount->SetOsAccountProfilePhoto(100, STRING_PHOTO_OUT_OF_RANGE); variable
/base/usb/usb_manager/utils/native/include/
Dusb_napi_errors.h42 #define USB_ASSERT_BASE(env, assertion, errCode, errMsg, retVal) \ argument
52 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… argument
53 #define USB_ASSERT_RETURN_VOID(env, assertion, errCode, errMsg) \ argument
55 #define USB_ASSERT_RETURN_FALSE(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, er… argument
56 #define USB_ASSERT_RETURN_UNDEF(env, assertion, errCode, errMsg) \ argument
/base/account/os_account/services/accountmgr/test/unittest/account_iam/
Daccount_iam_callback_test.cpp140 int32_t errCode = 0; variable
161 int32_t errCode = 0; variable
228 int32_t errCode = 0; variable
283 int32_t errCode = 0; variable
305 int32_t errCode = 0; variable
377 int32_t errCode = 0; variable
402 int32_t errCode = 0; variable
427 int32_t errCode = 10; variable
496 int32_t errCode = 0; variable
520 int32_t errCode = 0; variable
[all …]
/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
Djs_coordination_manager.cpp37 int32_t errCode = INTERACTION_MGR->PrepareCoordination(callback); in Prepare() local
52 int32_t errCode = INTERACTION_MGR->UnprepareCoordination(callback); in Unprepare() local
68 … int32_t errCode = INTERACTION_MGR->ActivateCoordination(remoteNetworkId, startDeviceId, callback); in Activate() local
83 int32_t errCode = INTERACTION_MGR->DeactivateCoordination(isUnchained, callback); in Deactivate() local
98 int32_t errCode = INTERACTION_MGR->GetCoordinationState(networkId, callback); in GetCrossingSwitchState() local
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
Dmock_domain_has_domain_info_callback.cpp34 void TestHasDomainInfoCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult()
52 void TestGetDomainAccountInfoCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult()
Ddomain_account_client_module_test.cpp313 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_NAME, OsAccountType::NORMAL, accountInf… variable
340 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, te… variable
433 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_NAME_TWO, OsAccountType::NORMAL, osAcco… variable
451 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_NAME_TWO, OsAccountType::NORMAL, osAcco… variable
482 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, te… variable
522 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, te… variable
547 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, te… variable
575 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, te… variable
598 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, te… variable
616 ErrCode errCode = OsAccountManager::SetOsAccountConstraints(TEST_UID, constraints, true); variable
[all …]
/base/account/os_account/dfx/hisysevent_adapter/
Dhisysevent_adapter.cpp29 void ReportServiceStartFail(int32_t errCode, const std::string& errMsg) in ReportServiceStartFail()
64 int32_t id, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOsAccountOperationFail()
86 int32_t userId, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOhosAccountOperationFail()
108 int32_t errCode, const std::string& errMsg) in ReportAppAccountOperationFail()
/base/account/os_account/frameworks/domain_account/src/
Ddomain_account_plugin_service.cpp100 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in IsAccountTokenValid() local
114 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in GetAccessToken() local
143 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in GetDomainAccountInfo() local
156 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in OnAccountBound() local
169 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in OnAccountUnBound() local
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/
Djs_cooperate_manager.cpp37 int32_t errCode = 0; in Enable() local
58 …int32_t errCode = INTERACTION_MGR->ActivateCoordination(remoteNetworkDescriptor, startDeviceId, ca… in Start() local
74 int32_t errCode = INTERACTION_MGR->DeactivateCoordination(isUnchained, callback); in Stop() local
89 int32_t errCode = INTERACTION_MGR->GetCoordinationState(deviceDescriptor, callback); in GetState() local
/base/update/sys_installer/frameworks/action_processer/src/
Daction_processer.cpp43 auto callBack = [this](InstallerErrCode errCode, const std::string &errStr) { in AddAction()
116 void ActionProcesser::CompletedAction(InstallerErrCode errCode, const std::string &errStr) in CompletedAction()
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_napi_error.cpp25 napi_value CreateBusinessError(const napi_env &env, const int32_t errCode, const std::string &errMe… in CreateBusinessError()
46 void ThrowErr(const napi_env &env, const int32_t errCode, const std::string &printMsg) in ThrowErr()
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_napi_error.cpp29 napi_value CreateNapiError(const napi_env &env, int32_t errCode, const std::string &errMessage) in CreateNapiError()
51 void ThrowErr(const napi_env &env, int32_t errCode, const std::string &printMsg) in ThrowErr()

123456789