Home
last modified time | relevance | path

Searched refs:isServerSide (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_listener/
H A Dlnn_lane_listener_deps_mock.cpp84 int32_t AddLaneResourceToPool(const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide) in AddLaneResourceToPool() argument
86 return GetLaneListenerDepsInterface()->AddLaneResourceToPool(linkInfo, laneId, isServerSide); in AddLaneResourceToPool()
89 int32_t DelLaneResourceByLaneId(uint64_t laneId, bool isServerSide) in DelLaneResourceByLaneId() argument
91 return GetLaneListenerDepsInterface()->DelLaneResourceByLaneId(laneId, isServerSide); in DelLaneResourceByLaneId()
H A Dlnn_lane_listener_deps_mock.h42 …nt32_t AddLaneResourceToPool(const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide) = 0;
43 virtual int32_t DelLaneResourceByLaneId(uint64_t laneId, bool isServerSide) = 0;
64 …AddLaneResourceToPool, int32_t (const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide));
65 MOCK_METHOD2(DelLaneResourceByLaneId, int32_t (uint64_t laneId, bool isServerSide));
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link/
H A Dlnn_lane_link_deps_mock.cpp111 int32_t AddLaneResourceToPool(const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide) in AddLaneResourceToPool() argument
113 return GetLaneLinkDepsInterface()->AddLaneResourceToPool(linkInfo, laneId, isServerSide); in AddLaneResourceToPool()
116 int32_t DelLaneResourceByLaneId(uint64_t laneId, bool isServerSide) in DelLaneResourceByLaneId() argument
118 return GetLaneLinkDepsInterface()->DelLaneResourceByLaneId(laneId, isServerSide); in DelLaneResourceByLaneId()
H A Dlnn_lane_link_deps_mock.h42 …nt32_t AddLaneResourceToPool(const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide) = 0;
43 virtual int32_t DelLaneResourceByLaneId(uint64_t laneId, bool isServerSide) = 0;
73 …AddLaneResourceToPool, int32_t (const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide));
74 MOCK_METHOD2(DelLaneResourceByLaneId, int32_t (uint64_t laneId, bool isServerSide));
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/trans_lane/
H A Dlnn_trans_lane_deps_mock.cpp99 int32_t AddLaneResourceToPool(const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide) in AddLaneResourceToPool() argument
101 return GetTransLaneIf()->AddLaneResourceToPool(linkInfo, laneId, isServerSide); in AddLaneResourceToPool()
104 int32_t DelLaneResourceByLaneId(uint64_t laneId, bool isServerSide) in DelLaneResourceByLaneId() argument
106 return GetTransLaneIf()->DelLaneResourceByLaneId(laneId, isServerSide); in DelLaneResourceByLaneId()
H A Dlnn_trans_lane_deps_mock.h44 …nt32_t AddLaneResourceToPool(const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide) = 0;
45 virtual int32_t DelLaneResourceByLaneId(uint64_t laneId, bool isServerSide) = 0;
71 …AddLaneResourceToPool, int32_t (const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide));
72 MOCK_METHOD2(DelLaneResourceByLaneId, int32_t (uint64_t laneId, bool isServerSide));
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link.c301 if (item->isServerSide) { in DetectDisableWifiDirectApply()
343 if (item->isServerSide) { in DetectEnableWifiDirectApply()
380 resourceItem->isServerSide = isServerSide; in CreateNewLaneResource()
433 if (isServerSide) { in UpdateExistLaneResource()
434 if (resourceItem->isServerSide) { in UpdateExistLaneResource()
439 resourceItem->isServerSide = true; in UpdateExistLaneResource()
473 if (!isServerSide) { in AddLaneResourceToPool()
489 if (isServerSide) { in IsNeedDelResource()
498 item->isServerSide = false; in IsNeedDelResource()
501 isServer = item->isServerSide; in IsNeedDelResource()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_link.h111 bool isServerSide; member
138 int32_t AddLaneResourceToPool(const LaneLinkInfo *linkInfo, uint64_t laneId, bool isServerSide);
139 int32_t DelLaneResourceByLaneId(uint64_t laneId, bool isServerSide);
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/
H A Dtrans_udp_nego_test.cpp650 bool isServerSide = true; variable
658 ret = NotifyUdpChannelOpened(appInfo, isServerSide);
661 isServerSide = false;
665 ret = NotifyUdpChannelOpened(appInfo, isServerSide);
670 ret = NotifyUdpChannelOpened(appInfo, isServerSide);
675 ret = NotifyUdpChannelOpened(appInfo, isServerSide);
774 bool isServerSide = true; variable
781 int32_t ret = ProcessUdpChannelState(appInfo, isServerSide);
784 isServerSide = false;
785 ret = ProcessUdpChannelState(appInfo, isServerSide);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_trans_proxy_transceiver_test.cpp434 removeNode1->isServerSide = true;
442 removeNode1->isServerSide = false;
469 removeNode.isServerSide = true;
509 connChan1->isServerSide = false;
554 proxyConnInfo.isServerSide = true;
574 connChan1->isServerSide = false;
583 connChan2->isServerSide = false;
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/src/
H A Dstream_adaptor.cpp77 …d StreamAdaptor::InitAdaptor(int32_t channelId, const VtpStreamOpenParam *param, bool isServerSide, in InitAdaptor() argument
88 serverSide_ = isServerSide; in InitAdaptor()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_transceiver.c131 if (removeNode->connId == connId && removeNode->isServerSide == isServer) { in TransDecConnRefByConnId()
168 if (item->connId == connId && item->isServerSide == isServer) { in TransAddConnRefByConnId()
458 if (item->isServerSide == chan->isServerSide && in TransAddConnItem()
514 if (item->connId == connId && item->isServerSide == isServer) { in TransCreateConnByConnId()
532 item->isServerSide = isServer; in TransCreateConnByConnId()
561 if (item->connInfo.type != connInfo->type || item->isServerSide != isServer) { in TransGetConn()
751 connChan->isServerSide = false; in TransProxyOpenNewConnChannel()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_device_common_key.h34 bool isServerSide; member
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_negotiation.c117 static int32_t NotifyUdpChannelOpened(const AppInfo *appInfo, bool isServerSide) in NotifyUdpChannelOpened() argument
126 info.isServer = isServerSide; in NotifyUdpChannelOpened()
144 if (!isServerSide) { in NotifyUdpChannelOpened()
358 static int32_t CloseUdpChannel(AppInfo *appInfo, bool isServerSide) in CloseUdpChannel() argument
364 int32_t messageType = isServerSide ? MESSAGE_TYPE_NOMAL : MESSAGE_TYPE_CLOSE_ACK; in CloseUdpChannel()
393 static int32_t ProcessUdpChannelState(AppInfo *appInfo, bool isServerSide) in ProcessUdpChannelState() argument
399 if (isServerSide) { in ProcessUdpChannelState()
407 ret = CloseUdpChannel(appInfo, isServerSide); in ProcessUdpChannelState()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/
H A Dsoftbus_proxychannel_transceiver.h35 bool isServerSide; member
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/include/
H A Dstream_adaptor.h54 void InitAdaptor(int32_t channelId, const VtpStreamOpenParam *param, bool isServerSide,
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_interface.c429 keyInfo->isServerSide = ret < 0 ? true : false; in FillAuthSessionInfo()
430 keyInfo->keyIndex = GenSeq(keyInfo->isServerSide); in FillAuthSessionInfo()
432 info->isServer = keyInfo->isServerSide; in FillAuthSessionInfo()
H A Dauth_session_json.c617 …if (AuthFindNormalizeKeyByServerSide(hashHexStr, !deviceKey->isServerSide, deviceKey) != SOFTBUS_O… in ParseNormalizeData()
631 AuthUpdateCreateTime(hashHexStr, AUTH_LINK_TYPE_NORMALIZED, deviceKey->isServerSide); in ParseNormalizeData()
H A Dauth_session_fsm.c450 deviceKey.isServerSide = authFsm->info.isServer; in SaveDeviceKey()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_server_tcp_direct_test.cpp202 static int32_t TestAddSessionConn(bool isServerSide) in TestAddSessionConn() argument
204 SessionConn *session = CreateNewSessinConn(DIRECT_CHANNEL_CLIENT, isServerSide); in TestAddSessionConn()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_test.cpp2078 EXPECT_FALSE(laneResourse.isServerSide);
2133 EXPECT_FALSE(laneResourse.isServerSide);
2180 EXPECT_FALSE(laneResourse.isServerSide);
2418 EXPECT_FALSE(laneResourse.isServerSide);
2473 EXPECT_TRUE(laneResourse.isServerSide);
2622 EXPECT_TRUE(laneResourse.isServerSide);
2666 EXPECT_TRUE(!laneResourse.isServerSide);
2707 EXPECT_TRUE(!laneResourse.isServerSide);