diff options
| author | 2022-03-19 02:34:57 +0000 | |
|---|---|---|
| committer | 2022-05-17 00:58:36 +0000 | |
| commit | 1975aaa532eeeea97980718cd68c4101fcdf6b97 (patch) | |
| tree | d9158b8b87d7c6288afbfe2dec1547b95b0d3dfd /libs/gui/BufferQueueThreadState.cpp | |
| parent | 97c1356a08376bd1664a0ce5be5591fe9c91c7d6 (diff) | |
libbinder: replace RpcTransport::peek() with pollRead()
peek uses MSG_PEEK internally which only works with sockets.
This refactors that function into a more specific pollRead()
which works for e.g. pipes and other files.
Bug: 224644083
Test: atest binderRpcTest
Change-Id: I340fa7ee7a7bb2077115fc28835bcadf67db03d9
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions