Home
last modified time | relevance | path

Searched refs:SocketConn (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DSocketComm.h33 class SocketConn; variable
55 std::vector<std::unique_ptr<SocketConn>> mOpenConnections;
73 SocketConn* accept();
83 class SocketConn : public CommConn {
85 SocketConn(MessageProcessor* messageProcessor, int sfd);
86 virtual ~SocketConn() = default;
DSocketComm.cpp65 for (std::unique_ptr<SocketConn> const& conn : mOpenConnections) { in sendMessage()
99 SocketConn* SocketComm::accept() { in accept()
109 return new SocketConn(mMessageProcessor, sfd); in accept()
117 SocketConn* conn = accept(); in listenThread()
125 mOpenConnections.push_back(std::unique_ptr<SocketConn>(conn)); in listenThread()
136 [](std::unique_ptr<SocketConn> const& c) { return !c->isOpen(); }); in removeClosedConnections()
139 SocketConn::SocketConn(MessageProcessor* messageProcessor, int sfd) in SocketConn() function in android::hardware::automotive::vehicle::V2_0::impl::SocketConn
176 std::vector<uint8_t> SocketConn::read() { in read()
186 void SocketConn::stop() { in stop()
193 int SocketConn::write(const std::vector<uint8_t>& data) { in write()