Refactor ICarOccupantZone using List

- List<> is allowed in aidl.
- getAllOccupantZones method will return List<OccupantZoneInfo> instead
of OccupantZoneInfo[].

Bug: 145702850
Test: Build and run unit test.
Change-Id: Ibb751b3954891087a881ac8fcd3b576d6178dcb6
3 files changed
tree: 5314c907c2db4afb0973a9263403d54269b347ed
  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. computepipe/
  10. EncryptionRunner/
  11. evs/
  12. experimental/
  13. FrameworkPackageStubs/
  14. obd2-lib/
  15. procfs-inspector/
  16. service/
  17. tests/
  18. tools/
  19. user/
  20. vehicle-hal-support-lib/
  21. .clang-format
  22. .gitignore
  23. Android.mk
  24. CleanSpec.mk
  25. OWNERS
  26. PREUPLOAD.cfg
  27. 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.