Home
last modified time | relevance | path

Searched refs:linkType (Results 1 - 25 of 174) sorted by relevance

1234567

/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dsession_pool.cpp30 void SessionPool::OccupySession(int32_t sessionId, uint8_t linkType) in OccupySession() argument
33 occupySession_[sessionId] = linkType; in OccupySession()
60 uint8_t linkType = 0; in ReleaseSession() local
76 linkType = linkTypeIter->second; in ReleaseSession()
79 if (DeviceDisconnectCountOnly(cid, linkType, false)) { in ReleaseSession()
86 linkType = linkTypeIter->second; in ReleaseSession()
94 return linkType; in ReleaseSession()
97 void SessionPool::ReleaseSession(const string &cid, const uint8_t linkType) in ReleaseSession() argument
105 mlinkType = (linkTypeIter->second == 0) ? linkType : linkTypeIter->second; in ReleaseSession()
107 if (mlinkType == linkType in ReleaseSession()
137 DeviceDisconnectCountOnly(const string &cid, const uint8_t linkType, bool needErase) DeviceDisconnectCountOnly() argument
182 uint8_t linkType = it->second; DeviceConnectCountOnly() local
[all...]
H A Dnetwork_agent_template.cpp132 void NetworkAgentTemplate::OccupySession(int32_t sessionId, uint8_t linkType) in OccupySession() argument
134 sessionPool_.OccupySession(sessionId, linkType); in OccupySession()
168 uint8_t linkType = sessionPool_.ReleaseSession(fd); in GetSessionProcessInner() local
169 GetSession(cidStr, linkType); in GetSessionProcessInner()
172 void NetworkAgentTemplate::GetSession(const string &cid, uint8_t linkType) in GetSession() argument
177 if (linkType == LINK_TYPE_AP) { in GetSession()
183 } else if (linkType == LINK_TYPE_P2P) { in GetSession()
195 sessionPool_.DeviceDisconnectCountOnly(cid, linkType, true); in GetSession()
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/
H A Dchannel_manager.cpp41 std::shared_ptr<Connection> ChannelManager::GetConnection(ChannelLinkType linkType) in GetConnection() argument
44 switch (linkType) { in GetConnection()
47 CLOGD("GetConnection, Create SoftBus Connection, linkType = %{public}d.", linkType); in GetConnection()
52 CLOGD("GetConnection, Create Tcp Connection, linkType = %{public}d.", linkType); in GetConnection()
55 CLOGE("Invalid linkType, linkType = %{public}d.", linkType); in GetConnection()
81 std::shared_ptr<Connection> connection = GetConnection(request.linkType); in CreateChannel()
[all...]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/
H A Dchannel_manager.cpp41 std::shared_ptr<Connection> ChannelManager::GetConnection(ChannelLinkType linkType) in GetConnection() argument
44 switch (linkType) { in GetConnection()
47 CLOGD("GetConnection, Create SoftBus Connection, linkType = %{public}d.", linkType); in GetConnection()
52 CLOGD("GetConnection, Create Tcp Connection, linkType = %{public}d.", linkType); in GetConnection()
55 CLOGE("Invalid linkType, linkType = %{public}d.", linkType); in GetConnection()
81 std::shared_ptr<Connection> connection = GetConnection(request.linkType); in CreateChannel()
[all...]
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_bus_center.c116 uint8_t linkType; member
143 uint8_t linkType; member
704 msg->paramArray[SOFTBUS_EVT_PARAM_ONE].paramValue.u32v = info->linkType; in SetBusCenterFaultMsgParamValve()
792 static int32_t InitAuthItemMutexLock(SoftBusLinkType linkType, SoftBusMutexAttr *mutexAttr) in InitAuthItemMutexLock() argument
794 if (SoftBusMutexInit(&(g_authResultRecord[linkType].lock), mutexAttr) != SOFTBUS_OK) { in InitAuthItemMutexLock()
805 for (SoftBusLinkType linkType = SOFTBUS_HISYSEVT_LINK_TYPE_BR; linkType < SOFTBUS_HISYSEVT_LINK_TYPE_BUTT; in InitAuthEvtMutexLock()
806 linkType++) { in InitAuthEvtMutexLock()
807 ret = InitAuthItemMutexLock(linkType, &mutexAttr); in InitAuthEvtMutexLock()
818 for (SoftBusLinkType linkType in DeinitAuthEvtMutexLock()
824 InitBusCenterItemMutexLock(SoftBusLinkType linkType, SoftBusMutexAttr *mutexAttr) InitBusCenterItemMutexLock() argument
1037 SoftBusCreateAuthResultMsg(SoftBusEvtReportMsg *msg, SoftBusLinkType linkType) SoftBusCreateAuthResultMsg() argument
1202 CreateBusCenterDurStasticMsg(SoftBusEvtReportMsg *msg, SoftBusLinkType linkType) CreateBusCenterDurStasticMsg() argument
1275 IsNeedReportLnnDurRecordItem(SoftBusLinkType linkType) IsNeedReportLnnDurRecordItem() argument
1342 IsNeedReportAuthResultRecordItem(SoftBusLinkType linkType) IsNeedReportAuthResultRecordItem() argument
1442 SoftBusRecordBusCenterResult(SoftBusLinkType linkType, uint64_t constTime) SoftBusRecordBusCenterResult() argument
1475 SoftBusRecordAuthResult(SoftBusLinkType linkType, int32_t ret, uint64_t constTime, AuthFailStage stage) SoftBusRecordAuthResult() argument
[all...]
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_select.c117 int32_t LaneCapCheck(const char *networkId, LaneLinkType linkType) in LaneCapCheck() argument
119 if ((networkId == NULL) || (!IsLinkTypeValid(linkType))) { in LaneCapCheck()
122 LinkAttribute *linkAttr = GetLinkAttrByLinkType(linkType); in LaneCapCheck()
128 LNN_LOGE(LNN_LANE, "link capacity is not support. linkType=%{public}d", linkType); in LaneCapCheck()
166 LNN_LOGD(LNN_LANE, "priority=%{public}u, linkType=%{public}s", priority, GetLinkTypeStrng(preferredLink)); in DumpPreferredLink()
169 int32_t GetErrCodeOfLink(const char *networkId, LaneLinkType linkType) in GetErrCodeOfLink() argument
172 if ((linkType == LANE_WLAN_2P4G || linkType == LANE_WLAN_5G || linkType in GetErrCodeOfLink()
550 IsAuthReuseWifiDirect(const char *networkId, LaneLinkType linkType) IsAuthReuseWifiDirect() argument
[all...]
H A Dlnn_trans_lane.c111 LaneLinkType linkType; member
116 LaneLinkType linkType; member
162 if (info->linkType == LANE_LINK_TYPE_BUTT) { in RemoveLinkTimeout()
163 LNN_LOGI(LNN_LANE, "remove build link timeout message succ. laneReqId=%{public}u, linkType=%{public}d", in RemoveLinkTimeout()
164 info->laneReqId, info->linkType); in RemoveLinkTimeout()
167 if (msg->arg2 == info->linkType) { in RemoveLinkTimeout()
168 LNN_LOGI(LNN_LANE, "remove build link timeout message succ. laneReqId=%{public}u, linkType=%{public}d", in RemoveLinkTimeout()
169 info->laneReqId, info->linkType); in RemoveLinkTimeout()
175 static void RemoveLinkTimeoutMessage(uint32_t laneReqId, LaneLinkType linkType) in RemoveLinkTimeoutMessage() argument
177 LNN_LOGI(LNN_LANE, "remove build link timeout message. laneReqId=%{public}u, linkType in RemoveLinkTimeoutMessage()
187 LinkSuccess(uint32_t laneReqId, LaneLinkType linkType, const LaneLinkInfo *linkInfo) LinkSuccess() argument
213 LinkFail(uint32_t laneReqId, int32_t reason, LaneLinkType linkType) LinkFail() argument
251 PostLinkTimeoutMessage(uint32_t laneReqId, LaneLinkType linkType, uint64_t delayMillis) PostLinkTimeoutMessage() argument
889 CheckLinkConflict(const char* peerUdid, LaneLinkType linkType) CheckLinkConflict() argument
1084 LaneLinkType linkType; GetErrCodeWithLock() local
1196 UpdateLinkStatus(uint32_t laneReqId, BuildLinkStatus status, LaneLinkType linkType, const LaneLinkInfo *linkInfo, int32_t result) UpdateLinkStatus() argument
1253 LaneLinkType linkType = nodeInfo->linkList->linkType[i]; IsNeedNotifySucc() local
1283 LaneLinkType linkType = nodeInfo->linkList->linkType[i]; GetLaneLinkInfo() local
1301 FreeLowPriorityLink(uint32_t laneReqId, LaneLinkType linkType) FreeLowPriorityLink() argument
1333 LaneLinkType linkType; NotifyLinkSucc() local
1380 LaneLinkType linkType = (LaneLinkType)msg->arg2; LaneLinkSuccess() local
1418 LaneLinkType linkType = nodeInfo->linkList->linkType[i]; IsNeedNotifyFail() local
1450 LaneLinkType linkType = nodeInfo->linkList->linkType[i]; BuildLinkRetry() local
1479 LaneLinkType linkType = failInfo->linkType; LaneLinkFail() local
1615 LaneLinkType linkType = nodeInfo->linkList->linkType[i]; HandleLinkTimeout() local
[all...]
H A Dlnn_ctrl_lane.c68 switch (authLinkType->linkType[i]) { in ConvertAuthLinkToLaneLink()
70 laneLinkType->linkType[laneLinkType->linkTypeNum++] = LANE_WLAN_5G; in ConvertAuthLinkToLaneLink()
71 laneLinkType->linkType[laneLinkType->linkTypeNum++] = LANE_WLAN_2P4G; in ConvertAuthLinkToLaneLink()
74 laneLinkType->linkType[laneLinkType->linkTypeNum++] = LANE_BR; in ConvertAuthLinkToLaneLink()
77 laneLinkType->linkType[laneLinkType->linkTypeNum++] = LANE_BLE; in ConvertAuthLinkToLaneLink()
80 laneLinkType->linkType[laneLinkType->linkTypeNum++] = LANE_P2P; in ConvertAuthLinkToLaneLink()
83 laneLinkType->linkType[laneLinkType->linkTypeNum++] = LANE_HML; in ConvertAuthLinkToLaneLink()
158 static void CtrlLinkFail(uint32_t laneHandle, int32_t reason, LaneLinkType linkType) in CtrlLinkFail() argument
160 (void)linkType; in CtrlLinkFail()
210 LNN_LOGI(LNN_LANE, "ctrl notify laneAlloc succ, laneHandle=%{public}u, linkType in CtrlNotifyLaneAllocSuccess()
216 CtrlLinkSuccess(uint32_t laneHandle, LaneLinkType linkType, const LaneLinkInfo *linkInfo) CtrlLinkSuccess() argument
[all...]
H A Dlnn_lane_link_p2p.c58 LaneLinkType linkType; member
97 LaneLinkType linkType; member
633 wifiDirectInfo->connectType = item->laneRequestInfo.linkType == LANE_HML ? in GetP2pLinkReqParamByChannelRequetId()
684 wifiDirectInfo->connectType = item->laneRequestInfo.linkType == LANE_HML ? in GetP2pLinkReqParamByAuthHandle()
745 static WdGuideInfo *GetGuideNodeWithoutLock(uint32_t laneReqId, LaneLinkType linkType) in GetGuideNodeWithoutLock() argument
749 if (guideInfoNode->laneReqId == laneReqId && guideInfoNode->request.linkType == linkType) { in GetGuideNodeWithoutLock()
756 static int32_t GetGuideInfo(uint32_t laneReqId, LaneLinkType linkType, WdGuideInfo *guideInfo) in GetGuideInfo() argument
765 if (guideItem->laneReqId == laneReqId && guideItem->request.linkType == linkType) { in GetGuideInfo()
780 DelGuideInfoItem(uint32_t laneReqId, LaneLinkType linkType) DelGuideInfoItem() argument
798 GetFirstGuideType(uint32_t laneReqId, LaneLinkType linkType, WdGuideType *guideType) GetFirstGuideType() argument
866 AddNewP2pLinkedInfo(const P2pLinkReqList *reqInfo, int32_t linkId, LaneLinkType linkType) AddNewP2pLinkedInfo() argument
1261 PostGuideChannelTriggerMessage(uint32_t laneReqId, LaneLinkType linkType) PostGuideChannelTriggerMessage() argument
1309 GuideNodeIsExist(uint32_t laneReqId, LaneLinkType linkType) GuideNodeIsExist() argument
1328 IsGuideChnanelReuseFail(bool reuseOnly, uint32_t laneReqId, LaneLinkType linkType) IsGuideChnanelReuseFail() argument
1336 HandleGuideChannelRetry(uint32_t laneReqId, LaneLinkType linkType, int32_t reason) HandleGuideChannelRetry() argument
1378 LaneLinkType linkType = p2pLinkReqInfo.laneRequestInfo.linkType; HandleGuideChannelAsyncFail() local
1390 GetCurrentGuideType(uint32_t laneReqId, LaneLinkType linkType, WdGuideType *guideType) GetCurrentGuideType() argument
1882 DetectSuccess(uint32_t laneReqId, LaneLinkType linkType, const LaneLinkInfo *linkInfo) DetectSuccess() argument
1900 DetectFail(uint32_t laneReqId, int32_t reason, LaneLinkType linkType) DetectFail() argument
2442 LnnSelectDirectLink(uint32_t laneReqId, LaneLinkType linkType) LnnSelectDirectLink() argument
2460 BuildGuideChannel(uint32_t laneReqId, LaneLinkType linkType) BuildGuideChannel() argument
2507 LaneLinkType linkType = (LaneLinkType)msg->arg2; GuideChannelTrigger() local
2559 RecycleP2pLinkedReqByLinkType(const char *peerNetworkId, LaneLinkType linkType) RecycleP2pLinkedReqByLinkType() argument
2918 LaneLinkType linkType = LANE_LINK_TYPE_BUTT; LnnDisconnectP2p() local
[all...]
H A Dlnn_select_rule.c415 LinkAttribute *GetLinkAttrByLinkType(LaneLinkType linkType) in GetLinkAttrByLinkType() argument
417 if ((linkType < 0) || (linkType >= LANE_LINK_TYPE_BUTT)) { in GetLinkAttrByLinkType()
420 return &g_linkAttr[linkType]; in GetLinkAttrByLinkType()
448 static int32_t CheckLaneValid(const char *networkId, LaneLinkType linkType, LaneTransType transType) in CheckLaneValid() argument
450 if (!IsLinkTypeValid(linkType)) { in CheckLaneValid()
453 LinkAttribute *linkAttr = GetLinkAttrByLinkType(linkType); in CheckLaneValid()
459 LNN_LOGE(LNN_LANE, "link capacity is not support. linkType=%{public}d", linkType); in CheckLaneValid()
464 bool isBt = (linkType in CheckLaneValid()
513 IsLaneExist(LaneLinkType *linkList, LaneLinkType linkType) IsLaneExist() argument
[all...]
H A Dlnn_lane_query.c274 static int32_t IsValidLaneLink(const char *networkId, LaneLinkType linkType) in IsValidLaneLink() argument
276 if ((linkType < 0) || (linkType >= LANE_LINK_TYPE_BUTT)) { in IsValidLaneLink()
277 LNN_LOGE(LNN_LANE, "invalid linkType=%{public}d", linkType); in IsValidLaneLink()
280 if (!g_linkState[linkType].available) { in IsValidLaneLink()
281 LNN_LOGE(LNN_LANE, "invalid QueryLink, linkType=%{public}d", linkType); in IsValidLaneLink()
284 if (g_linkState[linkType].QueryLink == NULL) { in IsValidLaneLink()
285 LNN_LOGE(LNN_LANE, "invalid QueryLink, linkType in IsValidLaneLink()
[all...]
H A Dlnn_lane_common.c40 profile->linkType = LANE_BR; in BrInfoProc()
59 profile->linkType = LANE_BLE; in BleInfoProc()
71 profile->linkType = LANE_P2P; in P2pInfoProc()
85 profile->linkType = LANE_HML; in HmlInfoProc()
105 profile->linkType = LANE_P2P_REUSE; in P2pReuseInfoProc()
117 profile->linkType = LANE_WLAN_2P4G; in Wlan2P4GInfoProc()
131 profile->linkType = LANE_WLAN_5G; in Wlan5GInfoProc()
146 profile->linkType = LANE_BLE_DIRECT; in BleDirectInfoProc()
164 profile->linkType = LANE_COC; in CocInfoProc()
190 LNN_LOGE(LNN_LANE, "unsupport linkType in LaneInfoProcess()
[all...]
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/trans_lane/
H A Dlnn_trans_lane_deps_mock.cpp43 .type = reqInfo->linkType, in ActionOfLaneLinkSuccess()
45 cb->onLaneLinkSuccess(reqId, reqInfo->linkType, &linkInfo); in ActionOfLaneLinkSuccess()
52 cb->onLaneLinkFail(reqId, SOFTBUS_LANE_TRIGGER_LINK_FAIL, reqInfo->linkType); in ActionOfLaneLinkFail()
139 uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType) in GenerateLaneId() argument
141 return GetTransLaneIf()->GenerateLaneId(localUdid, remoteUdid, linkType); in GenerateLaneId()
144 int32_t LaneCapCheck(const char *networkId, LaneLinkType linkType) in LaneCapCheck() argument
146 return GetTransLaneIf()->LaneCapCheck(networkId, linkType); in LaneCapCheck()
149 int32_t GetErrCodeOfLink(const char *networkId, LaneLinkType linkType) in GetErrCodeOfLink() argument
151 return GetTransLaneIf()->GetErrCodeOfLink(networkId, linkType); in GetErrCodeOfLink()
H A Dlnn_trans_lane_deps_mock.h52 virtual uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType) = 0;
53 virtual int32_t LaneCapCheck(const char *networkId, LaneLinkType linkType) = 0;
54 virtual int32_t GetErrCodeOfLink(const char *networkId, LaneLinkType linkType) = 0;
78 MOCK_METHOD3(GenerateLaneId, uint64_t (const char *localUdid, const char *remoteUdid, LaneLinkType linkType));
79 MOCK_METHOD2(LaneCapCheck, int32_t (const char *networkId, LaneLinkType linkType));
80 MOCK_METHOD2(GetErrCodeOfLink, int32_t (const char *networkId, LaneLinkType linkType));
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/
H A Dwifi_direct_dfx.cpp66 enum StatisticLinkType type = wifiDirectConnectInfo.dfxInfo.linkType; in ReportConnEventExtra()
68 extra.linkType = CONNECT_P2P; in ReportConnEventExtra()
70 extra.linkType = CONNECT_HML; in ReportConnEventExtra()
72 extra.linkType = CONNECT_TRIGGER_HML; in ReportConnEventExtra()
117 connectInfo.dfxInfo.linkType = STATISTIC_P2P; in SetLinkType()
119 connectInfo.dfxInfo.linkType = STATISTIC_HML; in SetLinkType()
121 connectInfo.dfxInfo.linkType = STATISTIC_TRIGGER_HML; in SetLinkType()
123 CONN_LOGI(CONN_WIFI_DIRECT, "link type %{public}d", connectInfo.dfxInfo.linkType); in SetLinkType()
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/
H A Dsoftbus_hidumper_util.c144 int32_t linkType; member
298 int32_t linkType = linkTypePara; in ConnStatsLinkType() local
299 if (linkType < CONNECT_TCP || linkType >= CONNECT_TYPE_MAX) { in ConnStatsLinkType()
300 linkType = SOFTBUS_ZERO; in ConnStatsLinkType()
302 g_connStatsInfo.linkTypeTotal[linkType]++; in ConnStatsLinkType()
306 g_connStatsInfo.linkTypeSuccessTotal[linkType]++; in ConnStatsLinkType()
308 g_connStatsInfo.delayTimeLinkType[linkType] += connDelayTime; in ConnStatsLinkType()
309 g_connStatsInfo.delayNumLinkType[linkType]++; in ConnStatsLinkType()
319 int32_t linkType in FillConnHmlInfo() local
368 int32_t linkType = GetInt32ValueByRecord(&srcRecord[i], LINK_TYPE_NAME); OnQueryConn() local
481 int linkType = linkTypePara; TransStatsSuccessDetail() local
527 int32_t linkType = transStatsPara->linkType; TransStats() local
589 int32_t linkType = GetInt32ValueByRecord(&srcRecord[i], LINK_TYPE_NAME); OnQueryTrans() local
648 int32_t linkType = GetInt32ValueByRecord(&srcRecord[i], LINK_TYPE_NAME); OnQueryAlarm() local
707 int32_t linkType = atoi(delimit + 1); GenerateTransSuccessRateString() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_audio_connection.cpp131 dev.linkType = LINK_TYPE_ESCO; in ConnectByMsbc()
160 dev.linkType = LINK_TYPE_ESCO; in ConnectByCvsd()
178 dev.linkType = LINK_TYPE_SCO; in ConnectByCvsd()
295 if (dev.linkType == LINK_TYPE_ESCO && escoSupport_) { in AcceptByCvsd()
309 } else if (dev.linkType == LINK_TYPE_SCO) { in AcceptByCvsd()
318 dev.linkType, in AcceptByCvsd()
335 if (dev->linkType == LINK_TYPE_ESCO && escoSupport_) { in AcceptAudioConnection()
340 dev->linkType, in AcceptAudioConnection()
374 parameters.linkType = param->linkType; in OnConnectRequest()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_audio_connection.cpp116 dev.linkType = LINK_TYPE_ESCO; in ConnectByCvsd()
134 dev.linkType = LINK_TYPE_SCO; in ConnectByCvsd()
224 if (dev.linkType == LINK_TYPE_ESCO && escoSupport_) { in AcceptByCvsd()
238 } else if (dev.linkType == LINK_TYPE_SCO) { in AcceptByCvsd()
246 "because linktype[%{public}d] and escoSupport[%{public}d] are not matched!", dev.linkType, escoSupport_); in AcceptByCvsd()
261 if (dev->linkType == LINK_TYPE_ESCO && escoSupport_) { in AcceptAudioConnection()
265 "linktype[%{public}hhu] and escoSupport[%{public}d] are not matched", dev->linkType, escoSupport_); in AcceptAudioConnection()
298 parameters.linkType = param->linkType; in OnConnectRequest()
315 audioDev.linkType in ProcessOnConnectRequest()
[all...]
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/
H A Dsession_pool.h35 void OccupySession(int32_t sessionId, uint8_t linkType);
39 void ReleaseSession(const std::string &cid, const uint8_t linkType);
42 bool DeviceDisconnectCountOnly(const std::string &cid, const uint8_t linkType, bool needErase);
H A Dnetwork_agent_template.h65 void OccupySession(int32_t sessionId, uint8_t linkType);
78 virtual int32_t OpenSession(const DeviceInfo &info, const uint8_t &linkType) = 0;
79 virtual void OpenApSession(const DeviceInfo &info, const uint8_t &linkType) = 0;
88 void GetSession(const std::string &cid, uint8_t linkType);
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_message_static_test.cpp142 AuthLinkType linkType = SwitchCipherTypeToAuthLinkType(cipherFlagBr); in HWTEST_F() local
143 EXPECT_EQ(linkType, AUTH_LINK_TYPE_BR); in HWTEST_F()
145 linkType = SwitchCipherTypeToAuthLinkType(cipherFlagBle); in HWTEST_F()
146 EXPECT_EQ(linkType, AUTH_LINK_TYPE_BLE); in HWTEST_F()
148 linkType = SwitchCipherTypeToAuthLinkType(cipherFlagP2p); in HWTEST_F()
149 EXPECT_EQ(linkType, AUTH_LINK_TYPE_P2P); in HWTEST_F()
151 linkType = SwitchCipherTypeToAuthLinkType(cipherFlagEnhance); in HWTEST_F()
152 EXPECT_EQ(linkType, AUTH_LINK_TYPE_ENHANCED_P2P); in HWTEST_F()
154 linkType = SwitchCipherTypeToAuthLinkType(cipherFlagWifi); in HWTEST_F()
155 EXPECT_EQ(linkType, AUTH_LINK_TYPE_WIF in HWTEST_F()
456 AuthLinkType linkType = SwitchCipherTypeToAuthLinkType(cipherFlag); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/core/common/dfx/hisysevent_adapter/fuzztest/softbushisysevt_fuzzer/
H A Dsoftbushisysevt_fuzzer.cpp38 SoftBusLinkType linkType = *(reinterpret_cast<const SoftBusLinkType *>(data)); in SoftBusRecordAuthResultFuzzTest() local
42 SoftBusRecordAuthResult(linkType, ret, constTime, stage); in SoftBusRecordAuthResultFuzzTest()
48 SoftBusLinkType linkType = *(reinterpret_cast<const SoftBusLinkType *>(data)); in SoftBusRecordBusCenterResultFuzzTest() local
50 SoftBusRecordBusCenterResult(linkType, constTime); in SoftBusRecordBusCenterResultFuzzTest()
81 info.linkType = *(reinterpret_cast<const uint8_t *>(data)); in SoftBusReportBusCenterFaultEvtFuzzTest()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/
H A Dwifi_direct_types.h93 enum WifiDirectLinkType linkType; member
103 enum WifiDirectLinkType linkType; member
152 enum StatisticLinkType linkType; member
193 enum WifiDirectLinkType linkType; member
H A Dwifi_direct_manager_virtual.c89 static bool IsNoneLinkByType(enum WifiDirectLinkType linkType) in IsNoneLinkByType() argument
91 (void)linkType; in IsNoneLinkByType()
117 static bool IsNegotiateChannelNeeded(const char *remoteNetworkId, enum WifiDirectLinkType linkType) in IsNegotiateChannelNeeded() argument
120 (void)linkType; in IsNegotiateChannelNeeded()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_link.h50 LaneLinkType linkType; member
119 void (*onLaneLinkSuccess)(uint32_t reqId, LaneLinkType linkType, const LaneLinkInfo *linkInfo);
120 void (*onLaneLinkFail)(uint32_t reqId, int32_t reason, LaneLinkType linkType);
142 uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType);

Completed in 18 milliseconds

1234567