Home
last modified time | relevance | path

Searched refs:sessionLen (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/ipc/services/dbinder/c/src/
H A Ddbinder_service.c563 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 Dtrans_auth_manager.h46 uint16_t pkgLen, uint16_t sessionLen);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/
H A Dsoftbus_proxychannel_manager.h62 uint16_t pkgLen, uint16_t sessionLen);
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_proxychannel_manager_test.cpp303 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 Dtrans_proxy_manager_test.cpp447 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 Dsoftbusproxychannelmanager_fuzzer.cpp243 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 Dtrans_auth_manager.c757 …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 Dsoftbus_proxychannel_manager.c1854 uint16_t pkgLen, uint16_t sessionLen) in TransProxyGetNameByChanId() argument
1873 if (strcpy_s(sessionName, sessionLen, chan->appInfo.myData.sessionName) != EOK) { in TransProxyGetNameByChanId()