Add progressbar to BugReportApp.

When BugReport is initiated when dumpstate is in progress
by the BugReport app, it will show a dialog with a progress
bar and numeric value of the progress.

When dumpstate finishes, it changes the title to "bug report collected",
it doesn't close the dialog.

Bug: 134530860
Change-Id: I2e768d47b8122e3cd67e7872c5373d901cc8e3d6
Test: tested on a hawk rig - took bugreport, uploaded,
      clicked start bugreport shortcut when it's running,
      it shows a progress.
(cherry picked from commit ca85bfd52e652589f1fbf7dfecc50a6c003a0242)
8 files changed
tree: 2ddc30c98ae3d6e368aed84b708fe4cc99e0c9e2
  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.