Home
last modified time | relevance | path

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

123456

/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp87 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcco… variable
102 ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(type, domainInfo, osAccountInfo); variable
114 ErrCode errCode = OsAccountManager::OsAccountManager::RemoveOsAccount(TEST_USER_ID); variable
127 ErrCode errCode = OsAccountManager::IsOsAccountExists(TEST_USER_ID, isOsAccountExists); variable
141 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived); variable
155 ErrCode errCode = variable
170 ErrCode errCode = OsAccountManager::IsOsAccountVerified(TEST_USER_ID, isVerified); variable
184 ErrCode errCode = OsAccountManager::GetCreatedOsAccountsCount(osAccountsCount); variable
197 ErrCode errCode = OsAccountManager::GetOsAccountLocalIdFromProcess(id); variable
210 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()
78 int32_t OsAccountConvertToJSErrCode(int32_t errCode) in OsAccountConvertToJSErrCode()
121 static int32_t DomainAccountConvertToJSErrCode(int32_t errCode) in DomainAccountConvertToJSErrCode()
131 static bool IsAppAccountKitError(int32_t errCode) in IsAppAccountKitError()
137 static bool IsAppAccountServiceError(int32_t errCode) in IsAppAccountServiceError()
142 static bool IsOsAccountKitError(int32_t errCode) in IsOsAccountKitError()
148 static bool IsOsAccountServiceError(int32_t errCode) in IsOsAccountServiceError()
154 static bool IsDomainAccountServiceError(int32_t errCode) in IsDomainAccountServiceError()
/base/telephony/call_manager/frameworks/native/src/
Dcall_manager_proxy.cpp299 int32_t errCode = callManagerServicePtr_->DialCall(number, extras); in DialCall() local
314 int32_t errCode = callManagerServicePtr_->AnswerCall(callId, videoState); in AnswerCall() local
329 int32_t errCode = callManagerServicePtr_->RejectCall(callId, isSendSms, content); in RejectCall() local
344 int32_t errCode = callManagerServicePtr_->HangUpCall(callId); in HangUpCall() local
359 int32_t errCode = callManagerServicePtr_->GetCallState(); in GetCallState() local
374 int32_t errCode = callManagerServicePtr_->HoldCall(callId); in HoldCall() local
389 int32_t errCode = callManagerServicePtr_->UnHoldCall(callId); in UnHoldCall() local
404 int32_t errCode = callManagerServicePtr_->SwitchCall(callId); in SwitchCall() local
419 int32_t errCode = callManagerServicePtr_->CombineConference(callId); in CombineConference() local
434 int32_t errCode = callManagerServicePtr_->SeparateConference(callId); in SeparateConference() local
[all …]
/base/time/time_service/services/time/test/unittest/src/
Dtime_client_test.cpp194 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeMs(time); variable
206 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeNs(time); variable
218 auto errCode = TimeServiceClient::GetInstance()->GetBootTimeNs(time); variable
230 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(time); variable
242 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeNs(time); variable
254 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeMs(time); variable
266 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeNs(time); variable
300 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable
326 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable
345 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable
[all …]
/base/telephony/call_manager/services/telephony_interaction/src/
Dcellular_call_connection.cpp183 int errCode = cellularCallInterfacePtr_->Dial(callInfo); in Dial() local
200 int errCode = cellularCallInterfacePtr_->HangUp(callInfo, type); in HangUp() local
217 int errCode = cellularCallInterfacePtr_->Reject(callInfo); in Reject() local
234 int errCode = cellularCallInterfacePtr_->Answer(callInfo); in Answer() local
249 int errCode = cellularCallInterfacePtr_->HoldCall(callInfo); in HoldCall() local
264 int errCode = cellularCallInterfacePtr_->UnHoldCall(callInfo); in UnHoldCall() local
279 int errCode = cellularCallInterfacePtr_->SwitchCall(callInfo); in SwitchCall() local
304 int errCode = cellularCallInterfacePtr_->CombineConference(callInfo); in CombineConference() local
319 int errCode = cellularCallInterfacePtr_->SeparateConference(callInfo); in SeparateConference() local
334 int errCode = cellularCallInterfacePtr_->StartDtmf(cDTMFCode, callInfo); in StartDtmf() local
[all …]
/base/account/os_account/services/accountmgr/src/osaccount/
Dinner_os_account_manager.cpp83 ErrCode errCode = osAccountControl_->GetConstraintsByType(OsAccountType::ADMIN, constants); in CreateBaseStandardAccount() local
104 …ErrCode errCode = osAccountControl_->GetOsAccountInfoById(Constants::START_USER_ID, osAccountInfo); in StartAccount() local
146 ErrCode errCode = ActivateOsAccount(id); in StartActivatedAccount() local
176 ErrCode errCode = OsAccountInterface::SendToStorageAccountCreate(osAccountInfo); in CreateBaseStandardAccountSendToOther() local
233 ErrCode errCode = OsAccountInterface::SendToStorageAccountStart(osAccountInfo); in StartBaseStandardAccount() local
276 ErrCode errCode = osAccountControl_->GetSerialNumber(serialNumber); in PrepareOsAccountInfo() local
319 ErrCode errCode = OsAccountInterface::SendToStorageAccountCreate(osAccountInfo); in SendMsgForAccountCreate() local
348 ErrCode errCode = PrepareOsAccountInfo(name, type, domainInfo, osAccountInfo); in CreateOsAccount() local
360 ErrCode errCode = QueryAllCreatedOsAccounts(osAccountInfos); in CreateOsAccountForDomain() local
415 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(id, osAccountInfo); in RemoveOsAccount() local
[all …]
Dos_account_database_operator.cpp75 ErrCode errCode = ERR_OK; in GetOsAccountListFromDatabase() local
114 ErrCode errCode = accountDataStorage_->AddAccountInfo(osAccountInfo); in InsertOsAccountIntoDataBase() local
130 ErrCode errCode = accountDataStorage_->RemoveValueFromKvStore(std::to_string(id)); in DelOsAccountFromDatabase() local
145 ErrCode errCode = accountDataStorage_->SaveAccountInfo(osAccountInfo); in UpdateOsAccountInDatabase() local
238 ErrCode errCode = ERR_OK; in GetAccountListFromStoreID() local
265 …ErrCode errCode = accountDataStorage_->PutValueToKvStore(Constants::ACCOUNT_LIST, accountListJson.… in SaveAccountListToDatabase() local
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp97 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local
116 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local
139 ErrCode errCode = advancedNotificationService_->Subscribe(subscriber->GetImpl(), info); in BENCHMARK_F() local
168 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local
199 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local
216 ErrCode errCode = advancedNotificationService_->SetNotificationBadgeNum(2); in BENCHMARK_F() local
233 ErrCode errCode = advancedNotificationService_->GetBundleImportance(importance); in BENCHMARK_F() local
249 ErrCode errCode = advancedNotificationService_->SetPrivateNotificationsAllowed(true); in BENCHMARK_F() local
265 ErrCode errCode = advancedNotificationService_->SetPrivateNotificationsAllowed(true); in BENCHMARK_F() local
288 … ErrCode errCode = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundleOption, true); in BENCHMARK_F() local
[all …]
/base/account/os_account/services/accountmgr/test/unittest/ohos_account_data_deal_test/
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/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.cpp190 …ErrCode errCode = g_osAccount->CreateOsAccount(STRING_NAME_OUT_OF_RANGE, OsAccountType::GUEST, osA… variable
203 … ErrCode errCode = g_osAccount->CreateOsAccount(STRING_EMPTY, OsAccountType::GUEST, osAccountInfo); variable
215 ErrCode errCode = g_osAccount->RemoveOsAccount(0); variable
231 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_NAME_OUT_OF_RANGE); variable
243 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_EMPTY); variable
255 ErrCode errCode = g_osAccount->SetOsAccountProfilePhoto(100, STRING_PHOTO_OUT_OF_RANGE); variable
/base/usb/usb_manager/utils/native/include/
Dusb_napi_errors.h37 #define USB_ASSERT_BASE(env, assertion, errCode, errMsg, retVal) \ argument
47 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… argument
48 #define USB_ASSERT_RETURN_VOID(env, assertion, errCode, errMsg) \ argument
50 #define USB_ASSERT_RETURN_FALSE(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, er… argument
/base/usb/usb_manager/utils/native/src/
Dusb_napi_errors.cpp24 std::optional<std::string_view> GetErrMsgByErrCode(int32_t errCode) in GetErrMsgByErrCode()
34 void ThrowBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg) in ThrowBusinessError()
/base/account/os_account/dfx/hisysevent_adapter/
Dhisysevent_adapter.cpp30 void ReportServiceStartFail(int32_t errCode, const std::string& errMsg) in ReportServiceStartFail()
65 int32_t id, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOsAccountOperationFail()
87 int32_t userId, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOhosAccountOperationFail()
109 int32_t errCode, const std::string& errMsg) in ReportAppAccountOperationFail()
/base/inputmethod/imf/services/dfx/src/
Dinputmethod_sysevent.cpp27 void FaultReporter(int32_t userId, std::string bundname, int32_t errCode) in FaultReporter()
36 void CreateComponentFailed(int32_t userId, int32_t errCode) in CreateComponentFailed()
/base/account/os_account/services/accountmgr/test/unittest/account_iam_callback_test/
Daccount_iam_callback_test.cpp121 int32_t errCode = 0; variable
141 int32_t errCode = 0; variable
208 int32_t errCode = 0; variable
263 int32_t errCode = 0; variable
285 int32_t errCode = 0; variable
357 int32_t errCode = 0; variable
382 int32_t errCode = 0; variable
454 int32_t errCode = 0; variable
478 int32_t errCode = 0; variable
/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/sensors/sensor/interfaces/plugin/src/
Dsensor_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/security/access_token/interfaces/kits/common/src/
Dnapi_error.cpp41 std::string GetErrorMessage(uint32_t errCode) in GetErrorMessage()
51 napi_value GenerateBusinessError(napi_env env, int32_t errCode, const std::string& errMsg) in GenerateBusinessError()
/base/security/device_auth/services/authenticators/src/account_related/
Daccount_task_main.c27 static void AccountSendErrMsgToSelf(CJson *out, int32_t errCode) in AccountSendErrMsgToSelf()
47 static void AccountSendErrMsgToOut(CJson *out, int32_t opCode, int32_t errCode) in AccountSendErrMsgToOut()
174 static void AccountSendCreateError(const CJson *in, CJson *out, int32_t errCode) in AccountSendCreateError()
/base/location/frameworks/js/napi/source/
Dlocation_napi_errcode.cpp23 void HandleSyncErrCode(const napi_env &env, int32_t errCode) in HandleSyncErrCode()
/base/powermgr/battery_statistics/utils/native/src/
Dstats_helper.cpp34 int errCode = clock_gettime(CLOCK_BOOTTIME, &rawBootTime); in GetBootTimeMs() local
49 int errCode = clock_gettime(CLOCK_MONOTONIC, &rawUpTime); in GetUpTimeMs() local
/base/telephony/cellular_call/services/common/src/
Dcellular_call_hisysevent.cpp125 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent()
179 int32_t CellularCallHiSysEvent::ErrorCodeConversion(const int32_t errCode, CallErrorCode &eventValu… in ErrorCodeConversion()
188 int32_t CellularCallHiSysEvent::TelephonyErrorCodeConversion(const int32_t errCode, CallErrorCode &… in TelephonyErrorCodeConversion()
222 int32_t CellularCallHiSysEvent::CallDataErrorCodeConversion(const int32_t errCode, CallErrorCode &e… in CallDataErrorCodeConversion()
261 int32_t CellularCallHiSysEvent::CallInterfaceErrorCodeConversion(const int32_t errCode, CallErrorCo… in CallInterfaceErrorCodeConversion()
/base/location/interfaces/inner_api/include/
Dasync_context.h34 int errCode; variable
/base/web/webview/interfaces/kits/napi/common/
Dbusiness_error.cpp35 void BusinessError::ThrowErrorByErrcode(napi_env env, int32_t errCode) in ThrowErrorByErrcode()

123456