/foundation/CastEngine/castengine_cast_framework/common/include/private/ |
H A D | cast_service_common.h | 38 ChannelType channelType{ ChannelType::SOFT_BUS };
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/mock/ |
H A D | trans_manager_mock.h | 45 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 D | trans_manager_mock.cpp | 80 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 D | channel_request.h | 43 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 D | channel_request.h | 43 remoteDeviceInfo.channelType == ChannelType::SOFT_BUS ? ChannelLinkType::SOFT_BUS : ChannelLinkType::TCP; in ChannelRequest()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/include/ |
H A D | cast_session_impl_class.h | 185 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 D | cast_session_impl_class.h | 185 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 D | trans_lane_pending_test_mock.h | 44 virtual int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo, 72 (ChannelType type, AppInfo *appInfo, const ConnectOption *connOpt, int32_t *channelId));
|
H A D | trans_lane_pending_test_mock.cpp | 89 int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo, in TransOpenChannelProc()
|
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/ |
H A D | cast_engine_common.h | 179 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 D | trans_channel_common.h | 59 int32_t TransOpenChannelProc(ChannelType type, AppInfo *appInfo, const ConnectOption *connOpt,
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/ |
H A D | cast_session_impl.cpp | 398 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 D | cast_session_impl.cpp | 398 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 D | cast_device_data_manager.h | 77 bool SetDeviceChannleType(const std::string &deviceId, const ChannelType &channelType);
|
/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_def.h | 131 } ChannelType; typedef
|
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/ |
H A D | trans_audit_converter.h | 53 TRANS_AUDIT_ASSIGNER(Int32, ChannelType, channelType)
|
H A D | trans_event_converter.h | 41 TRANS_ASSIGNER(Int32, ChannelType, channelType)
|
/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_session_manager.h | 78 ChannelType channelType; 149 ChannelType channelType;
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/ |
H A D | trans_channel_manager.c | 306 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 D | napi_castengine_enum.cpp | 245 (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 D | client_trans_session_manager.c | 867 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 D | connection_manager.cpp | 1062 ChannelType type = mode == TRANSFER_MODE_SOFTBUS_SINGLE ? ChannelType::SOFT_BUS : ChannelType::LEGACY_CHANNEL; in HandleConnectDeviceAction()
|
H A D | discovery_manager.cpp | 286 .channelType = ChannelType::SOFT_BUS, in CreateRemoteDevice()
|
H A D | cast_device_data_manager.cpp | 438 bool CastDeviceDataManager::SetDeviceChannleType(const std::string &deviceId, const ChannelType &channelType) in SetDeviceChannleType()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_channel_common.c | 143 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()
|