Home
last modified time | relevance | path

Searched refs:laneReqId (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_trans_lane.c181 .laneReqId = laneReqId, in RemoveLinkTimeoutMessage()
242 if (item->laneReqId == laneReqId) { in DeleteLaneLinkNode()
288 linkNode->laneReqId = laneReqId; in TriggerLink()
337 newNode->laneReqId = laneReqId; in CreateRequestNode()
352 if (item->laneReqId == laneReqId) { in DeleteRequestNode()
382 newNode->laneReqId = laneReqId; in CreateReqNodeWithQos()
410 linkNode->laneReqId = laneReqId; in TriggerLinkWithQos()
938 if (item->laneReqId == laneReqId) { in Free()
963 if (item->laneReqId == laneReqId) { in UpdateReqInfoWithLaneReqId()
1506 if (item->laneReqId == laneReqId) { in UpdateFreeLaneStatus()
[all …]
H A Dlnn_lane.c97 uint32_t laneReqId; in AllocLaneReqId() local
107 return laneReqId; in AllocLaneReqId()
119 static void DestroyLaneReqId(uint32_t laneReqId) in DestroyLaneReqId() argument
121 uint32_t randomId = laneReqId & LANE_REQ_RANDOM_ID_MASK; in DestroyLaneReqId()
300 void FreeLaneReqId(uint32_t laneReqId) in FreeLaneReqId() argument
302 return DestroyLaneReqId(laneReqId); in FreeLaneReqId()
317 laneReqId, allocInfo->type, allocInfo->transType, in LnnAllocLane()
401 *type = laneReqId >> LANE_REQ_ID_TYPE_SHIFT; in CheckLaneObject()
412 static int32_t LnnCancelLane(uint32_t laneReqId) in LnnCancelLane() argument
428 static int32_t LnnFreeLink(uint32_t laneReqId) in LnnFreeLink() argument
[all …]
H A Dlnn_lane_link_p2p_virtual.c19 int32_t LnnConnectP2p(const LinkRequest *request, uint32_t laneReqId, const LaneLinkCb *callback) in LnnConnectP2p() argument
22 (void)laneReqId; in LnnConnectP2p()
26 int32_t LnnDisconnectP2p(const char *networkId, uint32_t laneReqId) in LnnDisconnectP2p() argument
29 (void)laneReqId; in LnnDisconnectP2p()
37 void LnnCancelWifiDirect(uint32_t laneReqId) in LnnCancelWifiDirect() argument
39 (void)laneReqId; in LnnCancelWifiDirect()
56 void LnnDisconnectP2pWithoutLnn(uint32_t laneReqId) in LnnDisconnectP2pWithoutLnn() argument
58 (void)laneReqId; in LnnDisconnectP2pWithoutLnn()
H A Dlnn_lane_link_p2p.c56 uint32_t laneReqId; member
90 uint32_t laneReqId; member
153 uint32_t laneReqId; member
899 newNode->laneReqId = reqInfo->laneRequestInfo.laneReqId; in AddNewP2pLinkedInfo()
1401 uint32_t laneReqId = p2pLinkReqInfo.laneRequestInfo.laneReqId; in HandleGuideChannelAsyncFail() local
1555 item->laneRequestInfo.laneReqId = laneReqId; in AddP2pLinkReqItem()
1833 if (item->laneRequestInfo.laneReqId == laneReqId) { in GetP2pLinkByLaneReqId()
1932 uint32_t laneReqId = p2pLinkReqInfo.laneRequestInfo.laneReqId; in GuideChannelDetect() local
2481 guideInfo.laneReqId = laneReqId; in SelectGuideChannel()
2884 if (item->laneReqId == laneReqId) { in LnnDisconnectP2pWithoutLnn()
[all …]
H A Dlnn_lane_reliability.c35 uint32_t laneReqId; member
174 infoItem->laneReqId = laneReqId; in WlanDetectReliability()
185 infoItem->laneReqId); in WlanDetectReliability()
191 infoItem->link.linkInfo.wlan.connInfo.port, infoItem->laneReqId); in WlanDetectReliability()
212 infoItem->laneDetectId, fd, infoItem->laneReqId); in WlanDetectReliability()
262 item->link.type, item->laneReqId, requestItem->laneDetectId); in NotifyWlanDetectResult()
274 item->link.type, item->laneReqId, requestItem->laneDetectId); in NotifyWlanDetectResult()
275 item->cb.onLaneLinkSuccess(item->laneReqId, laneInfo.type, &laneInfo); in NotifyWlanDetectResult()
319 if (laneReqId == INVALID_LANE_REQ_ID || linkInfo == NULL || callback == NULL) { in LaneDetectReliability()
328 result = WlanDetectReliability(laneReqId, linkInfo, callback); in LaneDetectReliability()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Dsoftbus_adapter_wlan_extend_test.cpp70 int32_t laneReqId = 0; variable
72 laneReqId = SoftBusRegWlanChannelInfoCb(g_wlanChannelInfoCb);
73 EXPECT_TRUE(laneReqId == SOFTBUS_INVALID_PARAM);
76 EXPECT_TRUE(laneReqId == SOFTBUS_OK);
90 int32_t laneReqId = 0; variable
92 laneReqId = SoftBusRequestWlanChannelInfo(channelId, num);
93 EXPECT_TRUE(laneReqId == SOFTBUS_INVALID_PARAM);
95 laneReqId = SoftBusRequestWlanChannelInfo(channelId, num);
96 EXPECT_TRUE(laneReqId == SOFTBUS_INVALID_PARAM);
99 laneReqId = SoftBusRequestWlanChannelInfo(channelId, num);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/include/
H A Dlnn_wifi_adpter_mock.h33 virtual int32_t LnnDisconnectP2p(const char *networkId, uint32_t laneReqId) = 0;
35 …virtual int32_t LnnConnectP2p(const LinkRequest *request, uint32_t laneReqId, const LaneLinkCb *ca…
36 virtual int32_t UpdateP2pLinkedInfo(uint32_t laneReqId, uint64_t laneId) = 0;
37 virtual void LnnCancelWifiDirect(uint32_t laneReqId) = 0;
38 virtual void LnnDisconnectP2pWithoutLnn(uint32_t laneReqId) = 0;
58 MOCK_METHOD2(UpdateP2pLinkedInfo, int32_t (uint32_t laneReqId, uint64_t laneId));
59 MOCK_METHOD1(LnnCancelWifiDirect, void (uint32_t laneReqId));
60 MOCK_METHOD1(LnnDisconnectP2pWithoutLnn, void (uint32_t laneReqId));
70 …static int32_t ActionOfLnnConnectP2p(const LinkRequest *request, uint32_t laneReqId, const LaneLin…
71 …static int32_t ActionOfOnConnectP2pFail(const LinkRequest *request, uint32_t laneReqId, const Lane…
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_wifi_adpter_mock.cpp101 int32_t LnnDisconnectP2p(const char *networkId, uint32_t laneReqId) in LnnDisconnectP2p() argument
103 return GetWifiAdpterInterface()->LnnDisconnectP2p(networkId, laneReqId); in LnnDisconnectP2p()
111 int32_t LnnConnectP2p(const LinkRequest *request, uint32_t laneReqId, const LaneLinkCb *callback) in LnnConnectP2p() argument
113 return GetWifiAdpterInterface()->LnnConnectP2p(request, laneReqId, callback); in LnnConnectP2p()
116 int32_t UpdateP2pLinkedInfo(uint32_t laneReqId, uint64_t laneId) in UpdateP2pLinkedInfo() argument
118 return GetWifiAdpterInterface()->UpdateP2pLinkedInfo(laneReqId, laneId); in UpdateP2pLinkedInfo()
121 void LnnCancelWifiDirect(uint32_t laneReqId) in LnnCancelWifiDirect() argument
123 return GetWifiAdpterInterface()->LnnCancelWifiDirect(laneReqId); in LnnCancelWifiDirect()
126 void LnnDisconnectP2pWithoutLnn(uint32_t laneReqId) in LnnDisconnectP2pWithoutLnn() argument
128 return GetWifiAdpterInterface()->LnnDisconnectP2pWithoutLnn(laneReqId); in LnnDisconnectP2pWithoutLnn()
H A Dlnn_lane_test.cpp422 (void)laneManager->lnnFreeLane(laneReqId);
457 ret = laneManager->lnnFreeLane(laneReqId);
488 ret = laneManager->lnnFreeLane(laneReqId);
520 ret = laneManager->lnnFreeLane(laneReqId);
550 ret = laneManager->lnnFreeLane(laneReqId);
579 ret = laneManager->lnnFreeLane(laneReqId);
611 ret = laneManager->lnnFreeLane(laneReqId);
2938 uint32_t laneReqId = 0; variable
2948 FreeLaneReqId(laneReqId);
2949 laneReqId = 0xfffffff;
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link/
H A Dlnn_lane_link_test.cpp282 uint32_t laneReqId = 10; variable
306 uint32_t laneReqId = 10; variable
335 uint32_t laneReqId = 10; variable
368 uint32_t laneReqId = 10; variable
396 uint32_t laneReqId = 10; variable
446 uint32_t laneReqId = 10; variable
494 uint32_t laneReqId = 10; variable
541 uint32_t laneReqId = 10; variable
584 uint32_t laneReqId = 10; variable
629 uint32_t laneReqId = 10; variable
[all …]
H A Dlnn_lane_link_deps_mock.cpp53 int32_t LaneLinkDepsInterfaceMock::ActionOfDetectSuccess(uint32_t laneReqId, const LaneLinkInfo *li… in ActionOfDetectSuccess() argument
60 callback->onLaneLinkSuccess(laneReqId, linkInfo->type, linkInfo); in ActionOfDetectSuccess()
65 int32_t GetTransReqInfoByLaneReqId(uint32_t laneReqId, TransOption *reqInfo) in GetTransReqInfoByLaneReqId() argument
67 return GetLaneLinkDepsInterface()->GetTransReqInfoByLaneReqId(laneReqId, reqInfo); in GetTransReqInfoByLaneReqId()
96 int32_t LaneDetectReliability(uint32_t laneReqId, const LaneLinkInfo *linkInfo, const LaneLinkCb *c… in LaneDetectReliability() argument
98 return GetLaneLinkDepsInterface()->LaneDetectReliability(laneReqId, linkInfo, callback); in LaneDetectReliability()
121 void NotifyFreeLaneResult(uint32_t laneReqId, int32_t errCode) in NotifyFreeLaneResult() argument
123 GetLaneLinkDepsInterface()->NotifyFreeLaneResult(laneReqId, errCode); in NotifyFreeLaneResult()
H A Dlnn_lane_link_deps_mock.h31 virtual int32_t GetTransReqInfoByLaneReqId(uint32_t laneReqId, TransOption *reqInfo) = 0;
38 virtual int32_t LaneDetectReliability(uint32_t laneReqId, const LaneLinkInfo *linkInfo,
44 virtual void NotifyFreeLaneResult(uint32_t laneReqId, int32_t errCode) = 0;
61 MOCK_METHOD2(GetTransReqInfoByLaneReqId, int32_t (uint32_t laneReqId, TransOption *reqInfo));
69 MOCK_METHOD3(LaneDetectReliability, int32_t (uint32_t laneReqId, const LaneLinkInfo *linkInfo,
75 MOCK_METHOD2(NotifyFreeLaneResult, void (uint32_t laneReqId, int32_t errCode));
91 static int32_t ActionOfDetectSuccess(uint32_t laneReqId, const LaneLinkInfo *linkInfo,
H A Dlnn_lane_link_wifi_direct_test.cpp211 uint32_t laneReqId = 22; variable
238 LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId);
257 uint32_t laneReqId = 23; variable
285 LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId);
305 uint32_t laneReqId = 23; variable
334 LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId);
355 uint32_t laneReqId = 24; variable
388 LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId);
408 uint32_t laneReqId = 24; variable
441 LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/
H A Dlane_test.cpp217 EXPECT_TRUE(laneReqId != INVALID_LANE_REQ_ID);
219 FreeLaneReqId(laneReqId);
231 uint32_t laneReqId; variable
239 laneReqId = laneManager->lnnGetLaneHandle(laneType);
240 EXPECT_TRUE(laneReqId != INVALID_LANE_REQ_ID);
241 laneReqIdList[i] = laneReqId;
243 laneReqId = laneManager->lnnGetLaneHandle(laneType);
244 EXPECT_TRUE(laneReqId == INVALID_LANE_REQ_ID);
392 EXPECT_TRUE(laneReqId != INVALID_LANE_REQ_ID);
413 EXPECT_TRUE(laneReqId != INVALID_LANE_REQ_ID);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/trans_lane/
H A Dlnn_trans_lane_test.cpp110 uint32_t laneReqId = 1; variable
111 int32_t ret = transObj->allocLane(laneReqId, nullptr, nullptr);
116 ret = transObj->allocLane(laneReqId, (const LaneRequestOption *)&request, nullptr);
136 uint32_t laneReqId = 1; variable
140 int32_t ret = transObj->allocLane(laneReqId, (const LaneRequestOption *)&request, nullptr);
160 uint32_t laneReqId = 1; variable
191 uint32_t laneReqId = 1; variable
229 uint32_t laneReqId = 1; variable
267 uint32_t laneReqId = 1; variable
433 uint32_t laneReqId = 1; variable
[all …]
H A Dlnn_trans_lane_deps_mock.cpp79 int32_t DestroyLink(const char *networkId, uint32_t laneReqId, LaneLinkType type) in DestroyLink() argument
81 return GetTransLaneIf()->DestroyLink(networkId, laneReqId, type); in DestroyLink()
89 void UnbindLaneReqIdFromProfile(uint32_t laneReqId, uint32_t profileId) in UnbindLaneReqIdFromProfile() argument
91 GetTransLaneIf()->UnbindLaneReqIdFromProfile(laneReqId, profileId); in UnbindLaneReqIdFromProfile()
114 void FreeLaneReqId(uint32_t laneReqId) in FreeLaneReqId() argument
116 GetTransLaneIf()->FreeLaneReqId(laneReqId); in FreeLaneReqId()
H A Dlnn_trans_lane_deps_mock.h40 virtual int32_t DestroyLink(const char *networkId, uint32_t laneReqId, LaneLinkType type) = 0;
42 virtual void UnbindLaneReqIdFromProfile(uint32_t laneReqId, uint32_t profileId) = 0;
47 virtual void FreeLaneReqId(uint32_t laneReqId) = 0;
67 … MOCK_METHOD3(DestroyLink, int32_t (const char *networkId, uint32_t laneReqId, LaneLinkType type));
74 MOCK_METHOD1(FreeLaneReqId, void (uint32_t laneReqId));
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/
H A Dtrans_lane_pending_test.cpp890 uint32_t laneReqId = TEST_LANE_ID; variable
919 uint32_t laneReqId = TEST_LANE_ID; variable
941 uint32_t laneReqId = TEST_LANE_ID; variable
971 uint32_t laneReqId = TEST_LANE_ID; variable
1004 uint32_t laneReqId = TEST_LANE_ID; variable
1040 uint32_t laneReqId = TEST_LANE_ID; variable
1067 uint32_t laneReqId = TEST_LANE_ID; variable
1076 ret = TransWaitingFreeLane(laneReqId);
1082 ret = TransWaitingFreeLane(laneReqId);
1089 ret = TransWaitingFreeLane(laneReqId);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_lane_test.cpp144 uint32_t laneReqId = 1; variable
160 ret = AddAuthReqNode(NETWORK_ID, laneReqId, authRequestId, nullptr);
163 ret = AddAuthReqNode(NETWORK_ID, laneReqId, authRequestId, &authConnCb);
168 AuthOnLaneAllocSuccess(laneReqId, &info);
299 AuthOnLaneAllocSuccess(laneReqId, &laneConnInfo);
343 AuthOnLaneAllocSuccess(laneReqId, &laneConnInfo);
383 AuthOnLaneAllocFail(laneReqId, SOFTBUS_ERR);
429 AuthOnLaneAllocSuccess(laneReqId, &laneConnInfo);
475 AuthOnLaneAllocSuccess(laneReqId, &laneConnInfo);
518 AuthOnLaneAllocFail(laneReqId, SOFTBUS_ERR);
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_link_p2p.h25 int32_t LnnConnectP2p(const LinkRequest *request, uint32_t laneReqId, const LaneLinkCb *callback);
26 int32_t LnnDisconnectP2p(const char *networkId, uint32_t laneReqId);
28 void LnnCancelWifiDirect(uint32_t laneReqId);
31 void LnnDisconnectP2pWithoutLnn(uint32_t laneReqId);
H A Dlnn_trans_lane.h36 uint32_t laneReqId; member
49 int32_t GetTransReqInfoByLaneReqId(uint32_t laneReqId, TransReqInfo *reqInfo);
50 int32_t PostDelayDestroyMessage(uint32_t laneReqId, uint64_t laneId, uint64_t delayMillis);
57 void NotifyFreeLaneResult(uint32_t laneReqId, int32_t errCode);
H A Dlnn_lane_interface.h155 void (*onLaneRequestSuccess)(uint32_t laneReqId, const LaneConnInfo *info);
156 void (*onLaneRequestFail)(uint32_t laneReqId, int32_t errCode);
287 int32_t LnnRequestLane(uint32_t laneReqId, const LaneRequestOption *request, const ILaneListener *l…
288 int32_t LnnFreeLane(uint32_t laneReqId);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/include/
H A Dtrans_lane_pending_ctl.h49 uint32_t laneReqId; member
76 int32_t TransAuthWithParaAddLaneReqToList(uint32_t laneReqId, const char *sessionName,
78 int32_t TransAuthWithParaDelLaneReqById(uint32_t laneReqId);
79 int32_t TransAuthWithParaGetLaneReqByLaneReqId(uint32_t laneReqId, TransAuthWithParaNode *paraNode);
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/mock/src/
H A Dtrans_auth_mock.cpp237 int32_t LnnRequestLane(uint32_t laneReqId, const LaneRequestOption *request, const ILaneListener *l… in LnnRequestLane() argument
239 return GetTransAuthInterface()->LnnRequestLane(laneReqId, request, listener); in LnnRequestLane()
242 int32_t LnnFreeLane(uint32_t laneReqId) in LnnFreeLane() argument
244 return GetTransAuthInterface()->LnnFreeLane(laneReqId); in LnnFreeLane()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/
H A Dtrans_lane_pending_test_mock.cpp69 int32_t LnnRequestLane(uint32_t laneReqId, const LaneRequestOption *request, const ILaneListener *l… in LnnRequestLane() argument
71 return GetTransLanePendingTestInterface()->LnnRequestLane(laneReqId, request, listener); in LnnRequestLane()

12