commit | ce08ba8da9645c966b377614a15bf43cecd91e9d | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Wed May 06 16:25:21 2020 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Fri May 15 11:10:55 2020 -0700 |
tree | 98e4eed1db5483da0af19c8d19158bd84430c9e4 | |
parent | 594280404eb68160d56f04b4e5a12a3bcbc5d7a9 [diff] |
Add more options to collect the usage statistics This change implements more options to collect EVS camera usage statistics via LSHAL debug command. Below commands show how to use each option: $ adb shell lshal debug \ android.hardware.automotive.evs@1.1::IEvsEnumerator/default --help Usage: --help: shows this help. --list [all|camera|display]: lists camera or display devices or both available to EVS manager. --dump camera [all|device_id] --[current|collected|custom] [args] current: shows the current status collected: shows 10 most recent periodically collected camera usage statistics custom: starts/stops collecting the camera usage statistics start [interval] [duration]: starts collecting usage statistics at every [interval] during [duration]. Interval and duration are in milliseconds. stop: stops collecting usage statistics and shows collected records. --dump display: shows current status of the display Fix: 153101492 Fix: 154433452 Test: Run above examples Change-Id: I1b0de16fb1e1e1ae8360f9ac84e2bad2d3f035ce
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.