Home
last modified time | relevance | path

Searched refs:IsHmlIpAddr (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/
H A Dtrans_tcp_direct_p2p_test_mock.cpp54 bool IsHmlIpAddr(const char *ip) in IsHmlIpAddr() function
56 return GetTransTcpDirectP2pInterface()->IsHmlIpAddr(ip); in IsHmlIpAddr()
H A Dtrans_tcp_direct_p2p_test_mock.h35 virtual bool IsHmlIpAddr(const char *ip) = 0;
68 MOCK_METHOD1(IsHmlIpAddr, bool (const char *ip));
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_p2p_mock_test.cpp497 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillOnce(Return(false));
501 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillOnce(Return(true));
555 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillOnce(Return(false));
579 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillRepeatedly(Return(true));
626 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillRepeatedly(Return(false));
629 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillRepeatedly(Return(false));
794 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillRepeatedly(Return(true));
906 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillRepeatedly(Return(false));
910 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillRepeatedly(Return(true));
959 EXPECT_CALL(TcpP2pDirectMock, IsHmlIpAddr).WillRepeatedly(Return(true));
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_link_listener.c55 if (IsHmlIpAddr(localIp)) { in OnWifiDirectDeviceOffLine()
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_socket.h95 bool IsHmlIpAddr(const char *ip);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_p2p.c642 if (IsHmlIpAddr(myIp)) { in OnVerifyP2pRequest()
661 if (IsHmlIpAddr(addr)) { in ConnectTcpDirectPeer()
720 if (IsHmlIpAddr(myAddr)) { in AddP2pOrHmlTrigger()
918 type = IsHmlIpAddr(appInfo->myData.addr) ? CONNECT_HML : CONNECT_P2P; in StartVerifyP2pInfo()
1011 if (IsHmlIpAddr(conn->appInfo.myData.addr)) { in StartTransP2pDirectListener()
H A Dtrans_tcp_direct_wifi.c83 if (IsHmlIpAddr(myIp)) { in GetMoudleType()
H A Dtrans_tcp_direct_manager.c306 connType = (IsHmlIpAddr(appInfo->myData.addr)) ? CONNECT_HML : CONNECT_P2P; in TransOpenDirectChannel()
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c483 bool IsHmlIpAddr(const char *ip) in IsHmlIpAddr() function
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_listener.c360 laneLinkInfo->type = IsHmlIpAddr(peerIp) ? LANE_HML : LANE_P2P; in GetStateNotifyInfo()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_socket_manager.c285 if (IsHmlIpAddr(ip)) { in ClientTransCheckHmlIp()