/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_device.c | 180 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in AuthDevicePostTransData() 265 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in AuthDeviceGetConnInfo() 273 *connInfo = auth->connInfo[authHandle.type]; in AuthDeviceGetConnInfo() 374 void AuthNotifyDeviceDisconnect(AuthHandle authHandle) in AuthNotifyDeviceDisconnect() argument 380 g_verifyListener.onDeviceDisconnect(authHandle); in AuthNotifyDeviceDisconnect() 614 requestId, authHandle.authId); in AuthStartReconnectDevice() 625 request.authId = authHandle.authId; in AuthStartReconnectDevice() 681 if (authHandle.authId != AUTH_INVALID_ID && AuthCheckSessionKey(&authHandle)) { in AuthDeviceOpenConn() 701 void AuthDeviceCloseConn(AuthHandle authHandle) in AuthDeviceCloseConn() argument 704 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in AuthDeviceCloseConn() [all …]
|
H A D | auth_interface.c | 222 if (authHandle == NULL) { in AuthCheckSessionKeyValidByAuthHandle() 226 if (authHandle->type < AUTH_LINK_TYPE_WIFI || authHandle->type >= AUTH_LINK_TYPE_MAX) { in AuthCheckSessionKeyValidByAuthHandle() 233 authHandle->type, authHandle->authId); in AuthCheckSessionKeyValidByAuthHandle() 239 authHandle->authId, authHandle->type); in AuthCheckSessionKeyValidByAuthHandle() 261 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in AuthPostTransData() 275 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in AuthCloseConn() 299 if (authHandle == NULL) { in AuthFreeConn() 303 AuthFreeLane(authHandle); in AuthFreeConn() 342 if (authHandle == NULL) { in AuthGetLatestIdByUuid() 370 AuthHandle *authHandle) in AuthGetAuthHandleByIndex() argument [all …]
|
H A D | auth_manager.c | 326 DelAuthManager(auth, authHandle.type); in RemoveAuthManagerByAuthId() 980 NotifyAuthResult(authHandle, info); in AuthManagerSetAuthPassed() 1416 authHandle.authId = auth[0]->authId; in HandleDecryptFailData() 1549 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in AuthHandleLeaveLNN() 1580 DelAuthManager(auth, authHandle.type); in AuthHandleLeaveLNN() 1920 *authHandle = handle; in GetHmlOrP2pAuthHandle() 1934 authHandle->type = type; in AuthDeviceGetLatestIdByUuid() 1945 authHandle->authId = AUTH_INVALID_ID; in AuthDeviceGetLatestIdByUuid() 1963 authHandle->authId, latestVerifyTime, anonyUuid, authHandle->type); in AuthDeviceGetLatestIdByUuid() 2024 authHandle->authId = auth->authId; in AuthDeviceGetAuthHandleByIndex() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/ |
H A D | trans_udp_nego_test.cpp | 229 authHandle.authId = 0; 230 ret = SendUdpInfo(replyMsg, authHandle, 0); 269 authHandle.authId = 0; 438 UdpModuleCb(authHandle, NULL); 441 UdpModuleCb(authHandle, &data); 445 UdpModuleCb(authHandle, &data); 448 UdpModuleCb(authHandle, &data); 464 UdpModuleCb(authHandle, &data1); 469 UdpModuleCb(authHandle, &data2); 475 UdpModuleCb(authHandle, &data3); [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/interface/ |
H A D | auth_interface.h | 104 void (*onDeviceVerifyPass)(AuthHandle authHandle, const NodeInfo *info); 106 void (*onDeviceDisconnect)(AuthHandle authHandle); 117 void (*onConnOpened)(uint32_t requestId, AuthHandle authHandle); 131 void AuthHandleLeaveLNN(AuthHandle authHandle); 176 void (*onDataReceived)(AuthHandle authHandle, const AuthTransData *data); 177 void (*onDisconnected)(AuthHandle authHandle); 178 void (*onException)(AuthHandle authHandle, int32_t error); 185 void AuthCloseConn(AuthHandle authHandle); 205 int32_t AuthGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo); 214 void AuthFreeConn(const AuthHandle *authHandle); [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/mock/src/ |
H A D | trans_auth_mock.cpp | 89 void AuthHandleLeaveLNN(AuthHandle authHandle) in AuthHandleLeaveLNN() argument 91 GetTransAuthInterface()->AuthHandleLeaveLNN(authHandle); in AuthHandleLeaveLNN() 109 void AuthCloseConn(AuthHandle authHandle) in AuthCloseConn() argument 111 GetTransAuthInterface()->AuthCloseConn(authHandle); in AuthCloseConn() 114 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() argument 116 return GetTransAuthInterface()->AuthPostTransData(authHandle, dataInfo); in AuthPostTransData() 164 int32_t AuthGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo) in AuthGetConnInfo() argument 166 return GetTransAuthInterface()->AuthGetConnInfo(authHandle, connInfo); in AuthGetConnInfo() 200 int32_t AuthEncrypt(AuthHandle *authHandle, const uint8_t *inData, in AuthEncrypt() argument 203 return GetTransAuthInterface()->AuthEncrypt(authHandle, inData, inLen, outData, outLen); in AuthEncrypt() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/ |
H A D | auth_device.h | 37 int32_t AuthDevicePostTransData(AuthHandle authHandle, const AuthTransData *dataInfo); 38 int32_t AuthDeviceEncrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *o… 40 int32_t AuthDeviceDecrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *o… 42 int32_t AuthDeviceGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo); 49 void AuthDeviceCloseConn(AuthHandle authHandle); 51 …AuthHandle authHandle, const AuthConnInfo *connInfo, uint32_t requestId, const AuthConnCallback *c… 52 void AuthNotifyDeviceVerifyPassed(AuthHandle authHandle, const NodeInfo *nodeInfo); 53 void AuthNotifyDeviceDisconnect(AuthHandle authHandle);
|
H A D | auth_manager.h | 75 int32_t DelAuthReqInfoByAuthHandle(const AuthHandle *authHandle); 76 void AuthFreeLane(const AuthHandle *authHandle); 87 void RemoveAuthManagerByAuthId(AuthHandle authHandle); 96 void AuthDeviceGetLatestIdByUuid(const char *uuid, AuthLinkType type, AuthHandle *authHandle); 99 …DeviceGetAuthHandleByIndex(const char *udid, bool isServer, int32_t index, AuthHandle *authHandle); 105 int32_t GetHmlOrP2pAuthHandle(AuthHandle **authHandle, int32_t *num);
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_p2p.c | 374 authHandle.authId, module, flag, seq); in SendAuthData() 409 requestId, authHandle.authId); in OnAuthConnOpened() 410 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in OnAuthConnOpened() 430 conn->authHandle = authHandle; in OnAuthConnOpened() 577 AuthHandle authHandle) in PackAndSendVerifyP2pRsp() argument 597 if (authHandle.type == AUTH_LINK_TYPE_BLE) { in StartHmlListenerByUuid() 601 authHandleTmp.authId = authHandle.authId; in StartHmlListenerByUuid() 817 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in OnAuthDataRecv() 837 static void OnAuthChannelClose(AuthHandle authHandle) in OnAuthChannelClose() argument 893 if (conn->authHandle.authId == AUTH_INVALID_ID) { in TransProxyGetAuthIdByUuid() [all …]
|
H A D | trans_tcp_direct_sessionconn.c | 159 conn->authHandle.authId = AUTH_INVALID_ID; in CreateNewSessinConn() 250 conn->authHandle = *authHandle; in SetAuthHandleByChanId() 268 authId = conn->authHandle.authId; in GetAuthIdByChanId() 279 if (authHandle == NULL) { in GetAuthHandleByChanId() 283 authHandle->authId = AUTH_INVALID_ID; in GetAuthHandleByChanId() 291 *authHandle = conn->authHandle; in GetAuthHandleByChanId() 615 if (connInfo->authHandle.authId == authHandle->authId && connInfo->status == status && in GetChannelIdsByAuthIdAndStatus() 616 connInfo->authHandle.type == authHandle->type) { in GetChannelIdsByAuthIdAndStatus() 623 authHandle->authId, status); in GetChannelIdsByAuthIdAndStatus() 636 if (connInfo->authHandle.authId == authHandle->authId && connInfo->status == status && in GetChannelIdsByAuthIdAndStatus() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_manager_test.cpp | 203 AuthHandleLeaveLNN(authHandle); 388 authHandle.authId = AUTH_SEQ_2; 576 AuthHandleLeaveLNN(authHandle); 577 authHandle.authId = AUTH_SEQ; 578 AuthHandleLeaveLNN(authHandle); 638 authHandle.authId = AUTH_SEQ; 663 authHandle.authId = AUTH_SEQ; 680 authHandle.authId = AUTH_SEQ_3; 845 AuthHandle authHandle; variable 931 authHandle.authId = AUTH_SEQ; [all …]
|
H A D | auth_other_test.cpp | 104 (void)authHandle; in OnDeviceVerifyPassTest() 1041 AuthHandle authHandle; variable 1074 authHandle.type = -1; 1076 AuthCloseConn(authHandle); 1080 AuthCloseConn(authHandle); 1084 AuthFreeConn(&authHandle); 1170 AuthFreeLane(&authHandle); 1172 authHandle.type = 0; 1173 AuthFreeLane(&authHandle); 1175 authHandle.authId = 1; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_p2p_test.cpp | 93 conn->authHandle.authId = 1; in TestSetSessionConn() 289 ret = VerifyP2p(authHandle, g_ip, nullptr, port, seq); 336 ret = OnVerifyP2pRequest(authHandle, seq, json, true); 339 OnAuthChannelClose(authHandle); 374 OnAuthMsgProc(authHandle, flags, seq, nullptr); 377 OnAuthMsgProc(authHandle, flags, seq, nullptr); 379 OnAuthDataRecv(authHandle, nullptr); 380 OnAuthDataRecv(authHandle, data); 406 OnAuthConnOpened(requestId, authHandle); 489 conn->authHandle.authId = AUTH_INVALID_ID; [all …]
|
H A D | trans_tcp_direct_p2p_mock_test.cpp | 126 testConn->authHandle.authId = 1; in TestSetSessionConn() 666 OnAuthDataRecv(authHandle, nullptr); 667 OnAuthDataRecv(authHandle, data); 669 OnAuthDataRecv(authHandle, data); 671 OnAuthDataRecv(authHandle, data); 673 OnAuthDataRecv(authHandle, data); 675 OnAuthDataRecv(authHandle, data); 679 OnAuthDataRecv(authHandle, data); 681 OnAuthDataRecv(authHandle, data); 699 OnAuthChannelClose(authHandle); [all …]
|
H A D | trans_server_tcp_direct_test.cpp | 103 g_conn->authHandle.authId = 1; in TestAddTestSessionConn() 210 session->authHandle.authId = TRANS_TEST_AUTH_SEQ; in TestAddSessionConn() 235 AuthHandle authHandle = { .authId = 0, .type = AUTH_LINK_TYPE_WIFI }; variable 301 tmpSessionConn->authHandle.authId = 1; 312 TestDelAuthManager(tmpSessionConn->authHandle.authId); 452 AuthHandle authHandle = { .authId = 1, .type = 1}; variable 453 int32_t ret = SetAuthHandleByChanId(channelId, &authHandle); 513 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; variable 514 ret = GetAuthHandleByChanId(g_conn->channelId, &authHandle); 515 EXPECT_EQ(authHandle.authId, TEST_AUTH_ID); [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_builder_process.c | 109 if (item->connInfo.authHandle.authId == authHandle->authId && in FindConnectionFsmByAuthHandle() 110 item->connInfo.authHandle.type == authHandle->type) { in FindConnectionFsmByAuthHandle() 209 connFsm->connInfo.authHandle = msgPara->authHandle; in CreatePassiveConnectionFsm() 213 connFsm->id, msgPara->authHandle.type, msgPara->authHandle.authId); in CreatePassiveConnectionFsm() 218 connFsm->id, msgPara->authHandle.authId); in CreatePassiveConnectionFsm() 308 msgPara->authHandle.authId, msgPara->retCode); in ProcessVerifyResult() 316 connFsm->connInfo.authHandle = msgPara->authHandle; in ProcessVerifyResult() 366 connFsm->id, msgPara->authHandle.authId); in ProcessDeviceVerifyPass() 383 if (authHandle == NULL) { in ProcessDeviceDisconnect() 396 connFsm->id, authHandle->authId); in ProcessDeviceDisconnect() [all …]
|
H A D | lnn_net_builder_init.c | 89 requestId, authHandle.authId); in OnReAuthVerifyPassed() 125 connFsm->connInfo.authHandle = authHandle; in OnReAuthVerifyPassed() 129 connFsm->id, authHandle.authId); in OnReAuthVerifyPassed() 142 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; in OnReAuthVerifyFailed() local 143 PostVerifyResult(requestId, reason, authHandle, NULL); in OnReAuthVerifyFailed() 541 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in OnDeviceVerifyPass() 559 para->authHandle = authHandle; in OnDeviceVerifyPass() 576 static void OnDeviceDisconnect(AuthHandle authHandle) in OnDeviceDisconnect() argument 578 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in OnDeviceDisconnect() 589 para->authId = authHandle.authId; in OnDeviceDisconnect() [all …]
|
H A D | lnn_sync_info_manager.c | 755 BleOffLineProcess(data, authHandle); in OnP2pNetworkingDataRecv() 757 WlanOffLineProcess(data, authHandle); in OnP2pNetworkingDataRecv() 845 static void OnWifiDirectSyncAuthClose(AuthHandle authHandle) in OnWifiDirectSyncAuthClose() argument 1056 if (authHandle->authId != AUTH_INVALID_ID) { in GetWifiDirectAuthByNetworkId() 1069 AuthHandle authHandle = { in TrySendSyncInfoMsgByAuth() local 1079 authHandle.authId, msg->dataLen); in TrySendSyncInfoMsgByAuth() 1199 if (authHandle->authId != AUTH_INVALID_ID) { in GetAuthHandleByNetworkId() 1205 if (authHandle->authId != AUTH_INVALID_ID) { in GetAuthHandleByNetworkId() 1222 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; in LnnSendP2pSyncInfoMsg() local 1290 AuthHandle *authHandle = NULL; in LnnSendWifiOfflineInfoMsg() local [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | trans_proxy_channel_test.cpp | 135 chan->authHandle.authId = authId; in TestAddTestProxyChannel() 163 chan->authHandle.authId = AUTH_INVALID_ID; 185 chan->authHandle.authId = TEST_AUTHID; 217 info.authHandle.authId = AUTH_INVALID_ID; 236 info.authHandle.authId = AUTH_INVALID_ID; 270 info.authHandle.authId = AUTH_INVALID_ID; 297 info.authHandle.authId = AUTH_INVALID_ID; 320 info.authHandle.authId = AUTH_INVALID_ID; 351 info.authHandle.authId = AUTH_INVALID_ID; 375 info.authHandle.authId = AUTH_INVALID_ID; [all …]
|
H A D | softbus_proxychannel_message_test.cpp | 170 chan->authHandle.authId = channelId; in TestMessageAddProxyChannel() 405 ret = TransProxyPackMessage(&msg, authHandle, NULL); 409 ret = TransProxyPackMessage(&msg, authHandle, &dataInfo); 413 ret = TransProxyPackMessage(&msg, authHandle, &dataInfo); 418 ret = TransProxyPackMessage(&msg, authHandle, &dataInfo); 425 ret = TransProxyPackMessage(&msg, authHandle, &dataInfo); 453 authHandle.authId = 1; 470 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; variable 517 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; variable 546 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; variable [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/ |
H A D | trans_tcp_direct_message_test_mock.cpp | 49 int32_t GetAuthHandleByChanId(int32_t channelId, AuthHandle *authHandle) in GetAuthHandleByChanId() argument 51 return GetTransTcpDirectMessageInterface()->GetAuthHandleByChanId(channelId, authHandle); in GetAuthHandleByChanId() 54 int32_t AuthEncrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *outData, in AuthEncrypt() argument 57 …return GetTransTcpDirectMessageInterface()->AuthEncrypt(authHandle, inData, inLen, outData, outLen… in AuthEncrypt() 130 int32_t SetAuthHandleByChanId(int32_t channelId, AuthHandle *authHandle) in SetAuthHandleByChanId() argument 132 return GetTransTcpDirectMessageInterface()->SetAuthHandleByChanId(channelId, authHandle); in SetAuthHandleByChanId() 135 int32_t AuthDecrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *outData… in AuthDecrypt() argument 137 …return GetTransTcpDirectMessageInterface()->AuthDecrypt(authHandle, inData, inLen, outData, outLen… in AuthDecrypt() 150 int32_t AuthGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo) in AuthGetConnInfo() argument 152 return GetTransTcpDirectMessageInterface()->AuthGetConnInfo(authHandle, connInfo); in AuthGetConnInfo()
|
H A D | trans_tcp_direct_message_test_mock.h | 40 virtual int32_t GetAuthHandleByChanId(int32_t channelId, AuthHandle *authHandle) = 0; 41 …virtual int32_t AuthEncrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t… 58 virtual int32_t SetAuthHandleByChanId(int32_t channelId, AuthHandle *authHandle) = 0; 59 virtual int32_t AuthDecrypt(AuthHandle *authHandle, const uint8_t *inData, 63 virtual int32_t AuthGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo) = 0; 90 MOCK_METHOD2(GetAuthHandleByChanId, int32_t (int32_t channelId, AuthHandle *authHandle)); 91 …MOCK_METHOD5(AuthEncrypt, int32_t (AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, … 108 MOCK_METHOD2(SetAuthHandleByChanId, int32_t (int32_t channelId, AuthHandle *authHandle)); 109 MOCK_METHOD5(AuthDecrypt, int32_t (AuthHandle *authHandle, const uint8_t *inData, 113 MOCK_METHOD2(AuthGetConnInfo, int32_t (AuthHandle authHandle, AuthConnInfo *connInfo));
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation.c | 447 ret = SendUdpInfo(replyMsg, authHandle, seq); in SendReplyErrInfo() 470 ret = SendUdpInfo(replyMsg, authHandle, seq); in SendReplyUdpInfo() 502 switch (authHandle.type) { in TransSetUdpConnectTypeByAuthType() 694 ret = SendReplyUdpInfo(&info, authHandle, seq); in TransOnExchangeUdpInfoRequest() 760 ret = AuthPostTransData(authHandle, &dataInfo); in StartExchangeUdpInfo() 776 .authId = (int32_t)authHandle.authId, in StartExchangeUdpInfo() 791 .authId = (int32_t)authHandle.authId, in UdpOnAuthConnOpened() 827 extra.authId = authHandle.authId; in UdpOnAuthConnOpened() 833 AuthCloseConn(authHandle); in UdpOnAuthConnOpened() 1131 if (authHandle.type < AUTH_LINK_TYPE_WIFI || authHandle.type >= AUTH_LINK_TYPE_MAX) { in UdpModuleCb() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_control.c | 48 if (TransProxyPackMessage(&msgHead, info->authHandle, &dataInfo) != SOFTBUS_OK) { in TransProxySendInnerMessage() 72 false, &info->authHandle); in SetCipherOfHandshakeMsg() 73 if (info->authHandle.authId == AUTH_INVALID_ID) { in SetCipherOfHandshakeMsg() 78 int32_t ret = TransProxySetAuthHandleByChanId((int32_t)info->channelId, info->authHandle); in SetCipherOfHandshakeMsg() 85 ret = AuthGetConnInfo(info->authHandle, &connInfo); in SetCipherOfHandshakeMsg() 91 ret = AuthGetServerSide(info->authHandle.authId, &isAuthServer); in SetCipherOfHandshakeMsg() 134 if (TransProxyPackMessage(&msgHead, info->authHandle, &dataInfo) != SOFTBUS_OK) { in TransProxyHandshake() 189 if (TransProxyPackMessage(&msgHead, chan->authHandle, &dataInfo) != SOFTBUS_OK) { in TransProxyAckHandshake() 225 if (TransProxyPackMessage(&msgHead, info->authHandle, &dataInfo) != SOFTBUS_OK) { in TransProxyKeepalive() 261 int32_t ret = TransProxyPackMessage(&msgHead, info->authHandle, &dataInfo); in TransProxyAckKeepalive() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link_wifi_direct.c | 183 if (forceDownInfo->authHandle.authId != INVAILD_AUTH_ID) { in FreeResourceForForceDisconnect() 184 AuthCloseConn(forceDownInfo->authHandle); in FreeResourceForForceDisconnect() 266 if (forceDownInfo.authHandle.authId != INVAILD_AUTH_ID) { in OnWifiDirectForceDisconnectFailure() 267 AuthCloseConn(forceDownInfo.authHandle); in OnWifiDirectForceDisconnectFailure() 313 item->authHandle = authHandle; in UpdateForceDownInfoParam() 326 "authId=%{public}" PRId64 "", authRequestId, authHandle.authId); in OnConnOpenedForForceDisconnect() 330 info.negoChannel.handle.authHandle = authHandle; in OnConnOpenedForForceDisconnect() 357 if (authHandle.authId != INVAILD_AUTH_ID) { in OnConnOpenedForForceDisconnect() 358 AuthCloseConn(authHandle); in OnConnOpenedForForceDisconnect() 471 AuthHandle authHandle = { .authId = INVAILD_AUTH_ID }; in AddNewForceDownInfo() local [all …]
|