Home
last modified time | relevance | path

Searched refs:errorCode_ (Results 1 – 25 of 66) sorted by relevance

123

/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/entity/
H A Dp2p_entity_test.cpp62 EXPECT_EQ(result.errorCode_, SOFTBUS_OK);
76 EXPECT_EQ(result.errorCode_, SOFTBUS_CONN_CREATE_GROUP_TIMEOUT);
96 EXPECT_EQ(result.errorCode_, ToSoftBusErrorCode(ERROR_WIFI_UNKNOWN));
139 EXPECT_EQ(result.errorCode_, SOFTBUS_OK);
148 EXPECT_EQ(result.errorCode_, SOFTBUS_OK);
157 EXPECT_EQ(result.errorCode_, SOFTBUS_OK);
232 EXPECT_EQ(result.errorCode_, SOFTBUS_OK);
365 EXPECT_EQ(result.errorCode_, SOFTBUS_OK);
443 int ret = destroyGroupOp->promise_.get_future().get().errorCode_;
453 ret = createGroupOp->promise_.get_future().get().errorCode_;
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_rpc_error.h50 NapiError(int32_t errorCode) : errorCode_(errorCode) {}; in NapiError()
55 errorCode_ = (errorCode != -1) ? errorCode : errorCode_; in Error()
59 return errorCode_ != -1; in IsError()
64 int32_t errorCode_{-1};
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/src/
H A Dbase_context.cpp30 errorCode_(std::numeric_limits<int32_t>::max()), in BaseContext()
52 errorCode_ = errorCode; in SetErrorCode()
53 errorMessage_ = convertor_.ConvertErrorCode(errorCode_); in SetErrorCode()
63 errorCode_ = errorCode; in SetError()
127 return errorCode_; in GetErrorCode()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/mock_http_client/
H A Dhttp_client_error.h23 HttpClientError() : errorCode_(0) in HttpClientError()
29 return errorCode_; in GetErrorCode()
37 int errorCode_; variable
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/socket/
H A Dnapi_bluetooth_spp_server.cpp142 callbackInfo->errorCode_ = CODE_SUCCESS; in SppListen()
145 callbackInfo->errorCode_ = errorCode; in SppListen()
157 if (callbackInfo->errorCode_ == CODE_SUCCESS) { in SppListen()
171 … result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppListen()
176 if (callbackInfo->errorCode_ == CODE_SUCCESS) { in SppListen()
256 callbackInfo->errorCode_ = CODE_SUCCESS; in SppAccept()
258 callbackInfo->errorCode_ = CODE_FAILED; in SppAccept()
270 if (callbackInfo->errorCode_ == CODE_SUCCESS) { in SppAccept()
281 … result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppAccept()
286 if (callbackInfo->errorCode_ == CODE_SUCCESS) { in SppAccept()
H A Dnapi_bluetooth_spp_client.cpp126 callbackInfo->errorCode_ = callbackInfo->client_->Connect(SPP_SOCKET_PSM_VALUE); in SppConnect()
127 if (callbackInfo->errorCode_ == BtStatus::BT_SUCCESS) { in SppConnect()
129 callbackInfo->errorCode_ = CODE_SUCCESS; in SppConnect()
143 if (callbackInfo->errorCode_ == CODE_SUCCESS) { in SppConnect()
160 … result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppConnect()
165 if (callbackInfo->errorCode_ == CODE_SUCCESS) { in SppConnect()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/
H A Dp2p_create_group_state.cpp84 result.errorCode_ = SOFTBUS_CONN_P2P_CONNECT_STATE_WIFI_STATE_NOT_STARTED; in OnP2pStateChangeEvent()
103 result.errorCode_ = SOFTBUS_CONN_P2P_ABNORMAL_DISCONNECTION; in OnP2pConnectionChangeEvent()
104 CONN_LOGE(CONN_WIFI_DIRECT, "create group call event failed, error=%d", result.errorCode_); in OnP2pConnectionChangeEvent()
107 result.errorCode_ = SOFTBUS_OK; in OnP2pConnectionChangeEvent()
H A Dp2p_destroy_group_state.cpp83 result.errorCode_ = SOFTBUS_CONN_P2P_CONNECT_STATE_WIFI_STATE_NOT_STARTED; in OnP2pStateChangeEvent()
104 result.errorCode_ = SOFTBUS_OK; in OnP2pConnectionChangeEvent()
106 result.errorCode_ = SOFTBUS_CONN_P2P_SHORT_RANGE_CALLBACK_DESTROY_FAILED; in OnP2pConnectionChangeEvent()
107 CONN_LOGE(CONN_WIFI_DIRECT, "destroy group call event failed, error=%d", result.errorCode_); in OnP2pConnectionChangeEvent()
H A Dp2p_operation_result.h23 explicit P2pOperationResult(int code) : errorCode_(code) {} in P2pOperationResult()
24 int errorCode_ {};
H A Dp2p_connect_state.cpp98 result.errorCode_ = SOFTBUS_CONN_P2P_CONNECT_STATE_WIFI_STATE_NOT_STARTED; in OnP2pStateChangeEvent()
179 result.errorCode_ = SOFTBUS_CONN_P2P_ABNORMAL_DISCONNECTION; in OnP2pConnectionChangeEvent()
180 CONN_LOGE(CONN_WIFI_DIRECT, "connect call event failed, error=%d", result.errorCode_); in OnP2pConnectionChangeEvent()
182 result.errorCode_ = SOFTBUS_OK; in OnP2pConnectionChangeEvent()
H A Dp2p_entity.cpp124 result.errorCode_ = ret; in CreateGroup()
141 result.errorCode_ = ret; in Connect()
274 result.errorCode_ = ret; in Disconnect()
280 result.errorCode_ = P2pAdapter::P2pShareLinkRemoveGroup(param); in Disconnect()
286 result.errorCode_ = ret; in Disconnect()
302 result.errorCode_ = ret; in DestroyGroup()
357 result.errorCode_ = ret; in ExecuteNextOperation()
372 result.errorCode_ = SOFTBUS_CONN_ENTITY_UNAVAILABLE; in ClearPendingOperation()
H A Dp2p_available_state.cpp60 result.errorCode_ = SOFTBUS_OK; in CreateGroup()
64 result.errorCode_ = SOFTBUS_CONN_CREATE_GROUP_FAILED; in CreateGroup()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Ddatashare_radar_reporter.h150 if (errorCode_ != 0) { in ~RadarReport()
152 RadarReporter::FINISHED, RadarReporter::ERROR_CODE, errorCode_); in ~RadarReport()
161 errorCode_ = errorCode; in SetError()
166 int32_t errorCode_ = 0; variable
/ohos5.0/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_error.cpp66 auto err = errorCode_; in GetErrorMessage()
76 errorCode_ = code; in SetErrorCode()
81 return errorCode_; in GetErrorCode()
/ohos5.0/base/theme/screenlock_mgr/frameworks/js/napi/src/
H A Dnapi_screenlock_ability.cpp145 errorInfo.errorCode_ = iter->second; in GetErrorInfo()
197 errInfo.errorCode_ = static_cast<uint32_t>(status); in NAPI_IsLocked()
199 ThrowError(env, errInfo.errorCode_, errInfo.message_); in NAPI_IsLocked()
243 errInfo.errorCode_ = static_cast<uint32_t>(status); in AsyncCallFunc()
451 errInfo.errorCode_ = static_cast<uint32_t>(retCode); in NAPI_OnSystemEvent()
541 errInfo.errorCode_ = static_cast<uint32_t>(status); in NAPI_IsScreenLockDisabled()
543 ThrowError(env, errInfo.errorCode_, errInfo.message_); in NAPI_IsScreenLockDisabled()
676 errInfo.errorCode_ = static_cast<uint32_t>(status); in NAPI_GetScreenLockAuthState()
678 ThrowError(env, errInfo.errorCode_, errInfo.message_); in NAPI_GetScreenLockAuthState()
754 errInfo.errorCode_ = static_cast<uint32_t>(status); in NAPI_GetStrongAuth()
[all …]
/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/
H A Dbase_context.cpp31 errorCode_(0), in BaseContext()
49 errorCode_(0), in BaseContext()
81 errorCode_ = errorCode; in SetErrorCode()
86 errorCode_ = errorCode; in SetError()
179 return errorCode_; in GetErrorCode()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp66 if (errorCode_ == ERR_OK && checkfailed_) { in NeedReport()
86 errorCode_ = errorCode; in ErrorCode()
94 ANSR_LOGE("%{public}s, %{public}d", message.c_str(), errorCode_); in Message()
148 std::to_string(branchId_) + MESSAGE_DELIMITER + std::to_string(errorCode_) + in Build()
323 reason["innerErr"] = message.errorCode_; in BuildExtraInfo()
339 std::to_string(message.errorCode_) + MESSAGE_DELIMITER + in BuildExtraInfo()
369 reason["innerErr"] = message.errorCode_; in BuildExtraInfoWithReq()
391 std::to_string(message.errorCode_) + MESSAGE_DELIMITER + in BuildExtraInfoWithReq()
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dscreen_cache.cpp20 : capacity_(capacity), errorCode_(errorCode) in ScreenCache()
50 return errorCode_; in Get()
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/include/stream_operator/
H A Dcapture_message.h100 errorCode_ = errorCode; in CaptureErrorMessage()
105 return errorCode_; in GetStreamError()
114 VdiStreamError errorCode_;
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/include/
H A Dfeature_analysis.h45 : eventType_(eventType), lineCursor_(0), errorCode_(DEFAULT), line_(""), in FeatureAnalysis()
63 int GetErrorCode() const { return errorCode_; }; in GetErrorCode()
95 int errorCode_; variable
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/http_client/include/
H A Dhttp_client_error.h71 HttpClientError() : errorCode_(HTTP_NONE_ERR) {} in HttpClientError()
100 HttpErrorCode errorCode_; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/
H A Dvalue_slice_sync.h48 ValueSlicePacket() : errorCode_(0) {}; in ValueSlicePacket()
62 int32_t errorCode_; variable
H A Dmulti_ver_data_sync.h49 MultiVerAckPacket() : errorCode_(0) {}; in MultiVerAckPacket()
63 int32_t errorCode_; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dcommit_history_sync.h57 CommitHistorySyncAckPacket() : errorCode_(0) {}; in CommitHistorySyncAckPacket()
79 int32_t errorCode_;
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Dasync_call.h45 errorCode_ = errorCode; in SetErrorCode()
99 int32_t errorCode_ = 0; variable

123