summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.h
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-06-10 19:38:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-06-10 19:38:18 +0000
commit936fc19aa0ca565dc0903c577658676ad76575b7 (patch)
tree5ae9c7539061131561288ed094d17ec86310aa64 /libs/binder/RpcState.h
parente27baffb9afc9399aab7116fe795d3d35df7b19e (diff)
parent195edb85d1fddd888a1ea23ea48c61e0b384be15 (diff)
Merge changes Id38049ed,I13bc9126,I9fbc7594
* changes: libbinder: handle ExclusiveSocket failure libbinder: RPC know when connections setup libbinder: RPC process oneway w/ 'tail call'
Diffstat (limited to 'libs/binder/RpcState.h')
-rw-r--r--libs/binder/RpcState.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/binder/RpcState.h b/libs/binder/RpcState.h
index 13c31154eb..5bfef69c32 100644
--- a/libs/binder/RpcState.h
+++ b/libs/binder/RpcState.h
@@ -51,6 +51,9 @@ public:
RpcState();
~RpcState();
+ status_t sendConnectionInit(const base::unique_fd& fd, const sp<RpcSession>& session);
+ status_t readConnectionInit(const base::unique_fd& fd, const sp<RpcSession>& session);
+
// TODO(b/182940634): combine some special transactions into one "getServerInfo" call?
sp<IBinder> getRootObject(const base::unique_fd& fd, const sp<RpcSession>& session);
status_t getMaxThreads(const base::unique_fd& fd, const sp<RpcSession>& session,
@@ -144,8 +147,7 @@ private:
const RpcWireHeader& command);
[[nodiscard]] status_t processTransactInternal(const base::unique_fd& fd,
const sp<RpcSession>& session,
- CommandData transactionData,
- sp<IBinder>&& targetRef);
+ CommandData transactionData);
[[nodiscard]] status_t processDecStrong(const base::unique_fd& fd,
const sp<RpcSession>& session,
const RpcWireHeader& command);