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
54 …int WatchFdForNonBlockingReads(int file_descriptor, const ReadCallback& on_read_fd_ready_callback);
Dasync_manager.cc98 …int WatchFdForNonBlockingReads(int file_descriptor, const ReadCallback& on_read_fd_ready_callback)… in WatchFdForNonBlockingReads()
264 std::map<int, ReadCallback> watched_shared_fds_;
468 int AsyncManager::WatchFdForNonBlockingReads(int file_descriptor, const ReadCallback& on_read_fd_re… in WatchFdForNonBlockingReads()
/system/core/adb/
Dtransport.h84 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>; member
85 void SetReadCallback(ReadCallback callback) { in SetReadCallback()
106 ReadCallback read_callback_;