Add dumpsys for HardwarePropertiesManagerService

Sometimes, while debugging it is useful to get the device temperature
and also verify if the API is working right. Add dumpsys to help in all
this debugging.

Bug: 63666982
Test:
$ adb shell dumpsys hardware_properties
****** Dump of HardwarePropertiesManagerService ******
CPU temperatures: [51.100002, 49.8, 51.7, 49.8, 51.100002, 51.100002,
52.3, 52.0]
CPU throttling temperatures: [95.0, 95.0, 95.0, 95.0, 95.0, 95.0, 95.0,
95.0]
CPU shutdown temperatures: [115.0, 115.0, 115.0, 115.0, 115.0, 115.0,
115.0, 115.0]
CPU vr throttling temperatures: [95.0, 95.0, 95.0, 95.0, 95.0, 95.0,
95.0, 95.0]
GPU temperatures: [44.0]
GPU throttling temperatures: [-3.4028235E38]
GPU shutdown temperatures: [-3.4028235E38]
GPU vr throttling temperatures: [-3.4028235E38]
Battery temperatures: [29.400002]
Battery throttling temperatures: [-3.4028235E38]
Battery shutdown temperatures: [60.0]
Battery vr throttling temperatures: [-3.4028235E38]
Skin temperatures: [39.0]
Skin throttling temperatures: [49.0]
Skin shutdown temperatures: [66.0]
Skin vr throttling temperatures: [62.0]
Fan speed: []

Cpu usage of core: 0, active = 2122, total = 3883
Cpu usage of core: 1, active = 2213, total = 4172
Cpu usage of core: 2, active = 1456, total = 4108
Cpu usage of core: 3, active = 1362, total = 4129
Cpu usage of core: 4, active = 1307, total = 4159
Cpu usage of core: 5, active = 1372, total = 4166
Cpu usage of core: 6, active = 2490, total = 4160
Cpu usage of core: 7, active = 2335, total = 4150
****** End of HardwarePropertiesManagerService dump ******

Change-Id: I154e3c4734a324185c88398da12476ce67b96889
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
1 file changed