Lines Matching refs:CanBus
33 Return<Result> CanBus::send(const CanMessage& message) { in send()
55 Return<void> CanBus::listen(const hidl_vec<CanMessageFilter>& filter, in listen()
85 CanBus::CanBus() {} in CanBus() function in android::hardware::automotive::can::V1_0::implementation::CanBus
87 CanBus::CanBus(const std::string& ifname) : mIfname(ifname) {} in CanBus() function in android::hardware::automotive::can::V1_0::implementation::CanBus
89 CanBus::~CanBus() { in ~CanBus()
97 void CanBus::setErrorCallback(ErrorCallback errcb) { in setErrorCallback()
104 ICanController::Result CanBus::preUp() { in preUp()
108 bool CanBus::postDown() { in postDown()
112 ICanController::Result CanBus::up() { in up()
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()
149 void CanBus::clearMsgListeners() { in clearMsgListeners()
170 void CanBus::clearErrListeners() { in clearErrListeners()
175 Return<sp<ICloseHandle>> CanBus::listenForErrors(const sp<ICanErrorListener>& listener) { in listenForErrors()
195 bool CanBus::down() { in down()
267 void CanBus::notifyErrorListeners(ErrorEvent err, bool isFatal) { in notifyErrorListeners()
300 void CanBus::onRead(const struct canfd_frame& frame, std::chrono::nanoseconds timestamp) { in onRead()
331 void CanBus::onError(int errnoVal) { in onError()