Implement dumpsys for BufferHubBinderService
Relanding CL ag/5073949
Now you can run "adb shell dumpsys bufferhubd" to get information from
the bufferhubd binder service. Information from BufferHubService, which
is the PDX service, will also be dumped. If the PDX service is not
present, a message will indicate that.
Note that currently the binder service has no valuable info to share, so
this command actually only return the PDX service info.
Renaming the variable name in bufferhubd.cpp is for preventing
confusion. As during migrating we will have the binder service and pdx
service at the same time, distinguishing them is necessary while both of
them are called "bufferhubd service".
Adjust some newlines to meet 80-char column limit.
Test: "adb shell dumpsys bufferhubd"
Should out put the same as command
"adb shell pdx_tool --dump /dev/socket/pdx/system/buffer_hub/client"
"atest buffer_hub-test" passed.
Change-Id: Id8c38ae03dc3523fbfc2393ac9dabcff9c932e42
Fixes: 115435506
5 files changed