| /base/account/os_account/frameworks/test/unittest/ |
| D | account_osaccount_proxy_mock_test.cpp | 87 …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/ |
| D | account_error_no.cpp | 19 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/ |
| D | call_manager_proxy.cpp | 299 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/ |
| D | time_client_test.cpp | 194 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/ |
| D | cellular_call_connection.cpp | 183 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/ |
| D | inner_os_account_manager.cpp | 83 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 …]
|
| D | os_account_database_operator.cpp | 75 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/ |
| D | notification_service_test.cpp | 97 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/ |
| D | ohos_account_data_deal_test.cpp | 71 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/ |
| D | call_manager_hisysevent.cpp | 72 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/ |
| D | os_account_test.cpp | 190 …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/ |
| D | usb_napi_errors.h | 37 #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/ |
| D | usb_napi_errors.cpp | 24 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/ |
| D | hisysevent_adapter.cpp | 30 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/ |
| D | inputmethod_sysevent.cpp | 27 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/ |
| D | account_iam_callback_test.cpp | 121 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/ |
| D | vibrator_napi_error.cpp | 25 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/ |
| D | sensor_napi_error.cpp | 25 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/ |
| D | napi_error.cpp | 41 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/ |
| D | account_task_main.c | 27 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/ |
| D | location_napi_errcode.cpp | 23 void HandleSyncErrCode(const napi_env &env, int32_t errCode) in HandleSyncErrCode()
|
| /base/powermgr/battery_statistics/utils/native/src/ |
| D | stats_helper.cpp | 34 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/ |
| D | cellular_call_hisysevent.cpp | 125 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/ |
| D | async_context.h | 34 int errCode; variable
|
| /base/web/webview/interfaces/kits/napi/common/ |
| D | business_error.cpp | 35 void BusinessError::ThrowErrorByErrcode(napi_env env, int32_t errCode) in ThrowErrorByErrcode()
|