Searched refs:CanSocket (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanSocket.cpp | 37 std::unique_ptr<CanSocket> CanSocket::open(const std::string& ifname, ReadCallback rdcb, in open() 46 return std::unique_ptr<CanSocket>(new CanSocket(std::move(sock), rdcb, errcb)); in open() 49 CanSocket::CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb) in CanSocket() function in android::hardware::automotive::can::V1_0::implementation::CanSocket 53 mReaderThread(&CanSocket::readerThread, this) {} in CanSocket() 55 CanSocket::~CanSocket() { in ~CanSocket() 67 bool CanSocket::send(const struct canfd_frame& frame) { in send() 95 void CanSocket::readerThread() { in readerThread()
|
D | CanSocket.h | 30 struct CanSocket { struct 42 static std::unique_ptr<CanSocket> open(const std::string& ifname, ReadCallback rdcb, argument 44 virtual ~CanSocket(); 55 CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb); 66 DISALLOW_COPY_AND_ASSIGN(CanSocket); argument
|
D | CanBus.h | 98 std::unique_ptr<CanSocket> mSocket;
|
D | CanBus.cpp | 137 CanSocket::ReadCallback rdcb = std::bind(&CanBus::onRead, this, _1, _2); in up() 138 CanSocket::ErrorCallback errcb = std::bind(&CanBus::onError, this, _1); in up() 139 mSocket = CanSocket::open(mIfname, rdcb, errcb); in up()
|
D | Android.bp | 54 "CanSocket.cpp",
|