Home
last modified time | relevance | path

Searched refs:ReadCallback (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/automotive/can/1.0/default/
DCanSocket.h31 using ReadCallback = std::function<void(const struct canfd_frame&, std::chrono::nanoseconds)>; member
42 static std::unique_ptr<CanSocket> open(const std::string& ifname, ReadCallback rdcb,
55 CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb);
58 ReadCallback mReadCallback;
DCanSocket.cpp37 std::unique_ptr<CanSocket> CanSocket::open(const std::string& ifname, ReadCallback rdcb, in open()
49 CanSocket::CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb) in CanSocket()
DCanBus.cpp137 CanSocket::ReadCallback rdcb = std::bind(&CanBus::onRead, this, _1, _2); in up()
/hardware/interfaces/bluetooth/1.0/default/
Dasync_fd_watcher.h28 using ReadCallback = std::function<void(int)>; variable
37 const ReadCallback& on_read_fd_ready_callback);
56 std::map<int, ReadCallback> watched_fds_;
Dasync_fd_watcher.cc43 int file_descriptor, const ReadCallback& on_read_fd_ready_callback) { in WatchFdForNonBlockingReads()