Home
last modified time | relevance | path

Searched refs:listenMod (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_listener.c167 conn->listenMod = module; in CreateSessionConnNode()
303 int32_t ret = TransTdcSrvRecvData(conn->listenMod, conn->channelId, conn->authHandle.type); in ProcessSocketInEvent()
310 TransProcDataRes(conn->listenMod, ret, conn->channelId, fd); in ProcessSocketInEvent()
320 DelTrigger(conn->listenMod, fd, WRITE_TRIGGER); in ProcessSocketOutEvent()
321 if (AddTrigger(conn->listenMod, fd, READ_TRIGGER) != SOFTBUS_OK) { in ProcessSocketOutEvent()
322 … TRANS_LOGE(TRANS_CTRL, "add trigger fail, module=%{public}d, fd=%{public}d", conn->listenMod, fd); in ProcessSocketOutEvent()
340 DelTrigger(conn->listenMod, fd, READ_TRIGGER); in ProcessSocketOutEvent()
352 DelTrigger(conn->listenMod, fd, EXCEPT_TRIGGER); in ProcessSocketExceptionEvent()
H A Dtrans_tcp_direct_manager.c81 DelTrigger(node->listenMod, fd, RW_TRIGGER); in OnSessionOpenFailProc()
150 void TransTdcStopSessionProc(ListenerModule listenMod) in TransTdcStopSessionProc() argument
168 if (listenMod != item->listenMod) { in TransTdcStopSessionProc()
243 DelTrigger(item->listenMod, item->appInfo.fd, RW_TRIGGER); in TransTdcDeathCallback()
H A Dtrans_tcp_direct_sessionconn.c161 conn->listenMod = module; in CreateNewSessinConn()
310 …if ((item->listenMod == DIRECT_CHANNEL_SERVER_P2P || (item->listenMod >= DIRECT_CHANNEL_SERVER_HML… in TransDelSessionConnById()
311 …item->listenMod <= DIRECT_CHANNEL_SERVER_HML_END)) && item->authHandle.authId != AUTH_INVALID_ID && in TransDelSessionConnById()
H A Dtrans_tcp_direct_p2p.c708 conn->listenMod = moudleType; in AddHmlTrigger()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/include/
H A Dtrans_tcp_direct_manager.h62 void TransTdcStopSessionProc(ListenerModule listenMod);
H A Dtrans_tcp_direct_sessionconn.h55 ListenerModule listenMod; member
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_core_tcp_direct_test.cpp103 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI; in TestSetSessionConn()
547 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI;
594 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI;
H A Dtrans_tcp_direct_message_test.cpp85 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI; in TestSetSessionConn()
H A Dtrans_tcp_direct_p2p_test.cpp95 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI; in TestSetSessionConn()
H A Dtrans_server_tcp_direct_test.cpp578 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI;
H A Dtrans_tcp_direct_message_static_test.cpp97 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI; in TestSetSessionConn()
H A Dtrans_tcp_direct_p2p_mock_test.cpp129 testConn->listenMod = DIRECT_CHANNEL_SERVER_WIFI; in TestSetSessionConn()
H A Dtrans_tcp_direct_message_append_test.cpp133 conn->listenMod = DIRECT_CHANNEL_SERVER_WIFI; in TestSetSessionConn()