Searched refs:sessionLen (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/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()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/include/ |
H A D | trans_auth_manager.h | 46 uint16_t pkgLen, uint16_t sessionLen);
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_manager.h | 62 uint16_t pkgLen, uint16_t sessionLen);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_proxychannel_manager_test.cpp | 303 uint16_t sessionLen = SESSION_NAME_SIZE_MAX; variable 304 int32_t ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen); 307 ret = TransProxyGetNameByChanId(channelId, nullptr, sessionName, pkgLen, sessionLen); 309 ret = TransProxyGetNameByChanId(channelId, pkgName, nullptr, pkgLen, sessionLen); 313 ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen);
|
H A D | trans_proxy_manager_test.cpp | 447 uint16_t sessionLen = SESSION_NAME_SIZE_MAX; variable 448 int32_t ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen); 452 ret = TransProxyGetNameByChanId(channelId, pkgName, sessionName, pkgLen, sessionLen);
|
/ohos5.0/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()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/ |
H A D | trans_auth_manager.c | 757 …ameByChanId(int32_t chanId, char *pkgName, char *sessionName, uint16_t pkgLen, uint16_t sessionLen) in TransAuthGetNameByChanId() argument 772 …memcpy_s(sessionName, sessionLen, info.appInfo.myData.sessionName, SESSION_NAME_SIZE_MAX) != EOK) { in TransAuthGetNameByChanId()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 1854 uint16_t pkgLen, uint16_t sessionLen) in TransProxyGetNameByChanId() argument 1873 if (strcpy_s(sessionName, sessionLen, chan->appInfo.myData.sessionName) != EOK) { in TransProxyGetNameByChanId()
|