Home
last modified time | relevance | path

Searched defs:CanMessageListener (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/
DAutomotiveCanV1_0Fuzzer.h28 struct CanMessageListener : public can::V1_0::ICanMessageListener { struct
31 CanMessageListener() {} in CanMessageListener() function
40 virtual ~CanMessageListener() { in ~CanMessageListener() argument
46 void assignCloseHandle(sp<ICloseHandle> closeHandle) { mCloseHandle = closeHandle; } in assignCloseHandle()
51 std::mutex mMessagesGuard;
/hardware/interfaces/automotive/can/1.0/tools/
Dcanhaldump.cpp37 struct CanMessageListener : public V1_0::ICanMessageListener { struct
38 const std::string name;
40 CanMessageListener(std::string name) : name(name) {} in CanMessageListener() function
42 virtual Return<void> onReceive(const V1_0::CanMessage& message) { in onReceive()
59 virtual Return<void> onError(V1_0::ErrorEvent error) { in onError()
/hardware/interfaces/automotive/can/1.0/default/
DCanBus.h79 struct CanMessageListener { struct
80 sp<ICanMessageListener> callback;
81 hidl_vec<CanMessageFilter> filter;
82 wp<ICloseHandle> closeHandle;
83 bool failedOnce = false;
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanBusVirtualV1_0TargetTest.cpp43 struct CanMessageListener : public can::V1_0::ICanMessageListener { struct
46 CanMessageListener() {} in CanMessageListener() function
48 virtual Return<void> onReceive(const can::V1_0::CanMessage& msg) override { in onReceive()
55 virtual ~CanMessageListener() { mCloseHandle->close(); } in ~CanMessageListener()
57 void assignCloseHandle(sp<ICloseHandle> closeHandle) { in assignCloseHandle()
63 std::vector<can::V1_0::CanMessage> fetchMessages(std::chrono::milliseconds timeout, in fetchMessages()
73 sp<ICloseHandle> mCloseHandle;
75 std::mutex mMessagesGuard;
DVtsHalCanBusV1_0TargetTest.cpp34 struct CanMessageListener : public can::V1_0::ICanMessageListener { struct
35 virtual Return<void> onReceive(const can::V1_0::CanMessage&) override { return {}; } in onReceive()