Home
last modified time | relevance | path

Searched refs:errcb (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/can/1.0/default/
DCanSocket.cpp38 ErrorCallback errcb) { in open() argument
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() argument
51 mErrorCallback(errcb), in CanSocket()
DCanSocket.h44 ErrorCallback errcb);
56 CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb);
DCanBus.cpp97 void CanBus::setErrorCallback(ErrorCallback errcb) { in setErrorCallback() argument
100 mErrCb = errcb; in setErrorCallback()
138 CanSocket::ErrorCallback errcb = std::bind(&CanBus::onError, this, _1); in up() local
139 mSocket = CanSocket::open(mIfname, rdcb, errcb); in up()
340 const auto errcb = mErrCb; in onError() local
341 if (errcb != nullptr) errcb(); in onError()
DCanBus.h42 void setErrorCallback(ErrorCallback errcb);