Searched defs:CanMessageListener (Results 1 – 5 of 5) sorted by relevance
28 struct CanMessageListener : public can::V1_0::ICanMessageListener { struct31 CanMessageListener() {} in CanMessageListener() function40 virtual ~CanMessageListener() { in ~CanMessageListener() argument46 void assignCloseHandle(sp<ICloseHandle> closeHandle) { mCloseHandle = closeHandle; } in assignCloseHandle()51 std::mutex mMessagesGuard;
37 struct CanMessageListener : public V1_0::ICanMessageListener { struct38 const std::string name;40 CanMessageListener(std::string name) : name(name) {} in CanMessageListener() function42 virtual Return<void> onReceive(const V1_0::CanMessage& message) { in onReceive()59 virtual Return<void> onError(V1_0::ErrorEvent error) { in onError()
79 struct CanMessageListener { struct80 sp<ICanMessageListener> callback;81 hidl_vec<CanMessageFilter> filter;82 wp<ICloseHandle> closeHandle;83 bool failedOnce = false;
43 struct CanMessageListener : public can::V1_0::ICanMessageListener { struct46 CanMessageListener() {} in CanMessageListener() function48 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;
34 struct CanMessageListener : public can::V1_0::ICanMessageListener { struct35 virtual Return<void> onReceive(const can::V1_0::CanMessage&) override { return {}; } in onReceive()