/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_select.c | 44 linkList[(*listNum)++] = LANE_P2P; in GetFileDefaultLink() 53 linkList[(*listNum)++] = LANE_P2P; in GetStreamDefaultLink() 141 case LANE_P2P: in GetLinkTypeStrng() 172 if ((linkType == LANE_WLAN_2P4G || linkType == LANE_WLAN_5G || linkType == LANE_P2P || in GetErrCodeOfLink() 309 if (resList[j] == LANE_HML || resList[j] == LANE_P2P) { in AdjustLanePriority() 337 if (resList[i] == LANE_P2P && (LaneCapCheck(networkId, LANE_HML) == SOFTBUS_OK)) { in LaneAddHml() 438 if (FindLaneResourceByLinkType(peerUdid, LANE_P2P, &resourceItem) != SOFTBUS_OK) { in IsSupportP2pReuse() 453 optionalLink[optLinkNum++] = LANE_P2P; in SelectDbLinks() 477 optionalLink[optLinkNum++] = LANE_P2P; in SelectRttLinks() 566 …} else if (linkType == LANE_P2P && FindLaneResourceByLinkType(udid, LANE_P2P, &resoureItem) == SOF… in IsAuthReuseWifiDirect() [all …]
|
H A D | lnn_lane_query.c | 44 linkList[(*listNum)++] = LANE_P2P; in GetFileLaneLink() 55 linkList[(*listNum)++] = LANE_P2P; in GetStreamLaneLink() 63 linkList[(*listNum)++] = LANE_P2P; in GetMsgLaneLink() 75 linkList[(*listNum)++] = LANE_P2P; in GetBytesLaneLink() 270 [LANE_P2P] = { true, P2pLinkState}, 306 return IsValidLaneLink(queryInfo->networkId, LANE_P2P); in QueryByRequireLink()
|
H A D | lnn_select_rule.c | 403 [LANE_P2P] = { true, P2pCapCheck, GetP2pScore }, 424 [HIGH_BAND_WIDTH] = {LANE_HML, LANE_P2P, LANE_LINK_TYPE_BUTT}, 431 [HIGH_BAND_WIDTH] = {LANE_HML, LANE_P2P, LANE_WLAN_5G, LANE_WLAN_2P4G, LANE_LINK_TYPE_BUTT}, 432 [MIDDLE_HIGH_BAND_WIDTH] = {LANE_HML, LANE_WLAN_5G, LANE_WLAN_2P4G, LANE_P2P, 434 [MIDDLE_LOW_BAND_WIDTH] = {LANE_WLAN_5G, LANE_HML, LANE_WLAN_2P4G, LANE_P2P, 436 [LOW_BAND_WIDTH] = {LANE_WLAN_5G, LANE_WLAN_2P4G, LANE_HML, LANE_BR, LANE_P2P, 666 if (isFilterP2p && linkList[i] == LANE_P2P) { in FinalDecideLinkType()
|
H A D | lnn_lane_common.c | 65 connInfo->type = LANE_P2P; in P2pInfoProc() 71 profile->linkType = LANE_P2P; in P2pInfoProc() 171 [LANE_P2P] = P2pInfoProc,
|
H A D | lnn_lane_link.c | 140 case LANE_P2P: in IsValidLinkAddr() 189 case LANE_P2P: in GetVapType() 402 if (linkInfo->type != LANE_BR && linkInfo->type != LANE_BLE && linkInfo->type != LANE_P2P && in AddNetworkResourceInner() 545 if (item->clientRef != 0 && item->link.type == LANE_P2P) { in ProcessVapInfo() 561 DeleteVapInfo(LANE_P2P); in ProcessVapInfo() 613 …static const LaneLinkType supportList[] = { LANE_P2P, LANE_HML, LANE_WLAN_2P4G, LANE_WLAN_5G, LANE… in LinkTypeCheck() 1311 linkInfo.linkType = LANE_P2P; in LaneLinkOfP2p() 1590 [LANE_P2P] = LaneLinkOfP2p, 1633 if (type == LANE_P2P || type == LANE_HML || type == LANE_HML_RAW) { in DestroyLink()
|
H A D | lnn_lane_listener.c | 360 laneLinkInfo->type = IsHmlIpAddr(peerIp) ? LANE_HML : LANE_P2P; in GetStateNotifyInfo() 481 linkInfo->type = link->linkType == WIFI_DIRECT_LINK_TYPE_HML ? LANE_HML : LANE_P2P; in CreateSinkLinkInfo() 556 LaneLinkType linkType = link->linkType == WIFI_DIRECT_LINK_TYPE_HML ? LANE_HML : LANE_P2P; in LnnOnWifiDirectDisconnectedForSink()
|
H A D | lnn_ctrl_lane.c | 80 laneLinkType->linkType[laneLinkType->linkTypeNum++] = LANE_P2P; in ConvertAuthLinkToLaneLink() 105 FindLaneResourceByLinkType(udid, LANE_P2P, &resoureItem) == SOFTBUS_OK && in IsAuthReuseP2p()
|
H A D | lnn_trans_lane.c | 587 optionalLink[linkNum++] = LANE_P2P; in SpecifiedLinkConvert() 1062 if (linkType == LANE_HML || linkType == LANE_P2P) { in GetErrCodeWithLock() 1102 [LANE_P2P] = P2P_LATENCY, 1160 if (linkInfo->type == LANE_P2P || linkInfo->type == LANE_HML) { in FreeUnusedLink() 1431 … nodeInfo->linkList->linkType[nodeInfo->linkRetryIdx] == LANE_P2P && linkType == LANE_HML && in BuildLinkRetry() 1598 if (nodeInfo->linkList->linkType[nodeInfo->linkRetryIdx] == LANE_P2P) { in HandleLinkTimeout() 1934 if (laneLinkInfo->type != LANE_P2P && laneLinkInfo->type != LANE_HML) { in HandleLaneQosChange()
|
H A D | lnn_lane.c | 554 if (laneLinkInfo.link.type != LANE_P2P && laneLinkInfo.link.type != LANE_P2P_REUSE && in GetMacInfoByLaneId()
|
H A D | lnn_lane_link_p2p.c | 1043 linkInfo->type = LANE_P2P; in CreateWDLinkInfo() 2087 if (request->linkType == LANE_P2P) { in CheckTransReqInfo() 2327 if (request->linkType != LANE_HML && request->linkType != LANE_P2P) { in TryWifiDirectReuse()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_lane_manager_test/ |
H A D | trans_lane_manager_test.cpp | 84 transDumpLaneLinkType = ConvertLaneLinkTypeToDumper(LANE_P2P); 378 connInfo->type = LANE_P2P; 389 connInfo->type = LANE_P2P; 433 ret = ConvertLaneLinkTypeToConnectType(LANE_P2P);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/ |
H A D | trans_lane_test.cpp | 381 EXPECT_EQ(ret, LANE_P2P); 487 LANE_P2P 563 .type = LANE_P2P, 642 .type = LANE_P2P, 648 info.type = LANE_P2P;
|
H A D | trans_lane_common_test.cpp | 169 type = LANE_P2P; 203 int32_t type = LANE_P2P; 264 connInfo.type = LANE_P2P;
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link/ |
H A D | lnn_lane_link_test.cpp | 265 linkType = LANE_P2P; 393 request.linkType = LANE_P2P; 809 request.linkType = LANE_P2P; 1171 request.linkType = LANE_P2P; 1224 request.linkType = LANE_P2P; 1276 request.linkType = LANE_P2P; 1326 request.linkType = LANE_P2P; 1382 request.linkType = LANE_P2P; 1440 request.linkType = LANE_P2P; 1499 request.linkType = LANE_P2P; [all …]
|
H A D | lnn_lane_link_wifi_direct_test.cpp | 476 RecycleP2pLinkedReqByLinkType(NODE_NETWORK_ID, LANE_P2P);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/ |
H A D | lane_test.cpp | 173 case LANE_P2P: in GetLinkType() 494 EXPECT_EQ(DestroyLink(networkId, laneReqId, LANE_P2P), SOFTBUS_LANE_RESOURCE_NOT_FOUND); 495 EXPECT_EQ(DestroyLink(nullptr, laneReqId, LANE_P2P), SOFTBUS_INVALID_PARAM);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/ |
H A D | lnn_lane_test.cpp | 1175 info.type = LANE_P2P; 1270 profile.linkType = LANE_P2P; 1277 param.linkType = LANE_P2P; 1507 reqInfo.linkType = LANE_P2P; 1566 reqInfo.linkType = LANE_P2P; 1595 reqInfo.linkType = LANE_P2P; 2643 linkInfo.type = LANE_P2P; 2693 linkInfo.type = LANE_P2P; 2815 linkList[0] = LANE_P2P; 3130 linkInfo.type = LANE_P2P; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/ |
H A D | lnn_lane_interface.h | 35 LANE_P2P, enumerator
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_channel_common.c | 155 …} else if ((transType == LANE_T_MSG) && (type != LANE_P2P) && (type != LANE_P2P_REUSE) && (type !=… in TransGetChannelType() 171 if (connInfo->type == LANE_P2P || connInfo->type == LANE_HML) { in FillAppInfo()
|
H A D | trans_lane_pending_ctl.c | 864 LANE_P2P, 1570 if (info->type == LANE_P2P) { in TransGetConnectOptByConnInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/ |
H A D | trans_lane_manager.c | 65 case LANE_P2P: in ConvertLaneLinkTypeToDumper() 796 case LANE_P2P: in ConvertLaneLinkTypeToConnectType()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_lane.c | 61 case LANE_P2P: in GetAuthConn()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/trans_lane/ |
H A D | lnn_trans_lane_test.cpp | 74 EXPECT_EQ(info->type, LANE_P2P); in OnLaneAllocSuccess()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/ |
H A D | instant_statistics.cpp | 205 if (linkType == LANE_P2P || linkType == LANE_P2P_REUSE || connectType == CONNECT_P2P || in InstGetIpFromLinkTypeOrConnectType()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_other_test.cpp | 1017 ret = GetAuthConn(uuid, LANE_P2P, connInfo);
|