Home
last modified time | relevance | path

Searched refs:SESSION_NAME (Results 1 - 11 of 11) sorted by relevance

/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/
H A Dsoftbus_file_send_listener_test.cpp37 const string SESSION_NAME = "mySessionName"; member
60 SoftBusHandler::clientSessNameMap_.insert(std::make_pair(SOCKET_ID, SESSION_NAME)); in SetUp()
87 SoftBusSessionPool::GetInstance().AddSessionInfo(SESSION_NAME, sessionInfo1); in HWTEST_F()
92 bool flag = SoftBusSessionPool::GetInstance().GetSessionInfo(SESSION_NAME, sessionInfo); in HWTEST_F()
97 flag = SoftBusSessionPool::GetInstance().GetSessionInfo(SESSION_NAME, sessionInfo); in HWTEST_F()
117 SoftBusHandler::GetInstance().serverIdMap_.insert(std::make_pair(SESSION_NAME, SOCKET_ID)); in HWTEST_F()
121 auto it = SoftBusHandler::GetInstance().serverIdMap_.find(SESSION_NAME); in HWTEST_F()
144 SoftBusHandler::GetInstance().serverIdMap_.insert(std::make_pair(SESSION_NAME, SOCKET_ID)); in HWTEST_F()
147 auto it = SoftBusHandler::GetInstance().serverIdMap_.find(SESSION_NAME); in HWTEST_F()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/
H A Dsession_manager.cpp30 const string SESSION_NAME = "DistributedFileService_edge2edge_Session"; member
44 auto ret = SoftbusAdapter::GetInstance().CreateSessionServer(SERVICE_NAME.c_str(), SESSION_NAME.c_str()); in CreateServer()
49 SoftbusAdapter::GetInstance().RegisterSessionListener(SESSION_NAME.c_str(), shared_from_this()); in CreateServer()
64 auto ret = SoftbusAdapter::GetInstance().RemoveSessionServer(SERVICE_NAME.c_str(), SESSION_NAME.c_str()); in RemoveServer()
70 SoftbusAdapter::GetInstance().UnRegisterSessionListener(SESSION_NAME.c_str()); in RemoveServer()
113 auto sendSession = make_shared<SoftbusSession>(peerDeviceId, SESSION_NAME.c_str(), type); in CreateSession()
/foundation/communication/dsoftbus/tests/core/common/security/permission/common/unittest/
H A Dpermission_entry_mock_test.cpp97 "SESSION_NAME": "DistributedFileService.*", in HWTEST_F()
152 "SESSION_NAME": "distributeddata-default*", in HWTEST_F()
/foundation/distributedhardware/distributed_input/services/common/include/
H A Ddinput_softbus_define.h45 const std::string SESSION_NAME = "ohos.dhardware.dinput.session"; member
/foundation/CastEngine/castengine_cast_framework/service/src/
H A Dcast_session_manager_service.cpp48 constexpr char SESSION_NAME[] = "CastPlusSessionName"; member
108 ret = CreateSessionServer(PKG_NAME, SessionServer::SESSION_NAME, &SessionServer::g_SessionListener); in WaitSoftBusInit()
131 result = CreateSessionServer(PKG_NAME, SessionServer::SESSION_NAME, &SessionServer::g_SessionListener); in SetupSessionServer()
185 RemoveSessionServer(PKG_NAME, SessionServer::SESSION_NAME); in OnStop()
/foundation/distributedhardware/distributed_input/services/transportbase/src/
H A Ddistributed_input_transport_base.cpp149 localSessionName_ = SESSION_NAME + networkId.substr(0, INTERCEPT_STRING_LENGTH); in CreateServerSocket()
212 std::string peerSessionName = SESSION_NAME + remoteDevId.substr(0, INTERCEPT_STRING_LENGTH); in CreateClientSocket()
249 std::string peerSessionName = SESSION_NAME + remoteDevId.substr(0, INTERCEPT_STRING_LENGTH); in StartSession()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_message_append_test.cpp58 static const char *SESSION_NAME = "com.test.trans.auth.demo"; variable
139 (void)memcpy_s(conn->appInfo.myData.sessionName, SESSION_NAME_SIZE_MAX, SESSION_NAME, (strlen(SESSION_NAME)+1)); in TestSetSessionConn()
141 (void)memcpy_s(conn->appInfo.peerData.sessionName, SESSION_NAME_SIZE_MAX, SESSION_NAME, (strlen(SESSION_NAME)+1)); in TestSetSessionConn()
170 (void)memcpy_s(appInfo->myData.sessionName, SESSION_NAME_SIZE_MAX, SESSION_NAME, (strlen(SESSION_NAME)+1)); in TestSetAppInfo()
172 (void)memcpy_s(appInfo->peerData.sessionName, SESSION_NAME_SIZE_MAX, SESSION_NAME, (strlen(SESSION_NAME)+1)); in TestSetAppInfo()
1836 (void)memcpy_s(conn->appInfo.myData.sessionName, SESSION_NAME_SIZE_MAX, META_SESSION, (strlen(SESSION_NAME) in HWTEST_F()
[all...]
H A Dtrans_tcp_direct_p2p_mock_test.cpp49 static const char *SESSION_NAME = "com.test.trans.auth.demo"; variable
138 SESSION_NAME, (strlen(SESSION_NAME) + 1)); in TestSetSessionConn()
141 SESSION_NAME_SIZE_MAX, SESSION_NAME, (strlen(SESSION_NAME) + 1)); in TestSetSessionConn()
/foundation/CastEngine/castengine_cast_framework/service/src/device_manager/src/
H A Dconnection_manager.cpp51 constexpr char SESSION_NAME[] = "CastPlusSessionName"; member
460 auto transportId = OpenSession(SESSION_NAME, SESSION_NAME, networkId->c_str(), "", &attr); in OpenConsultSession()
463 transportId = OpenSession(SESSION_NAME, SESSION_NAME, networkId->c_str(), "", &attr); in OpenConsultSession()
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_pipeline.c32 #define SESSION_NAME "ohos.dsoftbus.inner.p2pchannel" macro
542 int32_t channelId = TransOpenNetWorkingChannel(SESSION_NAME, networkId, preferred); in OpenNetWorkingChannel()
657 ret = TransRegisterNetworkingChannelListener(SESSION_NAME, &listener); in TransProxyPipelineInit()
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/
H A Dsoftbus_hidumper_util.c46 #define SESSION_NAME "SESSION_NAME" macro
668 char* sessionName = GetStringValueByRecord(&srcRecord[i], SESSION_NAME); in OnQueryAlarm()

Completed in 14 milliseconds