/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_socket.c | 44 CONN_LOGW(CONN_COMMON, "Bad socket interface!"); in RegistSocketProtocol() 88 CONN_LOGD(CONN_COMMON, "newip not deployed"); in RegistNewIpSocket() 325 CONN_LOGW(CONN_COMMON, "invalid param"); in ConnGetPeerSocketAddr() 390 CONN_LOGE(CONN_COMMON, "bind address failed"); in ConnPreAssignPort() 412 CONN_LOGE(CONN_COMMON, "InetNtoP faild!"); in Ipv6AddrInToAddr() 419 CONN_LOGE(CONN_COMMON, "strcpy faild!"); in Ipv6AddrInToAddr() 427 COMM_LOGE(CONN_COMMON, "sprintf_s addr fail"); in Ipv6AddrInToAddr() 436 CONN_COMMON, "invalid param!"); in Ipv6AddrToAddrIn() 444 CONN_LOGE(CONN_COMMON, "copy local id failed"); in Ipv6AddrToAddrIn() 471 CONN_COMMON, "invalid param!"); in Ipv4AddrToAddrIn() [all …]
|
H A D | softbus_base_listener.c | 743 CONN_LOGW(CONN_COMMON, in DelTrigger() 761 CONN_COMMON, in DelTrigger() 825 CONN_LOGI(CONN_COMMON, in DispatchFdEvent() 829 CONN_LOGE(CONN_COMMON, in DispatchFdEvent() 867 CONN_LOGI(CONN_COMMON, in ProcessSpecifiedServerAcceptEvent() 872 CONN_LOGE(CONN_COMMON, in ProcessSpecifiedServerAcceptEvent() 986 CONN_LOGE(CONN_COMMON, in ProcessSpecifiedListenerNodeEvent() 1004 CONN_LOGD(CONN_COMMON, in ProcessSpecifiedListenerNodeEvent() 1030 CONN_LOGW(CONN_COMMON, in ProcessSpecifiedListenerNodeEvent() 1212 CONN_LOGD(CONN_COMMON, in StartSelectThread() [all …]
|
H A D | softbus_tcp_socket.c | 37 CONN_LOGE(CONN_COMMON, "set SO_REUSEPORT failed"); in SetReusePort() 48 CONN_LOGE(CONN_COMMON, "set SO_REUSEADDR failed"); in SetReuseAddr() 58 CONN_LOGE(CONN_COMMON, "set TCP_NODELAY failed"); in SetNoDelay() 168 CONN_LOGE(CONN_COMMON, "pack ipv6 addr failed"); in BindLocalIP() 177 CONN_LOGE(CONN_COMMON, "pack ipv4 addr failed"); in BindLocalIP() 197 CONN_LOGE(CONN_COMMON, "invalid param!"); in OpenTcpServerSocket() 271 CONN_LOGE(CONN_COMMON, "pack ipv4 addr failed"); in SocketConnect() 358 CONN_LOGE(CONN_COMMON, "set TCP_KEEPIDLE failed"); in ConnSetTcpKeepalive() 364 CONN_LOGE(CONN_COMMON, "set TCP_KEEPCNT failed"); in ConnSetTcpKeepalive() 387 CONN_LOGE(CONN_COMMON, "invalid param"); in ConnSetTcpUserTimeOut() [all …]
|
H A D | softbus_conn_common.c | 45 CONN_LOGE(CONN_COMMON, "copy anonymize data fail"); in AnonymizeData() 89 …CONN_CHECK_AND_RETURN_LOGW(msg != NULL, CONN_COMMON, "ATTENTION UNEXPECTED ERROR, try to free a nu… in ConnFreeMessage() 101 CONN_CHECK_AND_RETURN_RET_LOGE(msg != NULL, SOFTBUS_MEM_ERR, CONN_COMMON, in ConnPostMsgToLooper() 164 CONN_LOGE(CONN_COMMON, "get time failed"); in ConnectSoftBusCondWait() 180 CONN_LOGE(CONN_COMMON, "wait get queue count fail"); in WaitQueueLength() 183 CONN_LOGD(CONN_COMMON, "queue count=%{public}d", queueCount); in WaitQueueLength() 189 CONN_LOGE(CONN_COMMON, "wait queue length cond wait fail"); in WaitQueueLength() 201 CONN_LOGW(CONN_COMMON, "get queue count fail"); in GetMsg() 220 CONN_LOGE(CONN_COMMON, "invalid parameter"); in GetQueueLimit()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/tcp/src/ |
H A D | softbus_tcp_connect_manager.c | 123 CONN_LOGE(CONN_COMMON, "lock failed"); in AddTcpConnInfo() 133 CONN_LOGE(CONN_COMMON, in AddTcpConnInfo() 178 CONN_LOGE(CONN_COMMON, in DelTcpConnInfo() 191 CONN_LOGE(CONN_COMMON, "lock failed"); in DelTcpConnNode() 235 CONN_LOGE(CONN_COMMON, "malloc fail"); in TcpOnConnectEvent() 306 CONN_LOGE(CONN_COMMON, "lock failed"); in GetTcpInfoByFd() 356 CONN_LOGI(CONN_COMMON, "notfiy finish"); in TcpOnDataEventOut() 408 CONN_LOGE(CONN_COMMON, "lock failed"); in DelAllConnInfo() 466 CONN_LOGE(CONN_COMMON, "copy failed"); in WrapperAddTcpConnInfo() 577 CONN_LOGE(CONN_COMMON, "lock failed"); in TcpDisconnectDeviceNow() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/manager/ |
H A D | softbus_conn_manager.c | 92 CONN_LOGE(CONN_COMMON, "lock mutex failed"); in GetAllListener() 104 CONN_LOGE(CONN_COMMON, "malloc failed"); in GetAllListener() 110 CONN_LOGE(CONN_COMMON, "mem error"); in GetAllListener() 129 CONN_LOGE(CONN_COMMON, "lock mutex failed"); in GetListenerByModuleId() 155 CONN_LOGE(CONN_COMMON, "lock mutex failed"); in AddListener() 166 CONN_LOGE(CONN_COMMON, "malloc failed"); in AddListener() 188 CONN_LOGE(CONN_COMMON, "lock mutex failed"); in DelListener() 314 CONN_LOGE(CONN_COMMON, "callback is null"); in ConnSetConnectCallback() 532 CONN_LOGD(CONN_COMMON, "init tcp ok"); in ConnServerInit() 539 CONN_LOGD(CONN_COMMON, "init br ok"); in ConnServerInit() [all …]
|
H A D | softbus_conn_flow_control.c | 32 …CONN_CHECK_AND_RETURN_RET_LOGE(self, SOFTBUS_INVALID_PARAM, CONN_COMMON, "invalid parameter, contr… in Apply() 35 …CONN_CHECK_AND_RETURN_RET_LOGE(status == SOFTBUS_OK, SOFTBUS_LOCK_ERR, CONN_COMMON, "lock failed"); in Apply() 91 …CONN_CHECK_AND_RETURN_RET_LOGE(self, SOFTBUS_INVALID_PARAM, CONN_COMMON, "invalid parameter, contr… in ChangeConfiguration() 94 SOFTBUS_INVALID_PARAM, CONN_COMMON, "invalid parameter, window=%u", windowInMillis); in ChangeConfiguration() 96 SOFTBUS_INVALID_PARAM, CONN_COMMON, "invalid parameter, quota=%u", quotaInBytes); in ChangeConfiguration() 100 …CONN_CHECK_AND_RETURN_RET_LOGE(status == SOFTBUS_OK, SOFTBUS_LOCK_ERR, CONN_COMMON, "lock failed"); in ChangeConfiguration() 123 …CONN_CHECK_AND_RETURN_RET_LOGE(self, SOFTBUS_INVALID_PARAM, CONN_COMMON, "invalid parameter, contr… in ConnSlideWindowControllerConstructor() 125 …CONN_CHECK_AND_RETURN_RET_LOGE(ret == SOFTBUS_OK, SOFTBUS_LOCK_ERR, CONN_COMMON, "init lock failed… in ConnSlideWindowControllerConstructor() 140 CONN_CHECK_AND_RETURN_LOGE(self, CONN_COMMON, "invalid parameter, controller is null"); in ConnSlideWindowControllerDestructor() 142 CONN_CHECK_AND_RETURN_LOGE(status == SOFTBUS_OK, CONN_COMMON, "lock failed"); in ConnSlideWindowControllerDestructor() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/interface/include/ |
H A D | conn_log.h | 28 CONN_COMMON, enumerator 43 {CONN_COMMON, 0xd005763, "ConnCommon"},
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/src/ |
H A D | conn_log_test.cpp | 50 CONN_COMMON, ++connDomainBase, "ConnCommon"));
|