Home
last modified time | relevance | path

Searched refs:VtpStreamSocket (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dvtp_stream_socket.cpp73 std::map<int32_t, std::shared_ptr<VtpStreamSocket>> VtpStreamSocket::g_streamSocketMap;
98 void VtpStreamSocket::AddStreamSocketListener(int32_t fd, std::shared_ptr<VtpStreamSocket> streamre… in AddStreamSocketListener()
140 VtpStreamSocket::VtpStreamSocket() in VtpStreamSocket() function in Communication::SoftBus::VtpStreamSocket
142 InsertElementToFuncMap(TOS, INT_TYPE, &VtpStreamSocket::SetIpTos, &VtpStreamSocket::GetIpTos); in VtpStreamSocket()
152 …InsertElementToFuncMap(NON_BLOCK, BOOL_TYPE, &VtpStreamSocket::SetNonBlockMode, &VtpStreamSocket::… in VtpStreamSocket()
186 VtpStreamSocket::~VtpStreamSocket() in ~VtpStreamSocket()
191 std::shared_ptr<VtpStreamSocket> VtpStreamSocket::GetSelf() in GetSelf()
366 void VtpStreamSocket::FillpAppStatistics() in FillpAppStatistics()
905 bool VtpStreamSocket::Accept() in Accept()
1056 int32_t VtpStreamSocket::RecvStreamLen() in RecvStreamLen()
[all …]
H A Dvtp_stream_socket.h47 class VtpStreamSocket : public std::enable_shared_from_this<VtpStreamSocket>, public IStreamSocket {
53 VtpStreamSocket();
54 ~VtpStreamSocket() override;
55 std::shared_ptr<VtpStreamSocket> GetSelf();
84 using MySetFunc = bool (VtpStreamSocket::*)(int32_t, const StreamAttr &);
85 using MyGetFunc = StreamAttr (VtpStreamSocket::*)(int32_t) const;
179 … static void AddStreamSocketListener(int32_t fd, std::shared_ptr<VtpStreamSocket> streamreceiver);
205 static std::map<int32_t, std::shared_ptr<VtpStreamSocket>> g_streamSocketMap;
H A Dstream_manager.cpp36 return VtpStreamSocket::InitVtpInstance(pkgName); in PrepareEnvironment()
41 VtpStreamSocket::DestroyVtpInstance(pkgName); in DestroyEnvironment()
53 streamSocket = std::make_shared<VtpStreamSocket>(); in CreateStreamClientChannel()
83 streamSocket = std::make_shared<VtpStreamSocket>(); in CreateStreamServerChannel()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/vtp_stream_socket_test/
H A Dvtp_stream_socket_test.cpp83 std::make_shared<Communication::SoftBus::VtpStreamSocket>();
108 std::make_shared<Communication::SoftBus::VtpStreamSocket>();
151 std::make_shared<Communication::SoftBus::VtpStreamSocket>();
195 std::make_shared<Communication::SoftBus::VtpStreamSocket>();
223 std::make_shared<Communication::SoftBus::VtpStreamSocket>();
230 Communication::SoftBus::VtpStreamSocket::OptionFunc fun = {
256 std::make_shared<Communication::SoftBus::VtpStreamSocket>();
277 Communication::SoftBus::VtpStreamSocket::OptionFunc fun = {
638 std::shared_ptr<VtpStreamSocket> streamreceiver;
1142 VtpStreamSocket::RemoveStreamSocketLock(1); // test find case
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/vtpstreamsocket_fuzzer/
H A Dvtpstreamsocket_fuzzer.cpp26 Communication::SoftBus::VtpStreamSocket vtpStreamSocket;