Add a command line option for the test mode

In the test mode, EVS reference application assumes that current gear is
located in the reverse position and simulates corresponding behaviors.
This change implements a command line option to allow the users to set
this gear signal to configure the test mode operations.

To run the test mode with the park gear signal, the user can use below
command:
> adb shell evs_app --test --gear park

When this parameter is not given or set as reverse, EVS reference
application behaves the same as before.

Also, this change optimizes parameters in config.json for Osprey.

Fix: 163641719
Test: Run above examples
Change-Id: I4f801ad035083b4a016b7f9b4f80e2c09003d6d1
Merged-In: I4f801ad035083b4a016b7f9b4f80e2c09003d6d1
(cherry picked from commit 7d6029f77ec7b8316eee0b8d94ca6860903b6643)
4 files changed
tree: 7973e1bc814eea80da18d38c9830aa3cc8f0a285
  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. EncryptionRunner/
  12. evs/
  13. experimental/
  14. FrameworkPackageStubs/
  15. obd2-lib/
  16. packages/
  17. procfs-inspector/
  18. service/
  19. surround_view/
  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.