summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorKarthik Ravi Shankar <karthikrs@google.com>2017-07-13 10:34:00 -0700
committerKarthik Ravi Shankar <karthikrs@google.com>2017-07-20 11:45:33 -0700
commitc59f0b3388274ecc6c4d2c3b6efe4096ab70898b (patch)
treeb9af677713557836edf171a91ed46edc1dcd135a /tools/aapt2/diff/Diff.cpp
parent29119b6f5f497f9ea23662eca752a15f62768e3e (diff)
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>
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions