Searched refs:ReadCallback (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanSocket.h | 31 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;
|
D | CanSocket.cpp | 37 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()
|
D | CanBus.cpp | 137 CanSocket::ReadCallback rdcb = std::bind(&CanBus::onRead, this, _1, _2); in up()
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | async_fd_watcher.h | 28 using ReadCallback = std::function<void(int)>; variable 37 const ReadCallback& on_read_fd_ready_callback); 56 std::map<int, ReadCallback> watched_fds_;
|
D | async_fd_watcher.cc | 43 int file_descriptor, const ReadCallback& on_read_fd_ready_callback) { in WatchFdForNonBlockingReads()
|