IPCThreadState: Add a public method to probe is a hwbinder called is being served.

This can be useful when common code can be executed by both hwbinder and
binder threads, and, they want to access (hardware::)IPCThreadState
specific information. Eg: cameraserver.

Bug: 110364143

Test: mm -j64
Test: Boot device, use GCA

Change-Id: I8e7c6beab857d2dcb4b7d55053307634f7d830c4
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
3 files changed