Home
last modified time | relevance | path

Searched defs:ret (Results 12726 - 12750 of 17088) sorted by relevance

1...<<501502503504505506507508509510>>...684

/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dclatd_packet_converter_test.cpp416 int32_t ret = clatdPacketConverter->ConvertV4TpPacket(pos, &ipHeader, &ip6Header, tpLen, v6TpProtocol); in HWTEST_F() local
429 int32_t ret = clatdPacketConverter->ConvertV6TpPacket(pos, &ip6Header, &ipHeader, tpLen, v6TpProtocol); in HWTEST_F() local
442 int32_t ret = clatdPacketConverter->ConvertV4TpPacket(pos, &ipHeader, &ip6Header, tpLen, v6TpProtocol); in HWTEST_F() local
455 int32_t ret = clatdPacketConverter->ConvertV4TpPacket(pos, &ipHeader, &ip6Header, tpLen, v6TpProtocol); in HWTEST_F() local
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_key.c441 int32_t ret = SoftBusEncryptDataWithSeq(&cipherKey, inDataInfo->inData, inDataInfo->inLen, in EncryptData() local
474 int32_t ret = SoftBusDecryptDataWithSeq(&cipherKey, inDataInfo->inData + ENCRYPT_INDEX_LEN, in DecryptData() local
/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_trans.c204 int32_t ret = SerializeByJson(ctx, &data, &dataLen); in ConnBrPackCtlMessage() local
403 int32_t ret = ConnBrGetBrPendingPacket(connection->connectionId, waitSequence, WAIT_ACK_TIMEOUT_MILLS, &ignore); in WaitAck() local
455 int32_t ret = SoftBusMutexLock(&g_startBrSendLPInfo.lock); in SendHandlerLoop() local
534 int32_t ret = SOFTBUS_OK; in ConnBrTransConfigPostLimit() local
[all...]
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link/
H A Dlnn_lane_link_test.cpp246 int32_t ret = GetWlanLinkedFrequency(); in HWTEST_F() local
263 LinkAttribute *ret = GetLinkAttrByLinkType(linkType); in HWTEST_F() local
287 int32_t ret = LnnConnectP2p(nullptr, laneReqId, &cb); in HWTEST_F() local
306 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
334 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, "123"); HWTEST_F() local
368 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
394 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
444 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
492 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
539 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
582 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
626 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
674 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
721 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
767 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
810 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
899 int32_t ret = LnnConnectP2p(&request, laneReqId, &g_linkCb); HWTEST_F() local
917 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
970 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
1025 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
1072 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
1122 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
1174 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
1227 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
1279 int32_t ret = strcpy_s(request.peerNetworkId, NETWORK_ID_BUF_LEN, NODE_NETWORK_ID); HWTEST_F() local
1368 int32_t ret = LnnConnectP2p(&request, laneReqId, &g_linkCb); HWTEST_F() local
1425 int32_t ret = LnnConnectP2p(&request, laneReqId, &g_linkCb); HWTEST_F() local
1480 int32_t ret = LnnConnectP2p(&request, laneReqId, &g_linkCb); HWTEST_F() local
1539 int32_t ret = LnnConnectP2p(&request, laneReqId, &g_linkCb); HWTEST_F() local
1587 int32_t ret = LnnConnectP2p(&request, laneReqId, &g_linkCb); SetCommonFunction() local
1607 int32_t ret = LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId); HWTEST_F() local
1625 int32_t ret = LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId); HWTEST_F() local
1643 int32_t ret = LnnDisconnectP2p(NODE_NETWORK_ID, laneReqId); HWTEST_F() local
1675 int32_t ret = GetMacInfoByLaneId(laneId, &macInfo); HWTEST_F() local
1691 int32_t ret = InitLaneLink(); HWTEST_F() local
1740 int32_t ret = CheckIsAuthSessionServer(nullptr, &isServer); HWTEST_F() local
1759 int32_t ret = CheckIsAuthSessionServer("192.168.11.12", &isServer); HWTEST_F() local
1771 int32_t ret = RemoveAuthSessionServer(nullptr); HWTEST_F() local
1795 int32_t ret = SelectAuthLane(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
1838 int32_t ret = SelectAuthLane(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
1870 int32_t ret = SelectAuthLane(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
1888 int32_t ret = SelectExpectLanesByQos(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
1907 int32_t ret = SelectExpectLanesByQos(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
1928 int32_t ret = SelectExpectLanesByQos(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
1950 int32_t ret = SelectExpectLanesByQos(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
1974 int32_t ret = SelectExpectLanesByQos(NODE_NETWORK_ID, &request, &recommendList); HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dconn_manager.cpp195 bool ret = networks_.Find(netId, netsysNetworkPtr); in FindNetworkById() local
281 int32_t ret = nw->RemoveInterface(interfaceName); in RemoveInterfaceFromNetwork() local
350 auto ret = networks_.Find(netId, netsysNetworkPtr); in FindVirtualNetwork() local
482 int32_t ret = NetBearerTypeMap.Read(0, v); in NotifyNetBearerTypeChange() local
/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_service.cpp95 int32_t ret = dprintf(fd, "%s\n", result.c_str()); in Dump() local
183 auto ret = netStatsCached_->StartCached(); in Init() local
235 auto ret = NetsysController::GetInstance().GetIfaceStats( in GetCellularRxBytes() local
255 auto ret = NetsysController::GetInstance().GetIfaceStats( in GetCellularTxBytes() local
304 int32_t ret = history->GetHistory(allInfo, iface, start, end); GetIfaceStatsDetail() local
339 int32_t ret = history->GetHistory(allInfo, iface, uid, start, end); GetUidStatsDetail() local
375 auto ret = handler->DeleteByDate(IFACE_TABLE, start, end); UpdateIfacesStats() local
450 int32_t ret = history->GetHistoryByIdent(allInfo, ident, start, end); GetTrafficStatsByNetwork() local
504 int32_t ret = history->GetHistory(allInfo, uid, ident, start, end); GetTrafficStatsByUidNetwork() local
576 int32_t ret = NetManagerCenter::GetInstance().GetIfaceNames(BEARER_CELLULAR, ifaceNames); GetIfaceNamesFromManager() local
[all...]
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_client.c100 int32_t ret = SoftBusMutexLock(&connection->lock); in SetConnectionHandleAndState() local
183 int32_t ret = SoftBusMutexLock(&connection->lock); in BleGattcConnStateCallback() local
855 int32_t ret = SoftbusGattcSetPriority(underlayerHandle, &binaryAddr, gattPriority); in ConnGattClientUpdatePriority() local
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_pipeline.c246 int32_t ret = TransSendNetworkingMessage(channelId, sendData, dataLen + sizeof(uint32_t), CONN_HIGH); in TransProxyPipelineSendMessage() local
263 int32_t ret = LnnGetRemoteStrInfo(networkId, STRING_KEY_UUID, uuid, sizeof(uuid)); in TransProxyPipelineGetChannelIdByNetworkId() local
411 int32_t ret = SoftBusMutexLock(&g_manager.channels->lock); in InnerOnChannelOpened() local
467 int32_t ret = SoftBusMutexLock(&g_manager.channels->lock); InnerOnChannelOpenFailed() local
496 int32_t ret = SoftBusMutexLock(&g_manager.channels->lock); TransProxyPipelineOnChannelClosed() local
543 int32_t ret = SoftBusMutexLock(&g_manager.channels->lock); OpenNetWorkingChannel() local
574 int32_t ret = SoftBusMutexLock(&g_manager.channels->lock); InnerOpenProxyChannel() local
637 int32_t ret = 0; TransProxyPipelineInit() local
[all...]
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_message_test.cpp61 int32_t ret = AuthCommonInit(); in SetUpTestCase() local
638 uint64_t ret = PackFastAuthValue(obj, &deviceCommKey); in HWTEST_F() local
682 int32_t ret = UnpackWiFi(obj, info, version, false); in HWTEST_F() local
722 int32_t ret = PostDeviceIdV1(authSeq, info); in HWTEST_F() local
740 bool ret = IsEmptyShortHashStr(udidHash); HWTEST_F() local
762 int32_t ret = GetLocalUdidHash(nullptr, nullptr, 0); HWTEST_F() local
778 int32_t ret = UpdateLocalAuthState(authSeq, &info); HWTEST_F() local
[all...]
H A Dauth_net_ledger_mock.cpp246 int32_t ret = PackAuthData(&head, reinterpret_cast<uint8_t *>(msg), buf, size); in Pack() local
/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/
H A Dhb_medium_mgr_test.cpp102 int32_t ret = HbFirstSaveRecvTime(&storedInfo, &device, weight, masterWeight, recvTime); in HWTEST_F() local
134 int32_t ret = HbFirstSaveRecvTime(&storedInfo1, &device1, weight, masterWeight, recvTime1); in HWTEST_F() local
225 int32_t ret = HbGetOnlineNodeByRecvInfo(udidHash, CONNECTION_ADDR_BR, &nodeInfo, &hbResp); HWTEST_F() local
250 int32_t ret = HWTEST_F() local
320 int32_t ret = HbMediumMgrRecvProcess(&device, &mediumWeight, HEARTBEAT_TYPE_BLE_V1, false, &hbResp); HWTEST_F() local
364 int32_t ret = HbMediumMgrRecvHigherWeight(udidHash, TEST_WEIGHT, CONNECTION_ADDR_BR, true, true); HWTEST_F() local
424 int32_t ret = HbFirstSaveRecvTime(&storedInfo, &device1, weight, masterWeight, recvTime1); HWTEST_F() local
474 bool ret = VisitHbMediumMgrSendBegin(nullptr, HEARTBEAT_TYPE_MAX, nullptr); HWTEST_F() local
516 int32_t ret = LnnHbMediumMgrSendBegin(nullptr); HWTEST_F() local
532 bool ret = VisitHbMediumMgrSendEnd(nullptr, HEARTBEAT_TYPE_MAX, nullptr); HWTEST_F() local
571 bool ret = VisitHbMediumMgrStop(nullptr, HEARTBEAT_TYPE_MAX, nullptr); HWTEST_F() local
597 int32_t ret = LnnHbMediumMgrSetParam(nullptr); HWTEST_F() local
619 int32_t ret = LnnHbMediumMgrUpdateSendInfo(UPDATE_HB_NETWORK_INFO); HWTEST_F() local
649 bool ret = VisitUnRegistHeartbeatMediumMgr(nullptr, HEARTBEAT_TYPE_BLE_V1, nullptr); HWTEST_F() local
664 int32_t ret = LnnUnRegistHeartbeatMediumMgr(nullptr); HWTEST_F() local
691 bool ret = IsLocalSupportBleDirectOnline(); HWTEST_F() local
714 bool ret = IsNeedConnectOnLine(&device, &hbResp, &connectReason); HWTEST_F() local
739 bool ret = HbIsRepeatedReAuthRequest(&storedInfo, nowTime); HWTEST_F() local
793 int32_t ret = HbGetOnlineNodeByRecvInfo(TEST_UDID_HASH, CONNECTION_ADDR_BLE, &nodeInfo, &hbResp); HWTEST_F() local
822 int32_t ret = HbUpdateOfflineTimingByRecvInfo(TEST_NETWORK_ID, CONNECTION_ADDR_BR, hbType, TEST_UPDATETIME); HWTEST_F() local
855 int32_t ret = SoftBusNetNodeResult(&device, &hbResp, &connectCondition, &storedInfo, nowTime); HWTEST_F() local
907 int32_t ret = LnnHbMediumMgrInit(); HWTEST_F() local
922 int32_t ret = LnnStartHeartbeatFrameDelay(); HWTEST_F() local
948 bool ret = IsLocalSupportThreeState(); HWTEST_F() local
976 bool ret = HbIsValidJoinLnnRequest(nullptr, nullptr); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_p2p_mock_test.cpp81 int32_t ret = CreatHmlListenerList(); in SetUpTestCase() local
179 int32_t ret = StartNewP2pListener(IP, &port); in HWTEST_F() local
202 int32_t ret = StartNewHmlListener(IP, &port, &moudleType); HWTEST_F() local
218 int32_t ret = StartHmlListener(IP, &port, TEST_UDID); HWTEST_F() local
240 int32_t ret = StartHmlListener(IP, &port, TEST_UDID); HWTEST_F() local
259 int32_t ret = StartP2pListener(nullptr, &port, TEST_UUID); HWTEST_F() local
289 int32_t ret = SendAuthData(authHandle, module, flag, seq, DATA); HWTEST_F() local
314 int32_t ret = VerifyP2p(authHandle, IP, IP, port, seq); HWTEST_F() local
359 int32_t ret = CreatSessionConnList(); HWTEST_F() local
402 int32_t ret = OpenAuthConn(IP, reqId, isMeta, type); HWTEST_F() local
437 int32_t ret = PackAndSendVerifyP2pRsp(IP, port, seq, isAuthLink, authHandle); HWTEST_F() local
475 int32_t ret = PackAndSendVerifyP2pRsp(IP, port, seq, isAuthLink, authHandle); HWTEST_F() local
506 int32_t ret = OnVerifyP2pRequest(authHandle, seq, json, isAuthLink); HWTEST_F() local
524 int32_t ret = ConnectTcpDirectPeer(IP, TEST_PORT, MY_IP); HWTEST_F() local
544 int32_t ret = AddHmlTrigger(fd, IP, seq); HWTEST_F() local
582 int32_t ret = AddP2pOrHmlTrigger(fd, IP, seq); HWTEST_F() local
601 int32_t ret = TransTdcAddSessionConn(testConn); HWTEST_F() local
648 int32_t ret = TransTdcAddSessionConn(NewConn); HWTEST_F() local
720 int32_t ret = TransTdcAddSessionConn(conn); HWTEST_F() local
748 int32_t ret = OpenNewAuthConn(appInfo, conn, newChannelId, type); HWTEST_F() local
816 int32_t ret = StartVerifyP2pInfo(appInfo, conn, type); HWTEST_F() local
844 int32_t ret = StartVerifyP2pInfo(appInfo, conn, type); HWTEST_F() local
871 int32_t ret = CopyAppInfoFastTransData(conn, appInfo); HWTEST_F() local
901 int32_t ret = BuildSessionConn(appInfo, &conn); HWTEST_F() local
928 int32_t ret = StartTransP2pDirectListener(type, conn, appInfo); HWTEST_F() local
963 int32_t ret = OpenP2pDirectChannel(appInfo, connInfo, &channelId); HWTEST_F() local
[all...]
H A Dtrans_tcp_direct_p2p_test.cpp197 int32_t ret = StartNewP2pListener(nullptr, &g_port); in HWTEST_F() local
214 int32_t ret = TransTdcSetCallBack(testCallBack); in HWTEST_F() local
248 int32_t ret = CreateP2pListenerList(); HWTEST_F() local
261 int32_t ret = StartP2pListener(nullptr, &g_port, g_uuid); HWTEST_F() local
287 int32_t ret = VerifyP2p(authHandle, nullptr, nullptr, 0, seq); HWTEST_F() local
306 int32_t ret = OpenAuthConn(nullptr, reqId, true, type); HWTEST_F() local
335 int32_t ret = OnVerifyP2pRequest(authHandle, seq, nullptr, true); HWTEST_F() local
352 int32_t ret = ConnectTcpDirectPeer(g_addr, g_port, g_ip); HWTEST_F() local
374 int32_t ret = OnVerifyP2pRequest(authHandle, seq, nullptr, true); HWTEST_F() local
399 int32_t ret; HWTEST_F() local
425 int32_t ret; HWTEST_F() local
456 int32_t ret; HWTEST_F() local
488 int32_t ret; HWTEST_F() local
514 int32_t ret = StartNewHmlListener(nullptr, &g_port, &moduleType); HWTEST_F() local
529 int32_t ret = StartHmlListener(g_ip, &g_port, g_udid); HWTEST_F() local
541 int32_t ret = CreatHmlListenerList(); HWTEST_F() local
573 int32_t ret = StartVerifyP2pInfo(appInfo, conn, type); HWTEST_F() local
602 int32_t ret = CreatHmlListenerList(); HWTEST_F() local
620 int32_t ret = CreatHmlListenerList(); HWTEST_F() local
640 int32_t ret = TransProxyGetAuthIdByUuid(conn); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/
H A Dtrans_udp_nego_test.cpp60 int32_t ret = LnnInitBusCenterEvent(); in SetUpTestCase() local
185 int32_t ret = TransUnpackReplyErrInfo(NULL, NULL); in HWTEST_F() local
207 int32_t ret = TransPackReplyErrInfo(NULL, errCode, NULL); in HWTEST_F() local
227 int32_t ret = SendUdpInfo(NULL, authHandle, seq); HWTEST_F() local
246 int32_t ret = SendReplyErrInfo(errCode, NULL, authHandle, 0); HWTEST_F() local
267 int32_t ret = SendReplyUdpInfo(NULL, authHandle, seq); HWTEST_F() local
289 int32_t ret = TransAddUdpChannel(newChannel); HWTEST_F() local
325 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
352 int32_t ret = TransAddUdpChannel(newChannel); HWTEST_F() local
373 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
398 int32_t ret = StartExchangeUdpInfo(&channel, authHandle, 0); HWTEST_F() local
419 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
436 int32_t ret = memset_s(&data, sizeof(AuthTransData), 0, sizeof(AuthTransData)); HWTEST_F() local
462 int32_t ret = memset_s(&data1, sizeof(AuthTransData), 0, sizeof(AuthTransData)); HWTEST_F() local
518 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
538 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
557 int32_t ret = UdpOpenAuthConn(peerUdid.c_str(), requestId, isMeta, 0); HWTEST_F() local
576 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
607 int32_t ret = PrepareAppInfoForUdpOpen(&connOpt, &invalidInfo, &channelId); HWTEST_F() local
631 int32_t ret = TransUdpChannelMgrInit(); HWTEST_F() local
653 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
692 int32_t ret = TransAddUdpChannel(channel); HWTEST_F() local
717 int64_t ret = GenerateSeq(isServer); HWTEST_F() local
739 int32_t ret = AcceptUdpChannelAsServer(appInfo); HWTEST_F() local
760 int32_t ret = AcceptUdpChannelAsClient(appInfo); HWTEST_F() local
781 int32_t ret = ProcessUdpChannelState(appInfo, isServerSide); HWTEST_F() local
812 int32_t ret = SetPeerDeviceIdByAuth(authHandle, appInfo); HWTEST_F() local
827 int32_t ret = TransSessionMgrInit(); HWTEST_F() local
893 int32_t ret = TransPackRequestUdpInfo(msg, appInfo); HWTEST_F() local
938 CodeType ret = getCodeType(appInfo); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/
H A Dtrans_tcp_direct_test.cpp85 int32_t ret = TransClientInit(); in SetUpTestCase() local
130 int32_t ret; in HWTEST_F() local
155 int32_t ret; HWTEST_F() local
171 int32_t ret; HWTEST_F() local
190 int32_t ret, i; HWTEST_F() local
234 int32_t ret; HWTEST_F() local
250 int32_t ret; HWTEST_F() local
269 int32_t ret; HWTEST_F() local
301 int32_t ret; HWTEST_F() local
330 int32_t ret; HWTEST_F() local
359 int32_t ret; HWTEST_F() local
396 int32_t ret; HWTEST_F() local
438 int32_t ret; HWTEST_F() local
479 char *ret = TransTdcPackData(channel, data, len, flags, NULL); HWTEST_F() local
506 int32_t ret = TransTdcProcessPostData(channel, data, len, flags); HWTEST_F() local
522 int32_t ret = TransTdcDecrypt(nullptr, nullptr, inLen, out, &outLen); HWTEST_F() local
539 int32_t ret = TransTdcEncryptWithSeq(nullptr, seqNum, in, inLen, out, &outLen); HWTEST_F() local
562 int32_t ret = TransTdcSetPendingPacket(channelId, data, len); HWTEST_F() local
596 int32_t ret = TransTdcSendAck(nullptr, seq); HWTEST_F() local
612 uint32_t ret = TransGetDataBufSize(); HWTEST_F() local
629 int32_t ret = TransDestroyDataBuf(); HWTEST_F() local
656 int32_t ret = TransDataListInit(); HWTEST_F() local
681 int32_t ret = TransTdcProcessDataByFlag(flag, seqNum, nullptr, plain, plainLen); HWTEST_F() local
703 int32_t ret = TransTdcProcessData(channelId); HWTEST_F() local
737 int32_t ret = TransResizeDataBuffer(oldBuf, PKG_LEN); HWTEST_F() local
763 int32_t ret = TransTdcProcAllData(channelId); HWTEST_F() local
787 int32_t ret = ClientTdcOnConnectEvent(DIRECT_CHANNEL_SERVER_WIFI, cfd, nullptr); HWTEST_F() local
810 int32_t ret = TransTdcManagerInit(cb); HWTEST_F() local
838 int32_t ret = TransTdcManagerInit(cb); HWTEST_F() local
857 int32_t ret = memcpy_s(channel->detail.sessionKey, SESSIONKEY_LEN, g_sessionkey, strlen(g_sessionkey)); HWTEST_F() local
889 int32_t ret = TransDataListInit(); HWTEST_F() local
910 int32_t ret = TransTdcDecrypt(g_sessionkey, RECV_BUF, strlen(RECV_BUF) + 1, output, &outLen); HWTEST_F() local
929 int32_t ret = ClientTransTdcOnChannelOpened(g_sessionName, info); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/distributed_stream/
H A Ddistributed_stream_test.cpp124 int32_t ret = sem_post(&localSem_); in OnsessionOpened() local
135 int32_t ret = sem_post(&localSem_); in OnCtrlsessionOpened() local
192 int32_t ret = GetAllNodeDeviceInfo(TEST_PKG_NAME.c_str(), &onlineDevices, &onlineNum); in SetUpTestCase() local
208 int32_t ret; in TearDownTestCase() local
244 int32_t ret = SendStream(session, &streamData, &extStreamData, &frame); TestSendStream() local
291 int32_t ret = SendStream(session, &streamIData, &extStreamData, &iFrame); TestSendCommonStream() local
335 int32_t ret = OpenSession(mySessionName.c_str(), peerSessionName.c_str(), networkId.c_str(), "", &attribute); OpenAllSession() local
361 int32_t ret = OpenSession(mySessionName.c_str(), peerSessionName.c_str(), networkId.c_str(), "", &attribute); OpenCtrlSession() local
380 int32_t ret = SendMessage(DistributeSystemTest::AGENT_NO::ONE, msgbuf, msgbuf.length(), SendCreateSessionServerMessage() local
406 int32_t ret = SendMessage(DistributeSystemTest::AGENT_NO::ONE, msgbuf, msgbuf.length(), SendRemoveSessionServerMessage() local
448 int32_t ret = CreateSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str(), &g_listener); HWTEST_F() local
480 int32_t ret = CreateSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str(), &g_listener); HWTEST_F() local
512 int32_t ret = CreateSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str(), &g_listener); HWTEST_F() local
544 int32_t ret = CreateSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str(), &g_listener); HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/test/fuzztest/netpolicyclient_fuzzer/
H A Dnet_policy_client_fuzzer.cpp49 errno_t ret = memcpy_s(&object, netPolicySize, g_baseFuzzData + g_baseFuzzPos, netPolicySize); in NetPolicyGetData() local
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dnetfirewall_client_test.cpp228 int32_t ret = -1; in HWTEST_F() local
248 int32_t ret = -1; in HWTEST_F() local
265 int32_t ret = -1; HWTEST_F() local
292 int32_t ret = -1; HWTEST_F() local
312 int32_t ret = -1; HWTEST_F() local
332 int32_t ret = -1; HWTEST_F() local
360 int32_t ret = -1; HWTEST_F() local
384 int32_t ret = -1; HWTEST_F() local
421 int32_t ret = netfirewallClient_.GetNetFirewallRules(userId, param, info); HWTEST_F() local
438 int32_t ret = -1; HWTEST_F() local
465 int32_t ret = -1; HWTEST_F() local
500 int32_t ret = -1; HWTEST_F() local
517 auto ret = DelayedSingleton<NetFirewallLoadCallback>::GetInstance()->IsFailed(); HWTEST_F() local
526 int32_t ret = netfirewallClient_.GetNetFirewallPolicy(USER_ID1, status); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link_wifi_direct.c212 int32_t ret = LnnGetRemoteNumInfo(peerNetWorkId, NUM_KEY_META_NODE, &value); in GetChannelAuthType() local
226 int32_t ret = AuthGetHmlConnInfo(uuid, connInfo, isMetaAuth); in GetPreferAuthConnInfo() local
238 int32_t ret = FindForceDownInfoByReqId(INFO_TYPE_FORCE_DOWN, requestId, &forceDownInfo); in OnWifiDirectForceDisconnectSuccess() local
260 int32_t ret = FindForceDownInfoByReqId(INFO_TYPE_FORCE_DOWN, requestId, &forceDownInfo); OnWifiDirectForceDisconnectFailure() local
333 int32_t ret = UpdateForceDownInfoParam(authRequestId, authHandle, &forceDownInfo); OnConnOpenedForForceDisconnect() local
373 int32_t ret = GenerateForceDownWifiDirectInfo(forceDownInfo, &info); ForceDisconnectWifiDirectWithoutAuth() local
402 int32_t ret = ForceDisconnectWifiDirectWithoutAuth(&forceDownInfo); OnConnOpenFailedForForceDisconnect() local
422 int32_t ret = GetPreferAuthConnInfo(forceDownDevId, &connInfo, isMetaAuth); OpenAuthToForceDisconnect() local
474 int32_t ret = AddForceDownInfo(&forceDownInfo); AddNewForceDownInfo() local
544 int32_t ret = AddNewForceDownInfo(downType, forceDownDevId, forceDownLink, p2pRequestId, forceDownReqId); ForceDisconnectWifiDirect() local
589 int32_t ret = FindLinkConflictInfoByDevId(&identifyInfo, conflictType, &conflictItem); HandleForceDownWifiDirect() local
629 int32_t ret = FindLinkConflictInfoByDevId(&identifyInfo, conflictType, &conflictItem); HandleForceDownWifiDirectTrans() local
[all...]
H A Dlnn_lane.c514 int32_t ret = wifiDirectMgr->getLocalAndRemoteMacByLocalIp(localIp, dupMacInfo.localMac, MAX_MAC_LEN, in GetWifiDirectMacInfo() local
549 int32_t ret = FindLaneResourceByLaneId(laneId, &laneLinkInfo); in GetMacInfoByLaneId() local
599 int32_t ret = LnnAsyncCallbackDelayHelper(GetLooper(LOOP_TYPE_DEFAULT), LaneInitChannelRatingDelay, LaneDelayInit() local
629 int32_t ret = LnnInitVapInfo(); InitLane() local
[all...]
H A Dlnn_lane_listener.c272 int32_t ret = LaneInfoProcess(laneLinkInfo, &laneConnInfo, &profile); in LaneLinkupNotify() local
/foundation/communication/dsoftbus/core/common/message_handler/
H A Dmessage_handler.c213 int32_t ret = SoftBusThreadCreate(&tid, &threadAttr, LoopTask, looper); in StartNewLooperThread() local
466 int ret = StartNewLooperThread(looper); in CreateNewLooper() local
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/adapter/
H A Dp2p_adapter.cpp46 auto ret = Hid2dGetChannelListFor5G(array, CHANNEL_ARRAY_NUM_MAX); in GetChannel5GListIntArray() local
67 int32_t ret = GetLinkedInfo(&linkedInfo); in IsWifiConnected() local
80 auto ret = GetP2pEnableStatus(&state); in IsWifiP2pEnabled() local
94 int32_t ret in GetStationFrequency() local
105 int32_t ret = Hid2dCreateGroup(param.frequency, type); P2pCreateGroup() local
121 int32_t ret = P2pConnectGroup() local
157 WifiErrorCode ret = Hid2dSharedlinkIncrease(); P2pShareLinkReuse() local
165 WifiErrorCode ret = Hid2dSharedlinkDecrease(); P2pShareLinkRemoveGroup() local
180 WifiErrorCode ret; DestroyGroup() local
205 auto ret = P2pAdapter::GetChannel5GListIntArray(channelArray); GetStationFrequencyWithFilter() local
230 int32_t ret = Hid2dGetRecommendChannel(&request, &response); GetRecommendChannel() local
250 int32_t ret = Hid2dGetSelfWifiCfgInfo(TYPE_OF_GET_SELF_CONFIG, (char *)wifiConfig, &wifiConfigSize); GetSelfWifiConfigInfo() local
277 int32_t ret = SoftBusBase64Decode(decodeCfg, peerCfgLen, &decodeLen, (uint8_t *)config.c_str(), config.size()); SetPeerWifiConfigInfo() local
307 auto ret = GetCurrentGroup(groupInfo.get()); GetGroupInfo() local
341 auto ret = GetCurrentGroup(groupInfo.get()); GetGroupConfig() local
369 int32_t ret = GetCurrentGroup(groupInfo.get()); GetIpAddress() local
400 auto ret = GetCurrentGroup(groupInfo.get()); GetDynamicMacAddress() local
419 int ret = Hid2dRequestGcIp(macArray.data(), ipArray); RequestGcIp() local
440 int32_t ret = WifiDirectUtils::IpStringToIntArray(ip.c_str(), addrInfo.ip, IPV4_ARRAY_LEN); P2pConfigGcIp() local
477 auto ret = GetHotspotConfig(&hotspotConfig); GetApChannel() local
485 int32_t ret = GetCurrentGroup(&p2pGroupInfo); GetP2pGroupFrequency() local
[all...]
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/
H A Ddisc_coap.c255 int32_t ret = Publish(option, true); in CoapPublish() local
262 int32_t ret = Publish(option, false); in CoapStartScan() local
324 int32_t ret = UnPublish(option, true); in CoapUnPublish() local
331 int32_t ret = UnPublish(option, false); CoapStopScan() local
341 int32_t ret = DiscCoapSetFilterCapability(CAPABILITY_NUM, g_subscribeMgr->allCap); UpdateFilter() local
398 int32_t ret = Discovery(option, true); CoapStartAdvertise() local
416 int32_t ret = Discovery(option, false); CoapSubscribe() local
455 int32_t ret = StopDisc(option, true); CoapStopAdvertise() local
462 int32_t ret = StopDisc(option, false); CoapUnsubscribe() local
550 int32_t ret = InitCoapManager(); DiscCoapInit() local
[all...]
/foundation/communication/dsoftbus/tests/core/discovery/ble/dispatcher/
H A Ddisc_ble_dispatcher_test.cpp369 int32_t ret; in HWTEST_F() local
422 int32_t ret; in HWTEST_F() local
475 int32_t ret; HWTEST_F() local
528 int32_t ret; HWTEST_F() local
581 int32_t ret; HWTEST_F() local
634 int32_t ret; HWTEST_F() local
725 int32_t ret = interface->Publish(&g_pOption0); HWTEST_F() local
739 int32_t ret = interface->StartAdvertise(&g_sOption0); HWTEST_F() local
[all...]

Completed in 33 milliseconds

1...<<501502503504505506507508509510>>...684