Home
last modified time | relevance | path

Searched refs:SessionPool (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/
H A Dsession_pool_test.cpp135 shared_ptr<SessionPool> pool = make_shared<SessionPool>(kernelTalker); in HWTEST_F()
161 shared_ptr<SessionPool> pool = make_shared<SessionPool>(kernelTalker); in HWTEST_F()
191 shared_ptr<SessionPool> pool = make_shared<SessionPool>(kernelTalker); in HWTEST_F()
221 shared_ptr<SessionPool> pool = make_shared<SessionPool>(kernelTalker); in HWTEST_F()
249 shared_ptr<SessionPool> pool = make_shared<SessionPool>(kernelTalke in HWTEST_F()
[all...]
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dsession_pool.cpp30 void SessionPool::OccupySession(int32_t sessionId, uint8_t linkType) in OccupySession()
36 bool SessionPool::FindSession(int32_t sessionId) in FindSession()
47 void SessionPool::HoldSession(shared_ptr<BaseSession> session, const std::string backStage) in HoldSession()
58 uint8_t SessionPool::ReleaseSession(const int32_t fd) in ReleaseSession()
97 void SessionPool::ReleaseSession(const string &cid, const uint8_t linkType) in ReleaseSession()
121 void SessionPool::ReleaseAllSession() in ReleaseAllSession()
131 void SessionPool::AddSessionToPool(shared_ptr<BaseSession> session) in AddSessionToPool()
137 bool SessionPool::DeviceDisconnectCountOnly(const string &cid, const uint8_t linkType, bool needErase) in DeviceDisconnectCountOnly()
171 bool SessionPool::DeviceConnectCountOnly(std::shared_ptr<BaseSession> session) in DeviceConnectCountOnly()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/
H A Dsession_pool.h31 class SessionPool final : protected NoCopyable {
33 explicit SessionPool(std::shared_ptr<KernelTalker> &talker) : talker_(talker) {} in SessionPool() function in OHOS::Storage::DistributedFile::final
34 ~SessionPool() = default;
H A Dnetwork_agent_template.h95 SessionPool sessionPool_;

Completed in 3 milliseconds