Add screencapture feature to bugreporting

Dumpstate does not collect screenshots of the physical displays other
than the primary one. Add logic to collect these because it is important
for Automotive use case.
Further, Android bugreports does not include screenshot of the primary
display in the bugreport (its api allows capturing it seperately). The
API in automotive combines all displays in a zip file for automotive.
Bug: 133368541
Test: Manual
Change-Id: I412fb55e2d0bd734b264014857ad80e4ec04870e
9 files changed
tree: a2db975d2bd82dab7c6b43670cf397d57a76f820
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-lib/
  4. car-maps-placeholder/
  5. car-systemtest-lib/
  6. car-test-lib/
  7. car-usb-handler/
  8. car_product/
  9. EncryptionRunner/
  10. evs/
  11. FrameworkPackageStubs/
  12. obd2-lib/
  13. procfs-inspector/
  14. service/
  15. tests/
  16. tools/
  17. user/
  18. vehicle-hal-support-lib/
  19. .clang-format
  20. .gitignore
  21. Android.mk
  22. CleanSpec.mk
  23. OWNERS
  24. PREUPLOAD.cfg
  25. README.md
README.md

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.