summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.h
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-09-29 14:54:48 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-09-29 14:54:48 +0000
commitb37acedb7fcc4c89b191548ad0e605e33d2cc4dc (patch)
tree385f4a96a367df74fda106e9716c5ef65765dbb0 /libs/binder/RpcState.h
parenta7e51752c22427dc918281ea739f391aab35bf9f (diff)
parent43921d5d92d6e27bf1ec00de062746f032268717 (diff)
Merge changes from topic "libbinder-rpc-perf-poll"
* changes: libbinder: RPC handle builtup refcounts libbinder: RPC avoid poll libbinder: RPC simpl transactAddressInternal
Diffstat (limited to 'libs/binder/RpcState.h')
-rw-r--r--libs/binder/RpcState.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/RpcState.h b/libs/binder/RpcState.h
index 42e95e0c10..50de22bc29 100644
--- a/libs/binder/RpcState.h
+++ b/libs/binder/RpcState.h
@@ -177,7 +177,8 @@ private:
[[nodiscard]] status_t rpcSend(const sp<RpcSession::RpcConnection>& connection,
const sp<RpcSession>& session, const char* what,
- const void* data, size_t size);
+ const void* data, size_t size,
+ const std::function<status_t()>& altPoll = nullptr);
[[nodiscard]] status_t rpcRec(const sp<RpcSession::RpcConnection>& connection,
const sp<RpcSession>& session, const char* what, void* data,
size_t size);