commit | 1975aaa532eeeea97980718cd68c4101fcdf6b97 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Sat Mar 19 02:34:57 2022 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Tue May 17 00:58:36 2022 +0000 |
tree | d9158b8b87d7c6288afbfe2dec1547b95b0d3dfd | |
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