| /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() 115 static int32_t DomainAccountConvertToJSErrCode(int32_t errCode) in DomainAccountConvertToJSErrCode() 129 static bool IsAppAccountKitError(int32_t errCode) in IsAppAccountKitError() 135 static bool IsAppAccountServiceError(int32_t errCode) in IsAppAccountServiceError() 140 static bool IsOsAccountKitError(int32_t errCode) in IsOsAccountKitError() 146 static bool IsOsAccountServiceError(int32_t errCode) in IsOsAccountServiceError() 152 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 | 346 int32_t errCode = callManagerServicePtr_->DialCall(number, extras); in DialCall() local 361 int32_t errCode = callManagerServicePtr_->AnswerCall(callId, videoState); in AnswerCall() local 376 int32_t errCode = callManagerServicePtr_->RejectCall(callId, isSendSms, content); in RejectCall() local 391 int32_t errCode = callManagerServicePtr_->HangUpCall(callId); in HangUpCall() local 406 int32_t errCode = callManagerServicePtr_->GetCallState(); in GetCallState() local 421 int32_t errCode = callManagerServicePtr_->HoldCall(callId); in HoldCall() local 436 int32_t errCode = callManagerServicePtr_->UnHoldCall(callId); in UnHoldCall() local 451 int32_t errCode = callManagerServicePtr_->SwitchCall(callId); in SwitchCall() local 466 int32_t errCode = callManagerServicePtr_->CombineConference(callId); in CombineConference() local 481 int32_t errCode = callManagerServicePtr_->SeparateConference(callId); in SeparateConference() local [all …]
|
| /base/time/time_service/test/unittest/service_test/src/ |
| D | time_client_test.cpp | 264 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeMs(time); variable 276 auto errCode = TimeServiceClient::GetInstance()->GetWallTimeNs(time); variable 288 auto errCode = TimeServiceClient::GetInstance()->GetBootTimeNs(time); variable 300 auto errCode = TimeServiceClient::GetInstance()->GetBootTimeMs(time); variable 312 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(time); variable 324 auto errCode = TimeServiceClient::GetInstance()->GetMonotonicTimeNs(time); variable 336 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeMs(time); variable 348 auto errCode = TimeServiceClient::GetInstance()->GetThreadTimeNs(time); variable 385 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable 414 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); variable [all …]
|
| /base/account/os_account/services/accountmgr/src/osaccount/ |
| D | inner_os_account_manager.cpp | 110 ErrCode errCode = osAccountControl_->GetConstraintsByType(OsAccountType::ADMIN, constants); in CreateBaseStandardAccount() local 159 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(defaultActivatedId_, osAccountInfo); in RetryToGetAccount() local 222 ErrCode errCode = FillOsAccountInfo(localName, shortName, type, domainInfo, osAccountInfo); in RetryToGetAccount() local 253 ErrCode errCode = osAccountControl_->GetSerialNumber(serialNumber); in RetryToGetAccount() local 295 ErrCode errCode = osAccountControl_->GetSerialNumber(serialNumber); in RetryToGetAccount() local 332 ErrCode errCode = OsAccountInterface::SendToStorageAccountCreate(osAccountInfo); in RetryToGetAccount() local 365 ErrCode errCode = PrepareOsAccountInfo(name, type, domainInfo, osAccountInfo); in RetryToGetAccount() local 398 ErrCode errCode = IsAllowedCreateAdmin(isAllowedCreateAdmin); in RetryToGetAccount() local 445 ErrCode errCode = PrepareOsAccountInfoWithFullInfo(osAccountInfo); in RetryToGetAccount() local 460 ErrCode errCode = GetOsAccountInfoById(id, accountInfo); in RetryToGetAccount() local [all …]
|
| D | os_account_database_operator.cpp | 69 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 262 …ErrCode errCode = accountDataStorage_->PutValueToKvStore(Constants::ACCOUNT_LIST, accountListJson.… in SaveAccountListToDatabase() local
|
| /base/location/test/location_locator/source/ |
| D | locator_agent_test.cpp | 206 auto errCode = locatorAgent->StartGnssLocating(locatorCallback); variable 221 auto errCode = locatorAgent->StartGnssLocating(locatorCallback); variable 238 auto errCode = locatorAgent->StopGnssLocating(locatorCallback); variable 253 auto errCode = locatorAgent->StopGnssLocating(locatorCallback); variable 270 auto errCode = locatorAgent->RegisterNmeaMessageCallback(nmeaCallback); variable 284 auto errCode = locatorAgent->RegisterNmeaMessageCallback(nullptr); variable 301 auto errCode = locatorAgent->UnregisterNmeaMessageCallback(nmeaCallback); variable 315 auto errCode = locatorAgent->UnregisterNmeaMessageCallback(nullptr); variable 332 auto errCode = locatorAgent->RegisterGnssStatusCallback(gnssCallback); variable 346 auto errCode = locatorAgent->RegisterGnssStatusCallback(nullptr); variable [all …]
|
| /base/location/frameworks/native/source/ |
| D | locator_impl.cpp | 73 LocationErrCode errCode = in IsLocationEnabled() local 111 LocationErrCode errCode = proxy->EnableAbilityV9(enable); in EnableAbility() local 631 LocationErrCode errCode = in IsLocationEnabledV9() local 675 LocationErrCode errCode = proxy->EnableAbilityV9(enable); in EnableAbilityV9() local 697 LocationErrCode errCode = proxy->StartLocatingV9(requestConfig, callback); in StartLocatingV9() local 712 LocationErrCode errCode = proxy->StopLocatingV9(callback); in StopLocatingV9() local 727 LocationErrCode errCode = proxy->GetCacheLocationV9(loc); in GetCachedLocationV9() local 766 LocationErrCode errCode = proxy->RegisterGnssStatusCallbackV9(callback); in RegisterGnssStatusCallbackV9() local 781 LocationErrCode errCode = proxy->UnregisterGnssStatusCallbackV9(callback); in UnregisterGnssStatusCallbackV9() local 796 LocationErrCode errCode = proxy->RegisterNmeaMessageCallbackV9(callback); in RegisterNmeaMessageCallbackV9() local [all …]
|
| /base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
| D | notification_service_test.cpp | 135 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local 154 ErrCode errCode = advancedNotificationService_->AddSlots(slots); in BENCHMARK_F() local 177 ErrCode errCode = advancedNotificationService_->Subscribe(subscriber->GetImpl(), info); in BENCHMARK_F() local 208 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local 241 ErrCode errCode = advancedNotificationService_->Publish(label, req); in BENCHMARK_F() local 258 ErrCode errCode = advancedNotificationService_->SetNotificationBadgeNum(2); in BENCHMARK_F() local 275 ErrCode errCode = advancedNotificationService_->GetBundleImportance(importance); in BENCHMARK_F() local 292 … ErrCode errCode = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundleOption, true); in BENCHMARK_F() local 309 … ErrCode errCode = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundleOption, true); in BENCHMARK_F() local 332 ErrCode errCode = advancedNotificationService_->GetAllActiveNotifications(notifications); in BENCHMARK_F() local [all …]
|
| /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/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/notification/distributed_notification_service/services/ans/src/ |
| D | advanced_notification_event_service.cpp | 40 const sptr<NotificationSubscribeInfo> &info, ErrCode errCode) in SendSubscribeHiSysEvent() 81 …tificationService::SendPublishHiSysEvent(const sptr<NotificationRequest> &request, ErrCode errCode) in SendPublishHiSysEvent() 101 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendCancelHiSysEvent() 117 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendRemoveHiSysEvent() 132 bool enabled, ErrCode errCode) in SendEnableNotificationHiSysEvent() 152 bool enabled, ErrCode errCode) in SendEnableNotificationSlotHiSysEvent()
|
| D | advanced_notification_subscriber_service.cpp | 48 ErrCode errCode = ERR_OK; in Subscribe() local 82 ErrCode errCode = ERR_OK; in SubscribeSelf() local 138 …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/call_manager_service/src/ |
| D | call_manager_hisysevent.cpp | 73 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent() 87 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteDialCallFaultEvent() 101 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteAnswerCallFaultEvent() 115 const int32_t slotId, const int32_t callId, const int32_t errCode, const std::string &desc) in WriteHangUpFaultEvent() 127 void CallManagerHisysevent::GetErrorDescription(const int32_t errCode, std::string &errordesc) in GetErrorDescription() 152 int32_t CallManagerHisysevent::ErrorCodeConversion(const int32_t errCode, CallErrorCode &eventValue) in ErrorCodeConversion() 162 int32_t CallManagerHisysevent::TelephonyErrorCodeConversion(const int32_t errCode, CallErrorCode &e… in TelephonyErrorCodeConversion() 196 int32_t CallManagerHisysevent::CallDataErrorCodeConversion(const int32_t errCode, CallErrorCode &ev… in CallDataErrorCodeConversion() 235 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 | 122 …ErrCode errCode = g_osAccount->CreateOsAccount(STRING_NAME_OUT_OF_RANGE, OsAccountType::GUEST, osA… variable 136 … ErrCode errCode = g_osAccount->CreateOsAccount(STRING_EMPTY, OsAccountType::GUEST, osAccountInfo); variable 148 ErrCode errCode = g_osAccount->RemoveOsAccount(0); variable 164 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_NAME_OUT_OF_RANGE); variable 176 ErrCode errCode = g_osAccount->SetOsAccountName(100, STRING_EMPTY); variable 188 ErrCode errCode = g_osAccount->SetOsAccountProfilePhoto(100, STRING_PHOTO_OUT_OF_RANGE); variable
|
| /base/usb/usb_manager/utils/native/include/ |
| D | usb_napi_errors.h | 45 #define USB_ASSERT_BASE(env, assertion, errCode, errMsg, retVal) \ argument 55 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… argument 56 #define USB_ASSERT_RETURN_VOID(env, assertion, errCode, errMsg) \ argument 58 #define USB_ASSERT_RETURN_FALSE(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, er… argument 59 #define USB_ASSERT_RETURN_UNDEF(env, assertion, errCode, errMsg) \ argument
|
| /base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/ |
| D | js_coordination_manager.cpp | 36 int32_t errCode = INTERACTION_MGR->PrepareCoordination(callback, isCompatible); in Prepare() local 51 int32_t errCode = INTERACTION_MGR->UnprepareCoordination(callback, isCompatible); in Unprepare() local 67 int32_t errCode = INTERACTION_MGR->ActivateCoordination( in Activate() local 84 int32_t errCode = INTERACTION_MGR->DeactivateCoordination(isUnchained, callback, isCompatible); in Deactivate() local 100 int32_t errCode = INTERACTION_MGR->GetCoordinationState(networkId, callback, isCompatible); in GetCrossingSwitchState() local
|
| /base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
| D | mock_domain_has_domain_info_callback.cpp | 34 void TestHasDomainInfoCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() 52 void TestGetDomainAccountInfoCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult()
|
| D | mock_domain_auth_callback.cpp | 34 void TestDomainAuthCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() 43 ErrCode errCode = OsAccountManager::RemoveOsAccount(localId); in OnResult() local
|
| /base/account/os_account/frameworks/domain_account/src/ |
| D | domain_account_plugin_service.cpp | 99 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in IsAccountTokenValid() local 113 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in GetAccessToken() local 142 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in GetDomainAccountInfo() local 155 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in OnAccountBound() local 168 ErrCode errCode = CheckAndInitExecEnv(callback, &callbackClient); in OnAccountUnBound() local
|
| /base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/ |
| D | js_cooperate_manager.cpp | 36 int32_t errCode = 0; in Enable() local 57 …int32_t errCode = INTERACTION_MGR->ActivateCoordination(remoteNetworkDescriptor, startDeviceId, ca… in Start() local 73 int32_t errCode = INTERACTION_MGR->DeactivateCoordination(isUnchained, callback); in Stop() local 88 int32_t errCode = INTERACTION_MGR->GetCoordinationState(deviceDescriptor, callback); in GetState() local
|
| /base/account/os_account/services/accountmgr/test/unittest/account_iam/ |
| D | account_iam_callback_test.cpp | 149 int32_t errCode = 0; variable 170 int32_t errCode = 1; variable 240 int32_t errCode = 0; variable 262 int32_t errCode = 0; variable 331 int32_t errCode = 0; variable 414 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, ac… variable 436 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, ac… variable 462 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, ac… variable
|
| /base/account/os_account/dfx/hisysevent_adapter/ |
| D | hisysevent_adapter.cpp | 29 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()
|