Shorten suspend retry interval

- The original max interval is 1000ms, but for quicker suspend, the max
interval is reduced to 100ms.
- After this CL, the retry interval will be 10ms, 20ms, 40ms, 80ms,
100ms, 100ms, 100ms, ... until timeout.
- QCOM suggested to use BT framework disable event and to close BT HAL,
but this would need sizable change to bluetooth polcy. And, still we
need suspend retrial due to other components.
- But, QCOM's propsal trigger the suspend at precise timing. To leverage
timing, this CL shorten the retry interval.
- This doesn't cause additional burgen because CPU is relatively idle
just before suspend.

Bug: 181873450
Test: build okay and manual test
Change-Id: I810ba2f15b655b261314452ebb237a67b41de0db
Merged-In: I810ba2f15b655b261314452ebb237a67b41de0db
(cherry picked from commit ed0b7127ff76ab3f00fd7612852e122b6578fbfd)
1 file changed
tree: 1fab44d0f20d8b5316df4fb429dc381c022d4d80
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-internal-lib/
  4. car-lib/
  5. car-maps-placeholder/
  6. car-systemtest-lib/
  7. car-test-lib/
  8. car-usb-handler/
  9. car_product/
  10. computepipe/
  11. cpp/
  12. EncryptionRunner/
  13. evs/
  14. experimental/
  15. FrameworkPackageStubs/
  16. obd2-lib/
  17. packages/
  18. procfs-inspector/
  19. service/
  20. tests/
  21. tools/
  22. user/
  23. vehicle-hal-support-lib/
  24. watchdog/
  25. .clang-format
  26. .gitignore
  27. Android.mk
  28. CleanSpec.mk
  29. CPPLINT.cfg
  30. OWNERS
  31. PREUPLOAD.cfg
  32. README.md
  33. TEST_MAPPING
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.