Home
last modified time | relevance | path

Searched refs:ChannelType (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/base/security/device_auth/services/legacy/group_manager/inc/channel_manager/
H A Dchannel_manager.h32 ChannelType GetChannelType(const DeviceAuthCallback *callback, const CJson *jsonParams);
33 int32_t OpenChannel(ChannelType channelType, const CJson *jsonParams, int64_t requestId, int64_t *r…
34 void CloseChannel(ChannelType channelType, int64_t channelId);
35 int32_t HcSendMsg(ChannelType channelType, int64_t requestId, int64_t channelId,
37 void NotifyBindResult(ChannelType channelType, int64_t channelId);
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/channel_manager/
H A Dchannel_manager.c46 ChannelType GetChannelType(const DeviceAuthCallback *callback, const CJson *jsonParams) in GetChannelType()
60 int32_t OpenChannel(ChannelType channelType, const CJson *jsonParams, int64_t requestId, int64_t *r… in OpenChannel()
87 void CloseChannel(ChannelType channelType, int64_t channelId) in CloseChannel()
94 int32_t HcSendMsg(ChannelType channelType, int64_t requestId, int64_t channelId, in HcSendMsg()
109 void NotifyBindResult(ChannelType channelType, int64_t channelId) in NotifyBindResult()
/ohos5.0/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, int3… in TransOpenChannelProc()
/ohos5.0/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()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/include/
H A Dclient_trans_session_manager.h78 ChannelType channelType;
148 ChannelType channelType;
/ohos5.0/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,
/ohos5.0/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_def.h130 } ChannelType; typedef
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_channel_manager.c319 ret = TransOpenChannelProc((ChannelType)transInfo->channelType, appInfo, &connOpt, in TransOpenChannel()
660 switch ((ChannelType)info->channelType) { in TransGetNameByChanId()
676 if ((ChannelType)channelType == CHANNEL_TYPE_TCP_DIRECT) { in TransGetAndComparePid()
719 switch ((ChannelType)channelType) { in TransGetAppInfoByChanId()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_session_manager.c836 sessionNode->channelType = (ChannelType)transInfo->channelType; in ClientSetChannelBySessionId()
901 … if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetSessionStateByChannelId()
936 … if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetSessionIdByChannelId()
1004 … if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetRouteTypeByChannelId()
1039 … if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetDataConfigByChannelId()
1084 (sessionNode->channelType == (ChannelType)(channel->channelType))) { in ClientEnableSessionByChannelId()
1971 … if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientGetSessionNameByChannelId()
2034 … if (sessionNode->channelId == channelId && sessionNode->channelType == (ChannelType)channelType) { in ClientRawStreamEncryptOptGet()
2136 sessionNode->channelType = (ChannelType)channelType; in ClientTransSetChannelInfo()
H A Dclient_trans_session_callback.c46 session->channelType = (ChannelType)channel->channelType; in AcceptSessionAsServer()
/ohos5.0/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)
/ohos5.0/base/security/device_auth/services/frameworks/inc/
H A Dcommon_defs.h178 } ChannelType; typedef
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
H A Dcompatible_bind_sub_session_util.c240 ChannelType channelType = SOFT_BUS; in InformPeerProcessError()
H A Dcompatible_bind_sub_session.c561 NotifyBindResult((ChannelType)session->channelType, session->channelId); in OnSessionFinish()
562 CloseChannel((ChannelType)session->channelType, session->channelId); in OnSessionFinish()
/ohos5.0/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, int3… in TransOpenChannelProc()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_message_service_test.cpp199 session->channelType = (ChannelType)channelType; in AddSessionServerAndSession()
H A Dclient_trans_session_manager_test.cpp1098 int32_t ChannelType = CHANNEL_TYPE_BUTT; variable
1099 ClientGetChannelBySessionId(1, &channelId, &ChannelType, NULL);
1101 ASSERT_EQ(ChannelType, CHANNEL_TYPE_TCP_DIRECT);
H A Dclient_trans_session_service_test.cpp183 session->channelType = (ChannelType)channelType; in AddSessionServerAndSession()
H A Dclient_trans_session_test.cpp259 session->channelType = (ChannelType)channelType; in AddSessionServerAndSession()
/ohos5.0/base/security/device_auth/services/
H A Ddevice_auth.c366 ChannelType channelType = GetChannelType(callback, context); in BuildClientBindContext()
559 ChannelType channelType = GetChannelType(callback, context); in StartClientBindSession()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/
H A Dtrans_lane_common_test.cpp592 ChannelType type = CHANNEL_TYPE_BUTT;
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_interface_test.cpp479 ChannelType type = GetChannelType(&callback, jsonParams);

12