Replaces Bundle usage in ScriptExecutor with PersistableBundle.

This is a manual cherry-pick of changes originally done in sc-v2-dev.

The change is driven by the need to control complexity of the data we
transfer from Publishers to Scripts and back to CarTelemetryService and
end users. Due to limited set of supported types of values
PersistableBundle is a better match for this project.

Bug: 197270605
Test: atest ScriptExecutorUnitTest:ScriptExecutorTest
Change-Id: Ib2cd44b69ca4545a2e0c4838486d0bf10b53b30b
(cherry picked from commit dafdd22b9fb71ef3f11e45a3fa09dba403bcf632)
20 files changed
tree: 3e7b96095ac293b0ce75c34fb9ff3d2663b3b2c5
  1. car-admin-ui-lib/
  2. car-builtin-lib/
  3. car-lib/
  4. car-lib-module/
  5. car-maps-placeholder/
  6. car-test-lib/
  7. car-usb-handler/
  8. car_product/
  9. cpp/
  10. data/
  11. experimental/
  12. FrameworkPackageStubs/
  13. obd2-lib/
  14. packages/
  15. procfs-inspector/
  16. service/
  17. service-builtin/
  18. tests/
  19. tools/
  20. vehicle-hal-support-lib/
  21. .clang-format
  22. .gitignore
  23. Android.mk
  24. CleanSpec.mk
  25. CPPLINT.cfg
  26. OWNERS
  27. PREUPLOAD.cfg
  28. README.md
  29. TEST_MAPPING
README.md

AAOS

Source code for Android Automotive OS.

Structure

car_product/           - AAOS product
car-lib/               - Car API
cpp/                   - Native services
experimental/          - Experimental Car API and services
service/               - Car service
tests/                 - Tests and sample apps
tools/                 - Helper scripts

C++

Native (C++) code format is required to be compatible with .clang-format file. The formatter is already integrated to repo tool. To run manually, use:

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.