Searched refs:errcb (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanSocket.cpp | 38 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()
|
D | CanSocket.h | 44 ErrorCallback errcb); 56 CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb);
|
D | CanBus.cpp | 97 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()
|
D | CanBus.h | 42 void setErrorCallback(ErrorCallback errcb);
|