diff options
| author | 2021-05-01 02:55:20 +0000 | |
|---|---|---|
| committer | 2021-05-03 18:17:22 +0000 | |
| commit | 7c5e6c2d4f6efc0887812bb7888a55aab3df23fa (patch) | |
| tree | 9ce4055acc2de9c677db5782d40d4dffdf64bf71 /libs/binder/ProcessState.cpp | |
| parent | 611d15fe78f51d61226382f34f03b0834a3f60ea (diff) | |
libbinder: RpcConnection: add ID
In preparation to have the server be able to distinguish clients and
clients to be able to dynamically create threads that are assigned to
them.
Future considerations:
- make ID impossible to guess (right now, one client might be able to
get ahold of a thread from a server). We may implement something here
or go for something existing like TLS.
- combine getting max threads and this? will wait until dynamic threads
are actually implemented and we know we need this ID and we're looking
at performance. For now this is a placeholder to enable dynamic client
APIs.
Bug: 185167543
Test: binderRpcTest
Change-Id: If8563c69930c23b9ca91090b4f59ef1f51073f24
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions