Home
last modified time | relevance | path

Searched refs:DIRECT_CHANNEL_SERVER_P2P (Results 1 - 11 of 11) sorted by relevance

/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_core_tcp_direct_test.cpp405 info.socketOption.moduleId = DIRECT_CHANNEL_SERVER_P2P; in HWTEST_F()
412 int32_t ret = TransTdcStartSessionListener(DIRECT_CHANNEL_SERVER_P2P, &info); in HWTEST_F()
415 ret = TransTdcStartSessionListener(DIRECT_CHANNEL_SERVER_P2P, nullptr); in HWTEST_F()
421 ret = TransTdcStopSessionListener(DIRECT_CHANNEL_SERVER_P2P); in HWTEST_F()
H A Dtrans_tcp_direct_listener_test.cpp192 module = DIRECT_CHANNEL_SERVER_P2P; in HWTEST_F()
H A Dtrans_tcp_direct_message_static_test.cpp386 ret = TransTdcSrvProcData(DIRECT_CHANNEL_SERVER_P2P, channelId, 0); in HWTEST_F()
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_listener.c145 } else if (module == DIRECT_CHANNEL_SERVER_P2P) { in TransSetTcpDirectConnectType()
167 conn->appInfo.routeType = (module == DIRECT_CHANNEL_SERVER_P2P) ? WIFI_P2P : WIFI_STA; in CreateSessionConnNode()
351 for (uint32_t i = DIRECT_CHANNEL_SERVER_P2P; i <= DIRECT_CHANNEL_SERVER_HML_END; i++) { in TdcOnDataEvent()
H A Dtrans_tcp_direct_wifi.c86 module = DIRECT_CHANNEL_SERVER_P2P; in GetMoudleType()
H A Dtrans_tcp_direct_p2p.c74 info.socketOption.moduleId = DIRECT_CHANNEL_SERVER_P2P; in StartNewP2pListener()
81 listenerPort = TransTdcStartSessionListener(DIRECT_CHANNEL_SERVER_P2P, &info); in StartNewP2pListener()
170 if (StopBaseListener(DIRECT_CHANNEL_SERVER_P2P) != SOFTBUS_OK) { in StopP2pSessionListener()
197 (void)StopBaseListener(DIRECT_CHANNEL_SERVER_P2P); in StopP2pListenerByRemoteUuid()
213 (void)StopBaseListener(DIRECT_CHANNEL_SERVER_P2P); in StopP2pListenerByRemoteUuid()
858 int32_t ret = AddTrigger(DIRECT_CHANNEL_SERVER_P2P, fd, WRITE_TRIGGER); in AddP2pOrHmlTrigger()
1121 *conn = CreateNewSessinConn(DIRECT_CHANNEL_SERVER_P2P, false); in BuildSessionConn()
H A Dtrans_tcp_direct_sessionconn.c310 if ((item->listenMod == DIRECT_CHANNEL_SERVER_P2P || (item->listenMod >= DIRECT_CHANNEL_SERVER_HML_START && in TransDelSessionConnById()
/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_conn_interface.h87 DIRECT_CHANNEL_SERVER_P2P, enumerator
/foundation/communication/dsoftbus/tests/core/connection/tcp/
H A Dtcp_manager_test.cpp475 \ moduleId = DIRECT_CHANNEL_SERVER_P2P/DIRECT_CHANNEL_CLIENT/DIRECT_CHANNEL_SERVER_WIFI.\
488 option.socketOption.moduleId = DIRECT_CHANNEL_SERVER_P2P; in HWTEST_F()
562 \ moduleId = DIRECT_CHANNEL_SERVER_P2P/DIRECT_CHANNEL_CLIENT/DIRECT_CHANNEL_SERVER_WIFI.\
575 option.socketOption.moduleId = DIRECT_CHANNEL_SERVER_P2P; in HWTEST_F()
662 * @tc.desc: Test start and stop listener multi times info.type = connect_br moduleId DIRECT_CHANNEL_SERVER_P2P.
674 info.socketOption.moduleId = DIRECT_CHANNEL_SERVER_P2P; in HWTEST_F()
1052 info.socketOption.moduleId = DIRECT_CHANNEL_SERVER_P2P; in HWTEST_F()
1210 * @tc.desc: Test P2P and TCP start and stop listeners under DIRECT_CHANNEL_SERVER_P2P multiple times.
1222 info.socketOption.moduleId = DIRECT_CHANNEL_SERVER_P2P; in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_other_test.cpp1175 EXPECT_EQ(IsEnhanceP2pModuleId(DIRECT_CHANNEL_SERVER_P2P), false); in HWTEST_F()
H A Dauth_test.cpp2206 EXPECT_EQ(IsEnhanceP2pModuleId(DIRECT_CHANNEL_SERVER_P2P), false); in HWTEST_F()

Completed in 14 milliseconds