Home
last modified time | relevance | path

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

12

/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Dcast_service_common.h38 ChannelType channelType{ ChannelType::SOFT_BUS };
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/mock/
H A Dtrans_manager_mock.h45 ChannelType type, AppInfo *appInfo, const ConnectOption *connOpt, int32_t *channelId) = 0;
64 MOCK_METHOD4(TransOpenChannelProc, int32_t (ChannelType, AppInfo *, const ConnectOption *, int32_t *));
H A Dtrans_manager_mock.cpp80 int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo, const ConnectOption *connOpt, int32_t *channelId) in TransOpenChannelProc()
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/
H A Dchannel_request.h43 remoteDeviceInfo.channelType == ChannelType::SOFT_BUS ? ChannelLinkType::SOFT_BUS : ChannelLinkType::TCP; in ChannelRequest()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/
H A Dchannel_request.h43 remoteDeviceInfo.channelType == ChannelType::SOFT_BUS ? ChannelLinkType::SOFT_BUS : ChannelLinkType::TCP; in ChannelRequest()
/foundation/CastEngine/castengine_cast_framework/service/src/session/include/
H A Dcast_session_impl_class.h185 bool IsVtpUsed(ChannelType type);
186 bool IsChannelClient(ChannelType type);
187 bool IsChannelNeeded(ChannelType type);
188 std::pair<int, int> GetMediaPort(ChannelType type, int port);
189 std::optional<int> SetupMedia(const CastInnerRemoteDevice &remote, ChannelType type, int ports);
/foundation/CastEngine/castengine_cast_plus_stream/include/
H A Dcast_session_impl_class.h185 bool IsVtpUsed(ChannelType type);
186 bool IsChannelClient(ChannelType type);
187 bool IsChannelNeeded(ChannelType type);
188 std::pair<int, int> GetMediaPort(ChannelType type, int port);
189 std::optional<int> SetupMedia(const CastInnerRemoteDevice &remote, ChannelType type, int ports);
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/
H A Dtrans_lane_pending_test_mock.h44 virtual int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo,
72 (ChannelType type, AppInfo *appInfo, const ConnectOption *connOpt, int32_t *channelId));
H A Dtrans_lane_pending_test_mock.cpp89 int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo, in TransOpenChannelProc()
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/
H A Dcast_engine_common.h179 enum class EXPORT ChannelType { class in OHOS::CastEngine::SubDeviceType::EventCode
186 return (type == static_cast<int32_t>(ChannelType::SOFT_BUS)) || in IsChannelType()
187 (type == static_cast<int32_t>(ChannelType::LEGACY_CHANNEL)); in IsChannelType()
337 ChannelType channelType;
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/include/
H A Dtrans_channel_common.h59 int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo, const ConnectOption *connOpt,
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/
H A Dcast_session_impl.cpp398 remoteDeviceList_.front().remoteDevice.channelType == ChannelType::LEGACY_CHANNEL) { in GetSessionId()
590 rtspParamInfo_.SetSupportVtpOpt((remoteDeviceInfo->remoteDevice.channelType != ChannelType::SOFT_BUS) ? in InitRtspParamInfo()
685 bool CastSessionImpl::IsVtpUsed(ChannelType type) in IsVtpUsed()
687 return (type != ChannelType::SOFT_BUS) && (rtspParamInfo_.GetSupportVtpOpt() != VtpType::VTP_NOT_SUPPORT_VIDEO); in IsVtpUsed()
690 bool CastSessionImpl::IsChannelClient(ChannelType type) in IsChannelClient()
699 bool CastSessionImpl::IsChannelNeeded(ChannelType type) in IsChannelNeeded()
704 std::pair<int, int> CastSessionImpl::GetMediaPort(ChannelType type, int port) in GetMediaPort()
706 if (type != ChannelType::SOFT_BUS) { in GetMediaPort()
737 std::optional<int> CastSessionImpl::SetupMedia(const CastInnerRemoteDevice &remote, ChannelType type, int ports) in SetupMedia()
/foundation/CastEngine/castengine_cast_plus_stream/src/
H A Dcast_session_impl.cpp398 remoteDeviceList_.front().remoteDevice.channelType == ChannelType::LEGACY_CHANNEL) { in GetSessionId()
590 rtspParamInfo_.SetSupportVtpOpt((remoteDeviceInfo->remoteDevice.channelType != ChannelType::SOFT_BUS) ? in InitRtspParamInfo()
685 bool CastSessionImpl::IsVtpUsed(ChannelType type) in IsVtpUsed()
687 return (type != ChannelType::SOFT_BUS) && (rtspParamInfo_.GetSupportVtpOpt() != VtpType::VTP_NOT_SUPPORT_VIDEO); in IsVtpUsed()
690 bool CastSessionImpl::IsChannelClient(ChannelType type) in IsChannelClient()
699 bool CastSessionImpl::IsChannelNeeded(ChannelType type) in IsChannelNeeded()
704 std::pair<int, int> CastSessionImpl::GetMediaPort(ChannelType type, int port) in GetMediaPort()
706 if (type != ChannelType::SOFT_BUS) { in GetMediaPort()
737 std::optional<int> CastSessionImpl::SetupMedia(const CastInnerRemoteDevice &remote, ChannelType type, int ports) in SetupMedia()
/foundation/CastEngine/castengine_cast_framework/service/src/device_manager/include/
H A Dcast_device_data_manager.h77 bool SetDeviceChannleType(const std::string &deviceId, const ChannelType &channelType);
/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_def.h131 } ChannelType; typedef
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Dtrans_audit_converter.h53 TRANS_AUDIT_ASSIGNER(Int32, ChannelType, channelType)
H A Dtrans_event_converter.h41 TRANS_ASSIGNER(Int32, ChannelType, channelType)
/foundation/communication/dsoftbus/sdk/transmission/session/include/
H A Dclient_trans_session_manager.h78 ChannelType channelType;
149 ChannelType channelType;
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_channel_manager.c306 ret = TransOpenChannelProc((ChannelType)transInfo->channelType, appInfo, &connOpt, in TransOpenChannel()
647 switch ((ChannelType)info->channelType) { in TransGetNameByChanId()
663 if ((ChannelType)channelType == CHANNEL_TYPE_TCP_DIRECT) { in TransGetAndComparePid()
710 switch ((ChannelType)channelType) { in TransGetAppInfoByChanId()
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_castengine_enum.cpp245 (void)SetNamedProperty(env, result, "SOFT_BUS", static_cast<int32_t>(ChannelType::SOFT_BUS)); in ExportChannelType()
246 (void)SetNamedProperty(env, result, "LEGACY_CHANNEL", static_cast<int32_t>(ChannelType::LEGACY_CHANNEL)); in ExportChannelType()
346 DECLARE_NAPI_PROPERTY("ChannelType", ExportChannelType(env)), in InitEnums()
/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_session_manager.c867 sessionNode->channelType = (ChannelType)transInfo->channelType; in ClientSetChannelBySessionId()
932 if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetSessionStateByChannelId()
968 if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType && flag) { in ClientGetSessionIdByChannelId()
1036 if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetRouteTypeByChannelId()
1071 if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetDataConfigByChannelId()
1116 (sessionNode->channelType == (ChannelType)(channel->channelType))) { in ClientEnableSessionByChannelId()
1955 if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetSessionNameByChannelId()
2018 if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientRawStreamEncryptOptGet()
2120 sessionNode->channelType = (ChannelType)channelType; in ClientTransSetChannelInfo()
/foundation/CastEngine/castengine_cast_framework/service/src/device_manager/src/
H A Dconnection_manager.cpp1062 ChannelType type = mode == TRANSFER_MODE_SOFTBUS_SINGLE ? ChannelType::SOFT_BUS : ChannelType::LEGACY_CHANNEL; in HandleConnectDeviceAction()
H A Ddiscovery_manager.cpp286 .channelType = ChannelType::SOFT_BUS, in CreateRemoteDevice()
H A Dcast_device_data_manager.cpp438 bool CastDeviceDataManager::SetDeviceChannleType(const std::string &deviceId, const ChannelType &channelType) in SetDeviceChannleType()
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
H A Dtrans_channel_common.c143 static ChannelType TransGetChannelType(const SessionParam *param, const int32_t type) in TransGetChannelType()
343 int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo, const ConnectOption *connOpt, int32_t *channelId) in TransOpenChannelProc()

Completed in 22 milliseconds

12