Home
last modified time | relevance | path

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

/system/bt/vendor_libs/linux/interface/
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.cc40 int file_descriptor, const ReadCallback& on_read_fd_ready_callback) { in WatchFdForNonBlockingReads()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.h20 using ReadCallback = std::function<void(int)>; variable
56 …int WatchFdForNonBlockingReads(int file_descriptor, const ReadCallback& on_read_fd_ready_callback);
Dasync_manager.cc96 …int WatchFdForNonBlockingReads(int file_descriptor, const ReadCallback& on_read_fd_ready_callback)… in WatchFdForNonBlockingReads()
261 std::map<int, ReadCallback> watched_shared_fds_;
499 int AsyncManager::WatchFdForNonBlockingReads(int file_descriptor, const ReadCallback& on_read_fd_re… in WatchFdForNonBlockingReads()
/system/core/adb/
Dtransport.h112 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>; member
113 void SetReadCallback(ReadCallback callback) { in SetReadCallback()
136 ReadCallback read_callback_;