/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_json.c | 30 char *VerifyP2pPackError(int32_t code, int32_t errCode, const char *errDesc) in VerifyP2pPackError() argument 32 if (errDesc == NULL) { in VerifyP2pPackError() 43 !AddStringToJsonObject(json, ERR_DESC, errDesc)) { in VerifyP2pPackError()
|
H A D | trans_tcp_direct_message.c | 691 static int32_t OpenDataBusRequestError(int32_t channelId, uint64_t seq, char *errDesc, int32_t errCode, uint32_t flags) in OpenDataBusRequestError() argument 693 char *reply = PackError(errCode, errDesc); in OpenDataBusRequestError() 853 static int32_t TransTdcFillAppInfoAndNotifyChannel(AppInfo *appInfo, int32_t channelId, char *errDesc) in TransTdcFillAppInfoAndNotifyChannel() argument 902 if (strcpy_s(errDesc, MAX_ERRDESC_LEN, ret) != EOK) { in TransTdcFillAppInfoAndNotifyChannel() 953 char errDesc[MAX_ERRDESC_LEN] = { 0 }; in OpenDataBusRequest() local 954 int32_t errCode = TransTdcFillAppInfoAndNotifyChannel(&conn->appInfo, channelId, errDesc); in OpenDataBusRequest() 956 if (OpenDataBusRequestError(channelId, seq, errDesc, errCode, flags) != SOFTBUS_OK) { in OpenDataBusRequest()
|
H A D | trans_tcp_direct_p2p.c | 641 int32_t code, int32_t errCode, const char *errDesc, bool isAuthLink) in SendVerifyP2pFailRsp() 643 char *reply = VerifyP2pPackError(code, errCode, errDesc); in SendVerifyP2pFailRsp() 640 SendVerifyP2pFailRsp(AuthHandle authHandle, int64_t seq, int32_t code, int32_t errCode, const char *errDesc, bool isAuthLink) SendVerifyP2pFailRsp() argument
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_json_test.cpp | 70 const char *errDesc = "P2p Pack Err Test"; in HWTEST_F() local 71 ret = VerifyP2pPackError(code, errCode, errDesc); in HWTEST_F()
|
H A D | trans_tcp_direct_message_append_test.cpp | 1071 char *errDesc = const_cast<char *>(reinterpret_cast<const char *>("Notify SDK Channel Opened Failed")); in HWTEST_F() local 1078 int32_t ret = OpenDataBusRequestError(channelId, seq, errDesc, errCode, flags); in HWTEST_F() 1757 char *errDesc = static_cast<char *>(SoftBusCalloc(MAX_ERRDESC_LEN)); in HWTEST_F() local 1758 ASSERT_TRUE(errDesc != nullptr); in HWTEST_F() 1761 int32_t ret = TransTdcFillAppInfoAndNotifyChannel(appInfo, channelId, errDesc); in HWTEST_F() 1765 ret = TransTdcFillAppInfoAndNotifyChannel(appInfo, channelId, errDesc); in HWTEST_F() 1769 ret = TransTdcFillAppInfoAndNotifyChannel(appInfo, channelId, errDesc); in HWTEST_F() 1775 ret = TransTdcFillAppInfoAndNotifyChannel(appInfo, channelId, errDesc); in HWTEST_F() 1782 ret = TransTdcFillAppInfoAndNotifyChannel(appInfo, channelId, errDesc); in HWTEST_F() 1789 ret = TransTdcFillAppInfoAndNotifyChannel(appInfo, channelId, errDesc); in HWTEST_F() [all...] |
H A D | trans_tcp_direct_p2p_test.cpp | 328 const char *errDesc = "OnVerifyP2pRequest unpack fail"; in HWTEST_F() local 334 SendVerifyP2pFailRsp(authHandle, seq, code, errCode, errDesc, true); in HWTEST_F()
|
H A D | trans_server_tcp_direct_test.cpp | 674 std::string errDesc = TEST_JSON; in HWTEST_F() local 675 str = PackError(errCode, errDesc.c_str()); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/include/ |
H A D | trans_tcp_direct_json.h | 29 char *VerifyP2pPackError(int32_t code, int32_t errCode, const char *errDesc);
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/ |
H A D | trans_tcp_direct_p2p_test_mock.cpp | 104 char *VerifyP2pPackError(int32_t code, int32_t errCode, const char *errDesc) in VerifyP2pPackError() argument 106 return GetTransTcpDirectP2pInterface()->VerifyP2pPackError(code, errCode, errDesc); in VerifyP2pPackError()
|
H A D | trans_tcp_direct_p2p_test_mock.h | 47 virtual char *VerifyP2pPackError(int32_t code, int32_t errCode, const char *errDesc) = 0; 80 MOCK_METHOD3(VerifyP2pPackError, char *(int32_t code, int32_t errCode, const char *errDesc));
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/include/ |
H A D | trans_udp_negotiation_exchange.h | 33 int32_t TransPackReplyErrInfo(cJSON *msg, int errCode, const char* errDesc);
|
/foundation/communication/dsoftbus/core/transmission/common/include/ |
H A D | softbus_message_open_channel.h | 81 char *PackError(int errCode, const char *errDesc);
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation_exchange.c | 248 int32_t TransPackReplyErrInfo(cJSON *msg, int errCode, const char* errDesc) in TransPackReplyErrInfo() argument 251 if (msg == NULL || errDesc == NULL) { in TransPackReplyErrInfo() 257 (void)AddStringToJsonObject(msg, ERR_DESC, errDesc); in TransPackReplyErrInfo()
|
H A D | trans_udp_negotiation.c | 430 static int32_t SendReplyErrInfo(int errCode, char* errDesc, AuthHandle authHandle, int64_t seq) in SendReplyErrInfo() argument 436 int32_t ret = TransPackReplyErrInfo(replyMsg, errCode, errDesc); in SendReplyErrInfo() 668 char *errDesc = NULL; in TransOnExchangeUdpInfoRequest() local 677 errDesc = (char *)"peer device session name not create"; in TransOnExchangeUdpInfoRequest() 685 errDesc = (char *)"notify app error"; in TransOnExchangeUdpInfoRequest() 692 errDesc = (char *)"send reply error"; in TransOnExchangeUdpInfoRequest() 701 errDesc = (char *)"notify OnBind failed"; in TransOnExchangeUdpInfoRequest() 711 if (SendReplyErrInfo(ret, errDesc, authHandle, seq) != SOFTBUS_OK) { in TransOnExchangeUdpInfoRequest()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/ |
H A D | trans_udp_nego_test.cpp | 205 const char* errDesc = "errDesc"; in HWTEST_F() local 210 ret = TransPackReplyErrInfo(msg, errCode, errDesc); in HWTEST_F() 244 string errDesc = "ProcessMessage"; in HWTEST_F() local 249 ret = SendReplyErrInfo(errCode, (char *)errDesc.c_str(), authHandle, 0); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/transmission/common/src/ |
H A D | softbus_message_open_channel.c | 30 char *PackError(int errCode, const char *errDesc) in PackError() argument 32 if (errDesc == NULL) { in PackError() 43 !AddStringToJsonObject(json, ERR_DESC, errDesc)) { in PackError()
|
/foundation/communication/dsoftbus/tests/core/transmission/common/softbus_message_open_channel_test/ |
H A D | softbus_message_open_channel_test.cpp | 126 const char *errDesc = "test"; in HWTEST_F() local 128 msg = PackError(errCode, errDesc); in HWTEST_F()
|
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 737 * @param [in] errDesc: error description for fail callback 739 static void FailCallback(const JSIValue thisVal, const JSIValue args, int32_t errCode, const char * const errDesc);
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 1145 void JSI::FailCallback(const JSIValue thisVal, const JSIValue args, int32_t errCode, const char * const errDesc) in FailCallback() argument 1152 JSIValue errInfo = CreateString(errDesc); in FailCallback()
|
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_remote_object.cpp | 58 const char *errDesc) in IsValidParamWithNotify() 61 ZLOGE(LOG_LABEL, "%{public}s", errDesc); in IsValidParamWithNotify() 57 IsValidParamWithNotify(napi_value value, CallbackParam *param, napi_handle_scope &scope, const char *errDesc) IsValidParamWithNotify() argument
|