From 659416dd31d279409e813845719b894d7ac6dbf3 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 11 May 2021 00:47:50 +0000 Subject: libbinder: reverse connections When connecting to an RPC client server, you can request to serve a threadpool so that you can receive callbacks from it. Future considerations: - starting threads dynamically (likely very, very soon after this CL) - combining threadpools (as needed) Bug: 185167543 Test: binderRpcTest Change-Id: I992959e963ebc1b3da2f89fdb6c1ec625cb51af4 --- libs/binder/RpcState.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/binder/RpcState.cpp') diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp index 2cad2ae74e..2f6b1b3ac4 100644 --- a/libs/binder/RpcState.cpp +++ b/libs/binder/RpcState.cpp @@ -383,6 +383,7 @@ status_t RpcState::transactAddress(const base::unique_fd& fd, const RpcAddress& return status; if (flags & IBinder::FLAG_ONEWAY) { + LOG_RPC_DETAIL("Oneway command, so no longer waiting on %d", fd.get()); return OK; // do not wait for result } -- cgit v1.2.3-59-g8ed1b