Home
last modified time | relevance | path

Searched refs:connType (Results 1 - 25 of 34) sorted by relevance

12

/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_connreporter.c237 for (SoftBusConnType connType = SOFTBUS_HISYSEVT_CONN_TYPE_BR; connType < SOFTBUS_HISYSEVT_CONN_TYPE_BUTT; in InitConnResultRecord()
238 connType++) { in InitConnResultRecord()
239 ConnResultRecord *connRecord = &connResultRecord[connType]; in InitConnResultRecord()
283 SoftBusConnType connType) in SetDevConnResultMsgParamValue()
296 param[SOFTBUS_EVT_PARAM_THREE].paramValue.u32v = connType; in SetDevConnResultMsgParamValue()
311 SoftBusConnType connType, ProcessStep step) in SetDevProcStepMsgParamValue()
322 param[SOFTBUS_EVT_PARAM_THREE].paramValue.u32v = connType; in SetDevProcStepMsgParamValue()
334 SoftBusConnType connType) in SoftBusCreateConnDurMsg()
347 ret = SetDevConnResultMsgParamValue(msg, record, pkgName, connType); in SoftBusCreateConnDurMsg()
282 SetDevConnResultMsgParamValue(SoftBusEvtReportMsg *msg, ConnResultRecord *record, char *pkgName, SoftBusConnType connType) SetDevConnResultMsgParamValue() argument
310 SetDevProcStepMsgParamValue(SoftBusEvtReportMsg *msg, ProcessStepRecord *record, SoftBusConnType connType, ProcessStep step) SetDevProcStepMsgParamValue() argument
333 SoftBusCreateConnDurMsg(SoftBusEvtReportMsg *msg, ConnResultRecord *record, char *pkgName, SoftBusConnType connType) SoftBusCreateConnDurMsg() argument
355 SoftBusCreateProcStepMsg(SoftBusEvtReportMsg *msg, SoftBusConnType connType, ProcessStep step) SoftBusCreateProcStepMsg() argument
511 SoftbusReportConnFault(SoftBusConnType connType, int32_t errCode, char *pkgName) SoftbusReportConnFault() argument
531 SoftbusRecordConnResult(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus status, uint64_t costTime, int32_t errCode) SoftbusRecordConnResult() argument
582 SoftbusRecordProccessDuration(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus status, ProcessStepTime *stepTime, int32_t errCode) SoftbusRecordProccessDuration() argument
[all...]
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_link_listener.c32 #define COMBINE_TYPE(routeType, connType) ((routeType) | ((uint8_t)(connType) << 8))
50 TransConnType connType = TRANS_CONN_ALL; in OnWifiDirectDeviceOffLine() local
57 connType = TRANS_CONN_HML; in OnWifiDirectDeviceOffLine()
61 connType = TRANS_CONN_P2P; in OnWifiDirectDeviceOffLine()
64 TransOnLinkDown(nodeInfo.networkId, nodeInfo.uuid, nodeInfo.masterUdid, peerIp, COMBINE_TYPE(WIFI_P2P, connType)); in OnWifiDirectDeviceOffLine()
H A Dtrans_lane_manager.c847 ConnectType connType = ConvertLaneLinkTypeToConnectType(item->laneConnInfo.type); in TransGetConnectTypeByChannelId() local
848 if (connType >= CONNECT_TYPE_MAX) { in TransGetConnectTypeByChannelId()
850 connType, item->laneConnInfo.type, channelId); in TransGetConnectTypeByChannelId()
855 *connectType = connType; in TransGetConnectTypeByChannelId()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_config.c92 static int32_t CheckConnType(uint16_t connType) in CheckConnType() argument
94 if ((connType != CONNECT_TYPE_P2P) && (connType != CONNECT_TYPE_WLAN)) { in CheckConnType()
100 int32_t GetDFileConfig(DFileConfig *dFileConfig, uint16_t mtu, uint16_t connType) in GetDFileConfig() argument
102 if ((dFileConfig == NULL) || CheckConnType(connType) != NSTACKX_EOK || (mtu == 0)) { in GetDFileConfig()
105 if (connType == CONNECT_TYPE_P2P) { in GetDFileConfig()
147 int32_t ConfigDFileTrans(uint16_t connType, DFileTransConfig *transConfig) in ConfigDFileTrans() argument
154 if (CheckConnType(connType) != NSTACKX_EOK) { in ConfigDFileTrans()
155 DFILE_LOGE(TAG, "Invalid connection type %u", connType); in ConfigDFileTrans()
159 if (connType in ConfigDFileTrans()
[all...]
H A Dnstackx_dfile_frame.c297 settingFrame->connType = htons(settingFramePara->connType); in EncodeSettingFrame()
530 * mtu and connType. in IsSettingFrameLengthValid()
533 if (payloadLength == (hostFrameLength += sizeof(hostSettingFrame->mtu) + sizeof(hostSettingFrame->connType))) { in IsSettingFrameLengthValid()
598 ntohs(netSettingFrame->connType) == CONNECT_TYPE_NONE || in IsSettingFrameMtuAndTypeValid()
599 ntohs(netSettingFrame->connType) >= CONNECT_TYPE_MAX) { in IsSettingFrameMtuAndTypeValid()
635 hostSettingFrame->connType = ntohs(netSettingFrame->connType); in DecodeSettingFrame()
636 if (payloadLength == sizeof(hostSettingFrame->mtu) + sizeof(hostSettingFrame->connType)) { in DecodeSettingFrame()
645 } else if (payloadLength == sizeof(hostSettingFrame->mtu) + sizeof(hostSettingFrame->connType) in DecodeSettingFrame()
[all...]
H A Dnstackx_dfile_session.c453 settingFramePara.connType = peerInfo->connType; in DFileSessionSendSetting()
496 static void SetDFileSessionConfig(DFileSession *session, DFileConfig *dFileConfig, uint16_t connType, in SetDFileSessionConfig() argument
504 if (connType == CONNECT_TYPE_WLAN) { in SetDFileSessionConfig()
511 if ((!peerInfo->gotWifiRate) && (connType == CONNECT_TYPE_WLAN)) { in SetDFileSessionConfig()
524 DFILE_LOGI(TAG, "connType is %u set sendrate is %u maxSendRate is %u peerInfo->dataFrameSize is %u", in SetDFileSessionConfig()
525 connType, peerInfo->sendRate, peerInfo->maxSendRate, peerInfo->dataFrameSize); in SetDFileSessionConfig()
527 if (FileManagerSetRecvParaWithConnType(session->fileManager, connType) != NSTACKX_EOK) { in SetDFileSessionConfig()
537 peerInfo->connType = settingFrame->connType; in DFileSessionSetPeerInfo()
602 CreatePeerInfo(DFileSession *session, const struct sockaddr_in *dstAddr, uint16_t peerMtu, uint16_t connType, uint8_t socketIndex) CreatePeerInfo() argument
2006 CreateFileManager(DFileSession *session, const uint8_t *key, uint32_t keyLen, uint8_t isSender, uint16_t connType) CreateFileManager() argument
[all...]
H A Dnstackx_dfile.c1204 uint16_t *connType, const char *localInterface, uint8_t socketIndex) in DFileSenderInitWithTargetDev()
1231 connType); in DFileSenderInitWithTargetDev()
1236 if ((*connType != CONNECT_TYPE_P2P && *connType != CONNECT_TYPE_WLAN)) { in DFileSenderInitWithTargetDev()
1237 *connType = CONNECT_TYPE_WLAN; in DFileSenderInitWithTargetDev()
1240 PeerInfo *peerInfo = CreatePeerInfo(session, &socket->dstAddr, 0, *connType, socketIndex); in DFileSenderInitWithTargetDev()
1245 *connType = peerInfo->connType; in DFileSenderInitWithTargetDev()
1281 static uint16_t GetClientSendThreadNum(uint16_t connType) in GetClientSendThreadNum() argument
1283 if (connType in GetClientSendThreadNum()
1203 DFileSenderInitWithTargetDev(DFileSession *session, const struct sockaddr_in *sockAddr, uint16_t *connType, const char *localInterface, uint8_t socketIndex) DFileSenderInitWithTargetDev() argument
[all...]
H A Dnstackx_file_manager.c1376 uint32_t keyLen, uint16_t connType) in FileManagerInit()
1383 fileManager->maxSendBlockListSize = GetMaxSendListSize(connType); in FileManagerInit()
1389 connType, fileManager->sendFrameListNum, fileManager->maxSendBlockListSize); in FileManagerInit()
1410 uint32_t keyLen, uint16_t connType) in FileManagerCreate()
1413 if (isSender && (connType != CONNECT_TYPE_P2P && connType != CONNECT_TYPE_WLAN)) { in FileManagerCreate()
1414 DFILE_LOGE(TAG, "connType for sender is illagal"); in FileManagerCreate()
1423 if (FileManagerInit(fileManager, msgPara, key, keyLen, connType) != NSTACKX_EOK) { in FileManagerCreate()
1375 FileManagerInit(FileManager *fileManager, FileManagerMsgPara *msgPara, const uint8_t *key, uint32_t keyLen, uint16_t connType) FileManagerInit() argument
1409 FileManagerCreate(uint8_t isSender, FileManagerMsgPara *msgPara, const uint8_t *key, uint32_t keyLen, uint16_t connType) FileManagerCreate() argument
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/include/
H A Dsoftbus_hisysevt_connreporter.h87 int32_t SoftbusRecordConnResult(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus status,
90 int32_t SoftbusRecordProccessDuration(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus status,
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_file_manager_client.h32 uint32_t GetMaxSendListSize(uint16_t connType);
H A Dnstackx_dfile_config.h180 int32_t GetDFileConfig(DFileConfig *dFileConfig, uint16_t mtu, uint16_t connType);
181 int32_t ConfigDFileTrans(uint16_t connType, DFileTransConfig *transConfig);
H A Dnstackx_dfile_transfer.h163 uint16_t connType; member
190 ConnectType connType; member
216 uint16_t connType; member
H A Dnstackx_dfile_session.h158 uint16_t mtu, uint16_t connType, uint8_t socketIndex);
168 uint16_t connType);
H A Dnstackx_dfile_frame.h164 uint16_t connType; member
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_manager.c304 ConnectType connType = connInfo->type; in TransOpenDirectChannel() local
305 if (connType == CONNECT_P2P_REUSE) { in TransOpenDirectChannel()
306 connType = (IsHmlIpAddr(appInfo->myData.addr)) ? CONNECT_HML : CONNECT_P2P; in TransOpenDirectChannel()
312 .linkType = connType, in TransOpenDirectChannel()
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/core/
H A Dnstackx_congestion.c175 int32_t GetConngestSendRate(WifiStationInfo *rxWifiStationInfo, uint16_t connType, uint32_t mtu, in GetConngestSendRate() argument
183 if (connType == CONNECT_TYPE_WLAN) { in GetConngestSendRate()
186 } else if (connType == CONNECT_TYPE_P2P) { in GetConngestSendRate()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_remote_device.h395 * @param connType Auto connect type value.
401 int32_t SetVirtualAutoConnectType(int connType, int businessType) const;
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_connection.h68 uint64_t GenConnId(int32_t connType, int32_t id);
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/interface/
H A Dnstackx_congestion.h76 NSTACKX_EXPORT int32_t GetConngestSendRate(WifiStationInfo *rxWifiStationInfo, uint16_t connType, uint32_t mtu,
/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_socket_manager.c289 // determine connection type based on IP, delete session when connection type and parameter connType are consistent
290 static bool ClientTransCheckNeedDel(SessionInfo *sessionNode, int32_t routeType, int32_t connType) in ClientTransCheckNeedDel() argument
292 if (connType == TRANS_CONN_ALL) { in ClientTransCheckNeedDel()
300 * and routeType is WIFI_P2P, the connType is hml or p2p in ClientTransCheckNeedDel()
324 if (connType == TRANS_CONN_HML && isHml) { in ClientTransCheckNeedDel()
326 } else if (connType == TRANS_CONN_P2P && !isHml) { in ClientTransCheckNeedDel()
342 // connType is set only in function OnWifiDirectDeviceOffLine, others is TRANS_CONN_ALL, and routeType is WIFI_P2P in DestroyClientSessionByNetworkId()
344 int32_t connType = (int32_t)GET_CONN_TYPE(type); in DestroyClientSessionByNetworkId() local
351 if (!ClientTransCheckNeedDel(sessionNode, routeType, connType)) { in DestroyClientSessionByNetworkId()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp420 int32_t BluetoothRemoteDevice::SetVirtualAutoConnectType(int connType, int businessType) const in SetVirtualAutoConnectType() argument
427 int32_t exception = hostProxy->SetVirtualAutoConnectType(address_, connType, businessType); in SetVirtualAutoConnectType()
/foundation/communication/dsoftbus/core/transmission/session/src/
H A Dtrans_session_manager.c392 int32_t connType = (int32_t)GET_CONN_TYPE(type); in TransOnLinkDown() local
396 "routeType=%{public}d, networkId=%{public}s connType=%{public}d", routeType, in TransOnLinkDown()
397 AnonymizeWrapper(anonyNetworkId), connType); in TransOnLinkDown()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_host.h137 virtual int32_t SetVirtualAutoConnectType(const std::string &address, int connType, int businessType) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_host_server.h133 int32_t SetVirtualAutoConnectType(const std::string &address, int connType, int businessType) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_host_proxy.h112 int32_t SetVirtualAutoConnectType(const std::string &address, int connType, int businessType) override;

Completed in 20 milliseconds

12