Home
last modified time | relevance | path

Searched refs:SoftbusSession (Results 1 - 25 of 26) sorted by relevance

12

/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_session.cpp29 SoftbusSession::SoftbusSession(int32_t sessionId, std::string peerDeviceId) : sessionId_(sessionId), cid_(peerDeviceId) in SoftbusSession() function in OHOS::Storage::DistributedFile::SoftbusSession
39 LOGE("SoftbusSession flags:%{public}d", flags); in SoftbusSession()
62 bool SoftbusSession::IsFromServer() const in IsFromServer()
67 string SoftbusSession::GetCid() const in GetCid()
72 int32_t SoftbusSession::GetHandle() const in GetHandle()
77 int SoftbusSession::GetSessionId() const in GetSessionId()
82 array<char, KEY_SIZE_MAX> SoftbusSession::GetKey() const in GetKey()
87 void SoftbusSession::Release() const in Release()
93 void SoftbusSession
[all...]
H A Dsoftbus_agent.cpp284 auto session = make_shared<SoftbusSession>(sessionId, peerDeviceId); in OnSessionOpened()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/
H A Dsoftbus_session.cpp37 SoftbusSession::SoftbusSession(const std::string &peerDeviceId, const std::string &sessionName, DataType type) in SoftbusSession() function in OHOS::FileManagement::CloudSync::SoftbusSession
42 int32_t SoftbusSession::Start() in Start()
71 int32_t SoftbusSession::Stop() in Stop()
80 int32_t SoftbusSession::SendData(const void *data, uint32_t dataLen) in SendData()
85 int32_t SoftbusSession::SendFile(const std::vector<std::string> &sFileList, const std::vector<std::string> &dFileList) in SendFile()
90 int32_t SoftbusSession::GetSessionId() in GetSessionId()
95 SoftbusSession::DataType SoftbusSession::GetDataType() in GetDataType()
100 std::string SoftbusSession
[all...]
H A Dsession_manager.cpp80 auto sendSession = CreateSession(SoftbusSession::DataType::TYPE_BYTES, peerNetworkId); in SendData()
91 auto sendSession = CreateSession(SoftbusSession::DataType::TYPE_FILE, peerNetworkId); in SendFile()
98 std::shared_ptr<SoftbusSession> SessionManager::CreateSession(SoftbusSession::DataType type, in CreateSession()
113 auto sendSession = make_shared<SoftbusSession>(peerDeviceId, SESSION_NAME.c_str(), type); in CreateSession()
129 void SessionManager::ReleaseSession(SoftbusSession::DataType type, const std::string &peerDeviceId) in ReleaseSession()
177 std::shared_ptr<SoftbusSession> SessionManager::GetSendSession(SoftbusSession::DataType type, in GetSendSession()
189 void SessionManager::CacheSendSession(std::shared_ptr<SoftbusSession> session) in CacheSendSession()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_session.cpp28 std::shared_ptr<ISoftbusSessionCallback> SoftbusSession::sessionCallback_ = nullptr;
35 SoftbusSession::OnSessionClosed(socket); in OnShutdown()
41 SoftbusSession::OnBytesReceived(socket, data, dataLen); in OnBytes()
57 SoftbusSession::SoftbusSession() in SoftbusSession() function in OHOS::DistributedHardware::SoftbusSession
59 LOGD("SoftbusSession constructor."); in SoftbusSession()
61 LOGE("SoftbusSession::SoftbusSession memset_s failed."); in SoftbusSession()
75 SoftbusSession::~SoftbusSession() in ~SoftbusSession()
[all...]
H A Dsoftbus_connector.cpp73 softbusSession_ = std::make_shared<SoftbusSession>(); in SoftbusConnector()
287 std::shared_ptr<SoftbusSession> SoftbusConnector::GetSoftbusSession() in GetSoftbusSession()
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_session.cpp41 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>();
59 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F()
75 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F()
92 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F()
113 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F()
135 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F()
143 * @tc.desc: set SoftbusSession to make a new pointer, and it not nullptr
149 std::shared_ptr<SoftbusSession> m_SoftbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F()
[all...]
/foundation/multimedia/av_session/services/session/server/softbus/
H A Dsoftbus_session.cpp23 void SoftbusSession::OnConnectSession(int32_t sessionId) in OnConnectSession()
33 void SoftbusSession::OnDisConnectSession(int32_t sessionId) in OnDisConnectSession()
42 void SoftbusSession::SendByteToAll(const std::string &data) in SendByteToAll()
52 void SoftbusSession::SendByte(const std::string &deviceId, const std::string &data) in SendByte()
62 void SoftbusSession::SendByte(int32_t sessionId, const std::string &data) in SendByte()
68 void SoftbusSession::SendMessage(const std::string &deviceId, const std::string &data) in SendMessage()
78 void SoftbusSession::SendMessage(int32_t sessionId, const std::string &data) in SendMessage()
H A Dsoftbus_session.h24 class SoftbusSession { class
35 virtual ~SoftbusSession() = default;
H A Dsoftbus_session_server.h22 class SoftbusSessionServer : public SoftbusSession {
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/transport/softbus/
H A Dsession_manager.h46 void ReleaseSession(SoftbusSession::DataType type, const std::string &peerDeviceId);
63 std::shared_ptr<SoftbusSession> CreateSession(SoftbusSession::DataType type, const std::string &peerDeviceId);
64 std::shared_ptr<SoftbusSession> GetSendSession(SoftbusSession::DataType type, const std::string &peerDeviceId);
65 void CacheSendSession(std::shared_ptr<SoftbusSession> session);
72 std::vector<std::shared_ptr<SoftbusSession>> sendSessionVec_;
H A Dsoftbus_session.h25 class SoftbusSession { class
31 SoftbusSession(const std::string &peerDeviceId, const std::string &sessionName, DataType type);
32 virtual ~SoftbusSession() = default;
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/
H A Dsoftbus_session.h30 class SoftbusSession final : public BaseSession {
32 explicit SoftbusSession(int32_t sessionId, std::string peerDeviceId);
33 ~SoftbusSession() = default;
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/
H A Dsoftbus_session.h32 class SoftbusSession { class
39 SoftbusSession();
40 ~SoftbusSession();
43 * @tc.name: SoftbusSession::RegisterSessionCallback
50 * @tc.name: SoftbusSession::UnRegisterSessionCallback
57 * @tc.name: SoftbusSession::OpenAuthSession
64 * @tc.name: SoftbusSession::CloseAuthSession
71 * @tc.name: SoftbusSession::SendData
78 * @tc.name: SoftbusSession::GetPeerDeviceId
H A Dsoftbus_connector.h134 std::shared_ptr<SoftbusSession> GetSoftbusSession();
171 std::shared_ptr<SoftbusSession> softbusSession_;
/foundation/distributedhardware/device_manager/test/softbusfuzztest/onbytesreceived_fuzzer/
H A Don_bytes_received_fuzzer.cpp62 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in OnBytesReceivedFuzzTest()
/foundation/distributedhardware/device_manager/test/softbusfuzztest/onsessionopened_fuzzer/
H A Don_session_opened_fuzzer.cpp69 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in OnSessionOpenedFuzzTest()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/
H A Dsession_pool_test.cpp217 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in HWTEST_F()
245 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID, "testNetWork"); in HWTEST_F()
310 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in HWTEST_F()
315 auto session2 = make_shared<SoftbusSession>(TEST_SESSION_ID_TWO, peerDeviceId2); in HWTEST_F()
382 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in HWTEST_F()
429 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in HWTEST_F()
490 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in HWTEST_F()
585 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in HWTEST_F()
588 auto session2 = make_shared<SoftbusSession>(TEST_SESSION_ID, ""); in HWTEST_F()
591 auto session3 = make_shared<SoftbusSession>(TEST_SESSION_I in HWTEST_F()
[all...]
H A Dkernel_talker_test.cpp78 std::shared_ptr<SoftbusSession> session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in HWTEST_F()
H A Dnetwork_agent_template_test.cpp274 auto session = make_shared<SoftbusSession>(TEST_SESSION_ID); in HWTEST_F()
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussessionobject_fuzzer/
H A Dsoftbus_session_object_fuzzer.cpp71 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in SoftBusSessionFuzzTest()
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussession_fuzzer/
H A Dsoftbus_session_fuzzer.cpp66 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in SoftBusSessionFuzzTest()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/
H A Dsoftbus_session_test.cpp31 std::shared_ptr<SoftbusSession> g_session;
45 g_session = make_shared<SoftbusSession>(TEST_SESSION_ID, peerDeviceId); in SetUpTestCase()
H A Dsoftbus_agent_test.cpp512 auto session = make_shared<SoftbusSession>(testSessionId, peerDeviceId); in HWTEST_F()
/foundation/distributedhardware/device_manager/services/implementation/src/
H A Ddevice_manager_service_impl.cpp336 return SoftbusSession::OnSessionOpened(sessionId, result); in OnSessionOpened()
341 SoftbusSession::OnSessionClosed(sessionId); in OnSessionClosed()
346 SoftbusSession::OnBytesReceived(sessionId, data, dataLen); in OnBytesReceived()

Completed in 12 milliseconds

12