/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/fuzztest/softbusproxychannelmanager_fuzzer/ |
H A D | softbusproxychannelmanager_fuzzer.cpp | 147 int32_t chanId = *(reinterpret_cast<const int32_t *>(data)); in TransProxyDelChanByChanIdTest() local 149 TransProxyDelChanByChanId(chanId); in TransProxyDelChanByChanIdTest() 154 int32_t chanId = *(reinterpret_cast<const int32_t *>(data)); in TransProxyGetChanByChanIdTest() local 157 (void)TransProxyGetChanByChanId(chanId, &chan); in TransProxyGetChanByChanIdTest() 241 int32_t chanId = *(reinterpret_cast<const int32_t *>(data)); in TransProxyGetNameByChanIdTest() local 247 (void)TransProxyGetNameByChanId(chanId, pkgName, sessionName, pkgLen, sessionLen); in TransProxyGetNameByChanIdTest() 267 int32_t chanId = *(reinterpret_cast<const int32_t *>(data)); in TransProxyGetAppInfoByChanIdTest() local 270 (void)TransProxyGetAppInfoByChanId(chanId, &appInfo); in TransProxyGetAppInfoByChanIdTest()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_manager.h | 47 int32_t TransProxyGetChanByChanId(int32_t chanId, ProxyChannelInfo *chan); 61 int32_t TransProxyGetNameByChanId(int32_t chanId, char *pkgName, char *sessionName, 68 int32_t TransProxyGetAppInfoByChanId(int32_t chanId, AppInfo* appInfo);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_listener_test.cpp | 119 int32_t chanId = CHANID; variable 121 int32_t ret = CreateSessionConnNode(module, fd, chanId, clientAddr);
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_listener.c | 154 static int32_t CreateSessionConnNode(ListenerModule module, int fd, int32_t chanId, const ConnectOp… in CreateSessionConnNode() argument 164 conn->channelId = chanId; in CreateSessionConnNode() 203 TransDelSessionConnById(chanId); in CreateSessionConnNode()
|
H A D | trans_tcp_direct_sessionconn.c | 517 void SetSessionKeyByChanId(int32_t chanId, const char *sessionKey, int32_t keyLen) in SetSessionKeyByChanId() argument 528 if (conn->channelId == chanId) { in SetSessionKeyByChanId()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/include/ |
H A D | trans_auth_manager.h | 45 int32_t TransAuthGetNameByChanId(int32_t chanId, char *pkgName, char *sessionName,
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_proxychannel_manager_test.cpp | 384 int32_t chanId = TEST_MESSAGE_CHANNEL_VALID_ID; variable 387 int32_t ret = TransProxyGetAppInfoByChanId(chanId, appInfo); 390 chanId = TEST_MESSAGE_CHANNEL_ID; 1188 int32_t chanId = 1; variable 1189 int32_t ret = TransProxyGetChanByChanId(chanId, nullptr); 1191 ret = TransProxyGetChanByChanId(chanId, &chan);
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/include/ |
H A D | trans_tcp_direct_sessionconn.h | 112 void SetSessionKeyByChanId(int32_t chanId, const char *sessionKey, int32_t keyLen);
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 235 int32_t TransProxyGetChanByChanId(int32_t chanId, ProxyChannelInfo *chan) in TransProxyGetChanByChanId() argument 246 if (item->channelId == chanId) { in TransProxyGetChanByChanId() 257 TRANS_LOGE(TRANS_CTRL, "proxy channel not found by chanId. chanId=%{public}d", chanId); in TransProxyGetChanByChanId() 1853 int32_t TransProxyGetNameByChanId(int32_t chanId, char *pkgName, char *sessionName, in TransProxyGetNameByChanId() argument 1860 int32_t ret = TransProxyGetChanByChanId(chanId, chan); in TransProxyGetNameByChanId() 1863 TRANS_LOGE(TRANS_CTRL, "get channel info by chanId failed. chanId=%{public}d", chanId); in TransProxyGetNameByChanId() 1961 int32_t TransProxyGetAppInfoByChanId(int32_t chanId, AppInfo *appInfo) in TransProxyGetAppInfoByChanId() argument 1975 if (item->channelId == chanId) { in TransProxyGetAppInfoByChanId() 1986 TRANS_LOGE(TRANS_CTRL, "Proxy channel not find: channelId=%{public}d", chanId); in TransProxyGetAppInfoByChanId()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/ |
H A D | trans_auth_manager.c | 757 int32_t TransAuthGetNameByChanId(int32_t chanId, char *pkgName, char *sessionName, uint16_t pkgLen,… in TransAuthGetNameByChanId() argument 765 int32_t ret = GetAuthChannelInfoByChanId(chanId, &info); in TransAuthGetNameByChanId() 767 TRANS_LOGE(TRANS_SVC, "get channel info by chanId failed. chanId=%{public}d", chanId); in TransAuthGetNameByChanId()
|