commit | 134bca5913cac95f980a70f77603248fc178e0ee | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Wed Apr 01 20:13:40 2020 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Fri Apr 10 10:41:35 2020 -0700 |
tree | 408b0d4491dd83d1184c45d7ee952b1518858c7c | |
parent | a4f8149d0b202fa033f9a96ea39170e8e6129e0c [diff] |
Implemented IBase::debug() on EVS manager This function allows the users to query current status of EVS manager using lshal command. Examples: $ adb shell lshal debug android.hardware.automotive.evs@1.1::IEvsEnumerator/default --help Usage: --help: shows this help. --list [camera|display]: list camera or display devices available to EVS manager. $ adb shell lshal debug android.hardware.automotive.evs@1.1::IEvsEnumerator/default --list camera Camera devices available to EVS service: group0 /dev/video3 Camera devices currently in use: /dev/video3 Bug: 152222765 Test: Run examples above Change-Id: I0b4980561221e7fe2ba3b47cc4c01bb516a5f7bd
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.