/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/include/ |
H A D | trans_auth_manager.h | 46 uint16_t pkgLen, uint16_t sessionLen);
|
/foundation/communication/ipc/services/dbinder/c/src/ |
H A D | dbinder_service.c | 563 size_t sessionLen; in OnRemoteInvokerDataBusMessage() local 564 char *serverSessionName = (char *)ReadString(&reply, &sessionLen); in OnRemoteInvokerDataBusMessage() 566 if (stubIndex == 0 || serverSessionName == NULL || sessionLen > SERVICENAME_LENGTH) { in OnRemoteInvokerDataBusMessage() 574 replyMessage->serviceNameLength = (uint16_t)sessionLen; in OnRemoteInvokerDataBusMessage() 575 if (memcpy_s(replyMessage->serviceName, SERVICENAME_LENGTH, serverSessionName, sessionLen) != 0) { in OnRemoteInvokerDataBusMessage()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_manager.h | 62 uint16_t pkgLen, uint16_t sessionLen);
|
/foundation/communication/dsoftbus/tests/core/transmission/fuzztest/softbusproxychannelmanager_fuzzer/ |
H A D | softbusproxychannelmanager_fuzzer.cpp | 243 uint16_t sessionLen = *(reinterpret_cast<const uint16_t *>(data)); in TransProxyGetNameByChanIdTest() local 247 (void)TransProxyGetNameByChanId(chanId, pkgName, sessionName, pkgLen, sessionLen); in TransProxyGetNameByChanIdTest()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | trans_proxy_manager_test.cpp | 447 uint16_t sessionLen = SESSION_NAME_SIZE_MAX; in HWTEST_F() local 448 int32_t ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen); in HWTEST_F() 452 ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen); in HWTEST_F()
|
H A D | softbus_proxychannel_manager_test.cpp | 381 uint16_t sessionLen = SESSION_NAME_SIZE_MAX; in HWTEST_F() local 382 int32_t ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen); in HWTEST_F() 385 ret = TransProxyGetNameByChanId(channelId, nullptr, sessionName, pkgLen, sessionLen); in HWTEST_F() 387 ret = TransProxyGetNameByChanId(channelId, pkgName, nullptr, pkgLen, sessionLen); in HWTEST_F() 391 ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/ |
H A D | trans_auth_manager.c | 753 int32_t TransAuthGetNameByChanId(int32_t chanId, char *pkgName, char *sessionName, uint16_t pkgLen, uint16_t sessionLen) in TransAuthGetNameByChanId() argument 768 memcpy_s(sessionName, sessionLen, info.appInfo.myData.sessionName, SESSION_NAME_SIZE_MAX) != EOK) { in TransAuthGetNameByChanId()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 1857 uint16_t pkgLen, uint16_t sessionLen) in TransProxyGetNameByChanId() 1876 if (strcpy_s(sessionName, sessionLen, chan->appInfo.myData.sessionName) != EOK) { in TransProxyGetNameByChanId() 1856 TransProxyGetNameByChanId(int32_t chanId, char *pkgName, char *sessionName, uint16_t pkgLen, uint16_t sessionLen) TransProxyGetNameByChanId() argument
|