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()
102 SocketConn* SocketComm::accept() { in accept()
112 return new SocketConn(mMessageProcessor, sfd); in accept()
120 SocketConn* conn = accept(); in listenThread()
128 mOpenConnections.push_back(std::unique_ptr<SocketConn>(conn)); in listenThread()
139 [](std::unique_ptr<SocketConn> const& c) { return !c->isOpen(); }); in removeClosedConnections()
142 SocketConn::SocketConn(MessageProcessor* messageProcessor, int sfd) in SocketConn() function in android::hardware::automotive::vehicle::V2_0::impl::SocketConn
179 std::vector<uint8_t> SocketConn::read() { in read()
189 void SocketConn::stop() { in stop()
196 int SocketConn::write(const std::vector<uint8_t>& data) { in write()