Home
last modified time | relevance | path

Searched defs:sessionName (Results 1 – 25 of 197) sorted by relevance

12345678

/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/distributed_file_daemon/
H A Dtrans_mananger_test.cpp59 string sessionName; variable
69 string sessionName; variable
79 string sessionName; variable
88 string sessionName; variable
105 string sessionName; variable
115 string sessionName; variable
125 string sessionName; variable
134 string sessionName; variable
143 string sessionName; variable
154 string sessionName; variable
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_network.c28 char sessionName[SESSION_NAME_SIZE_MAX]; member
34 static INetworkingListenerEntry *FindListenerEntry(const char *sessionName) in FindListenerEntry()
45 const char *sessionName, int32_t channelId, const AppInfo *appInfo, unsigned char isServer) in NotifyNetworkingChannelOpened()
61 void NotifyNetworkingChannelOpenFailed(const char *sessionName, int32_t channelId, const char *netw… in NotifyNetworkingChannelOpenFailed()
71 void NotifyNetworkingChannelClosed(const char *sessionName, int32_t channelId) in NotifyNetworkingChannelClosed()
81 void NotifyNetworkingMsgReceived(const char *sessionName, int32_t channelId, const char *data, uint… in NotifyNetworkingMsgReceived()
90 int TransRegisterNetworkingChannelListener(const char *sessionName, const INetworkingListener *list… in TransRegisterNetworkingChannelListener()
H A Dsoftbus_proxychannel_callback.c32 int32_t TransProxyOnChannelOpened(const char *pkgName, int32_t pid, const char *sessionName, in TransProxyOnChannelOpened()
60 int32_t TransProxyGetPkgName(const char *sessionName, char *pkgName, uint16_t len) in TransProxyGetPkgName()
65 int32_t TransProxyGetUidAndPidBySessionName(const char *sessionName, int32_t *uid, int32_t *pid) in TransProxyGetUidAndPidBySessionName()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/
H A Dclient_trans_file_virtual.c28 int32_t TransSetFileReceiveListener(const char *sessionName, in TransSetFileReceiveListener()
37 int32_t TransSetFileSendListener(const char *sessionName, const IFileSendListener *sendListener) in TransSetFileSendListener()
44 int32_t TransGetFileListener(const char *sessionName, FileListener *fileListener) in TransGetFileListener()
51 void TransDeleteFileListener(const char *sessionName) in TransDeleteFileListener()
61 int32_t TransOnFileChannelOpened(const char *sessionName, const ChannelInfo *channel, int32_t *file… in TransOnFileChannelOpened()
H A Dclient_trans_file_listener.c64 int32_t TransSetFileReceiveListener(const char *sessionName, in TransSetFileReceiveListener()
117 int32_t TransSetFileSendListener(const char *sessionName, const IFileSendListener *sendListener) in TransSetFileSendListener()
166 static int32_t TransAddNewSocketFileListener(const char *sessionName, SocketFileCallbackFunc fileCa… in TransAddNewSocketFileListener()
192 int32_t TransSetSocketFileListener(const char *sessionName, SocketFileCallbackFunc fileCallback, bo… in TransSetSocketFileListener()
241 int32_t TransGetFileListener(const char *sessionName, FileListener *fileListener) in TransGetFileListener()
268 void TransDeleteFileListener(const char *sessionName) in TransDeleteFileListener()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dtrans_mananger.cpp29 void TransManager::NotifyFileProgress(const std::string &sessionName, uint64_t total, uint64_t proc… in NotifyFileProgress()
44 void TransManager::NotifyFileFailed(const std::string &sessionName, int32_t errorCode) in NotifyFileFailed()
59 void TransManager::NotifyFileFinished(const std::string &sessionName) in NotifyFileFinished()
74 void TransManager::AddTransTask(const std::string &sessionName, const sptr<IFileTransListener> &lis… in AddTransTask()
85 void TransManager::DeleteTransTask(const std::string &sessionName) in DeleteTransTask()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_file_receive_listener.cpp97 std::string sessionName = ""; in GetLocalSessionName() local
111 std::string sessionName = GetLocalSessionName(sessionId); in OnReceiveFileProcess() local
122 std::string sessionName = GetLocalSessionName(sessionId); in OnReceiveFileFinished() local
139 std::string sessionName = GetLocalSessionName(sessionId); in OnFileTransError() local
152 std::string sessionName = GetLocalSessionName(sessionId); in OnReceiveFileReport() local
163 std::string sessionName = GetLocalSessionName(sessionId); in OnReceiveFileShutdown() local
H A Dsoftbus_session_pool.cpp33 std::string sessionName = std::string(SESSION_NAME_PREFIX) + std::to_string(i); in GenerateSessionName() local
43 void SoftBusSessionPool::AddSessionInfo(const std::string &sessionName, const SessionInfo &sessionI… in AddSessionInfo()
49 void SoftBusSessionPool::DeleteSessionInfo(const std::string &sessionName) in DeleteSessionInfo()
55 bool SoftBusSessionPool::GetSessionInfo(const std::string &sessionName, SessionInfo &sessionInfo) in GetSessionInfo()
H A Dsoftbus_file_send_listener.cpp56 std::string sessionName = ""; in GetLocalSessionName() local
70 std::string sessionName = GetLocalSessionName(sessionId); in OnSendFileFinished() local
81 std::string sessionName = GetLocalSessionName(sessionId); in OnFileTransError() local
97 std::string sessionName = GetLocalSessionName(sessionId); in OnSendFileShutdown() local
H A Dsoftbus_handler.cpp98 std::string sessionName = ""; in GetSessionName() local
139 …SoftBusHandler::CreateSessionServer(const std::string &packageName, const std::string &sessionName, in CreateSessionServer()
244 const std::string &sessionName, in CopySendFile()
286 void SoftBusHandler::ChangeOwnerIfNeeded(int32_t sessionId, const std::string sessionName) in ChangeOwnerIfNeeded()
303 void SoftBusHandler::CloseSession(int32_t sessionId, const std::string sessionName) in CloseSession()
335 void SoftBusHandler::CloseSessionWithSessionName(const std::string sessionName) in CloseSessionWithSessionName()
394 bool SoftBusHandler::IsService(std::string &sessionName) in IsService()
409 std::string sessionName = GetSessionName(socketId); in CopyOnStop() local
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
H A Dtrans_channel_limit.c28 const char *sessionName; member
76 bool CheckSessionNameValidOnAuthChannel(const char *sessionName) in CheckSessionNameValidOnAuthChannel()
97 bool IsNoPkgNameSession(const char *sessionName) in IsNoPkgNameSession()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Ddcamera_softbus_adapter_test.cpp71 std::string sessionName = "sourcetest01"; variable
89 std::string sessionName = "sourcetest02"; variable
108 std::string sessionName = "sourcetest03"; variable
129 std::string sessionName = "sourcetest04"; variable
151 std::string sessionName = "sourcetest03"; variable
176 std::string sessionName = "sourcetest03"; variable
216 std::string sessionName = "sourcetest03"; variable
247 std::string sessionName = "sourcetest03"; variable
278 std::string sessionName = "sourcetest03"; variable
311 std::string sessionName = "sourcetest03"; variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/security/permission/common/unittest/
H A Dpermission_entry_test.cpp58 const char *sessionName = ""; variable
88 char sessionName[NUM] = "ABC"; variable
124 const char sessionName[NUM] = ""; variable
172 const char sessionName[NUM] = "bbb"; variable
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/
H A Dsoftbus_handler_test.cpp121 std::string sessionName = "testSession"; variable
160 std::string sessionName = "testSession"; variable
186 std::string sessionName = "testSession"; variable
225 std::string sessionName = "testSession"; variable
284 string sessionName = handler.GetSessionName(sessionId); variable
384 string sessionName = "sessionName"; variable
427 string sessionName = "sessionName"; variable
447 string sessionName = "sessionName"; variable
/ohos5.0/foundation/distributedhardware/distributed_screen/services/softbusadapter/test/unittest/src/
H A Dsoftbus_adapter_test.cpp92 std::string sessionName = DATA_SESSION_NAME; variable
133 std::string sessionName = DATA_SESSION_NAME; variable
150 std::string sessionName = DATA_SESSION_NAME; variable
167 std::string sessionName = DATA_SESSION_NAME; variable
184 std::string sessionName = DATA_SESSION_NAME; variable
203 std::string sessionName = DATA_SESSION_NAME; variable
222 std::string sessionName = DATA_SESSION_NAME; variable
237 std::string sessionName = DATA_SESSION_NAME; variable
254 std::string sessionName = ""; variable
271 std::string sessionName = DATA_SESSION_NAME; variable
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/
H A Dsoftbus_adapter.cpp39 int32_t SoftbusAdapter::CreateSessionServer(const char *packageName, const char *sessionName) in CreateSessionServer()
79 int32_t SoftbusAdapter::RemoveSessionServer(const char *packageName, const char *sessionName) in RemoveSessionServer()
96 string sessionName = info.name; in OnBind() local
116 string sessionName = SoftbusAdapter::GetInstance().GetSessionNameFromMap(socket); in OnShutdown() local
135 string sessionName = SoftbusAdapter::GetInstance().GetSessionNameFromMap(socket); in OnBytes() local
171 string sessionName = SoftbusAdapter::GetInstance().GetSessionNameFromMap(sessionId); in OnReceiveFileFinished() local
204 int SoftbusAdapter::OpenSession(char *sessionName, in OpenSession()
245 int SoftbusAdapter::OpenSessionByP2P(char *sessionName, in OpenSessionByP2P()
327 void SoftbusAdapter::UnRegisterSessionListener(std::string sessionName) in UnRegisterSessionListener()
333 std::shared_ptr<ISoftbusListener> SoftbusAdapter::GetListener(std::string sessionName) in GetListener()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/ipc/mini/
H A Dtrans_server_proxy.c35 int32_t ServerIpcCreateSessionServer(const char *pkgName, const char *sessionName) in ServerIpcCreateSessionServer()
40 int32_t ServerIpcRemoveSessionServer(const char *pkgName, const char *sessionName) in ServerIpcRemoveSessionServer()
50 int32_t ServerIpcOpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) in ServerIpcOpenAuthSession()
68 int32_t ServerIpcCloseChannel(const char *sessionName, int32_t channelId, int32_t channelType) in ServerIpcCloseChannel()
103 int32_t ServerIpcGrantPermission(int uid, int pid, const char *sessionName) in ServerIpcGrantPermission()
111 int32_t ServerIpcRemovePermission(const char *sessionName) in ServerIpcRemovePermission()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/permission/
H A Dtrans_dynamic_permission_test.cpp128 …std::string sessionName = "DBinder" + std::to_string(g_permUid) + std::string("_") + std::to_strin… variable
178 …std::string sessionName = "DBinder" + std::to_string(g_permUid) + std::string("_") + std::to_strin… variable
193 …std::string sessionName = "DBinder" + std::to_string(g_permUid) + std::string("_") + std::to_strin… variable
215 …std::string sessionName = "DBinder" + std::to_string(g_permUid) + std::string("_") + std::to_strin… variable
/ohos5.0/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/softbusadapter_fuzzer/
H A Dsoftbusadapter_fuzzer.cpp28 std::string sessionName = "sourcetest02"; in SoftbusCreatSoftBusSinkSocketServerFuzzTest() local
43 std::string sessionName = "sourcetest013"; in SoftbusCreateSoftBusSourceSocketClientFuzzTest() local
60 std::string sessionName = "sourcetest02"; in SoftbusDestroySoftbusSessionServerFuzzTest() local
76 std::string sessionName = "sourcetest04"; in SoftbusCloseSoftbusSessionFuzzTest() local
94 std::string sessionName = "sourcetest03"; in SoftbusSendSofbusStreamFuzzTest() local
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_lane_manager.c36 char sessionName[SESSION_NAME_SIZE_MAX]; member
375 static SocketWithChannelInfo *GetSocketWithChannelInfoBySession(const char *sessionName, int32_t se… in GetSocketWithChannelInfoBySession()
387 static void AnonymizeLogSessionNameWhenNotFound(const char *sessionName, int32_t sessionId) in AnonymizeLogSessionNameWhenNotFound()
397const char *sessionName, int32_t sessionId, int32_t channelId, int32_t channelType, CoreSessionSta… in TransAddSocketChannelInfo()
452 static int32_t CheckParamIsValid(const char *sessionName, int32_t sessionId) in CheckParamIsValid()
466 const char *sessionName, int32_t sessionId, int32_t channelId, int32_t channelType) in TransUpdateSocketChannelInfoBySession()
493 const char *sessionName, int32_t sessionId, uint32_t laneHandle, bool isQosLane, bool isAsync) in TransUpdateSocketChannelLaneInfoBySession()
520 int32_t TransDeleteSocketChannelInfoBySession(const char *sessionName, int32_t sessionId) in TransDeleteSocketChannelInfoBySession()
614 int32_t TransSetSocketChannelStateBySession(const char *sessionName, int32_t sessionId, CoreSession… in TransSetSocketChannelStateBySession()
697const char *sessionName, int32_t sessionId, uint32_t *laneHandle, bool *isQosLane, bool *isAsync) in TransGetSocketChannelLaneInfoBySession()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/frame/small/init/src/
H A Dtrans_server_stub.c46 const char *sessionName = (const char *)ReadString(req, &size); in ServerCreateSessionServer() local
76 const char *sessionName = (const char *)ReadString(req, &size); in ServerRemoveSessionServer() local
93 static int32_t CheckOpenSessionPremission(const char *sessionName, const char *peerSessionName) in CheckOpenSessionPremission()
262 const char *sessionName = (const char*)ReadString(req, &size); in ServerOpenAuthSession() local
293 char sessionName[SESSION_NAME_SIZE_MAX]; in ServerNotifyAuthSuccess() local
322 const char *sessionName = NULL; in ServerCloseChannel() local
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_callback.c34 int32_t TransTdcOnChannelOpened(const char *pkgName, int32_t pid, const char *sessionName, in TransTdcOnChannelOpened()
56 int32_t TransTdcGetPkgName(const char *sessionName, char *pkgName, uint16_t len) in TransTdcGetPkgName()
61 int32_t TransTdcGetUidAndPid(const char *sessionName, int32_t *uid, int32_t *pid) in TransTdcGetUidAndPid()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Ddbinder_callback_stub.cpp100 std::string sessionName = samgr->GetSessionNameForPidUid(uid, pid); in ProcessProto() local
109 int32_t DBinderCallbackStub::ProcessData(int uid, int pid, const std::string &sessionName, MessageP… in ProcessData()
207 int DBinderCallbackStub::AddDBinderCommAuth(pid_t pid, uid_t uid, const std::string &sessionName) in AddDBinderCommAuth()
239 int DBinderCallbackStub::SaveDBinderData(const std::string &sessionName) in SaveDBinderData()
287 std::string sessionName = samgr->GetSessionNameForPidUid(uid, pid); in GetAndSaveDBinderData() local
/ohos5.0/foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/small/
H A Dipc_stub_inner.c38 const char *sessionName, const char *deviceID) in MakeStubCached()
81 const char *sessionName = (const char*)ReadString(data, &sessionNameLen); in InvokerDataBusThread() local
143 char *sessionName = GetDataBusName(); in GetPidAndUidInfoStub() local
177 char *sessionName = (char *)malloc(sessionNameLen + 1); in GrantDataBusNameStub() local
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_callback_test.cpp39 static int32_t TransServerOnChannelOpened(const char *pkgName, int32_t pid, const char *sessionName, in TransServerOnChannelOpened()
68 int32_t TransGetPkgNameBySessionName(const char *sessionName, char *pkgName, uint16_t len) in TransGetPkgNameBySessionName()
73 int32_t TransGetUidAndPid(const char *sessionName, int32_t *uid, int32_t *pid) in TransGetUidAndPid()
125 const char *sessionName = TEST_SESSION_NAME; variable
188 const char *sessionName = TEST_SESSION_NAME; variable
206 const char *sessionName = TEST_SESSION_NAME; variable

12345678