Clone this repo:
  1. fb0d35c Merge "Fix linkToDeath leak in sendPowerManagerEvent" by Treehugger Robot · 4 days ago main master
  2. d9c478f Fix linkToDeath leak in sendPowerManagerEvent by tetsuya_shimodaira · 6 days ago
  3. 41804a4 Use Java version 1.8 for android.car stubs by Wonil Kim · 3 weeks ago
  4. 20b4ffc Removed obsolete audio effects config by Oscar Azucena · 5 weeks ago
  5. 35e9ffa Make OWNERS up-to-date in p/s/C by Eric Jeong · 4 weeks ago

AAOS

Source code for Android Automotive OS.

Structure

car_product/           - AAOS product
car-builtin-lib/       - A helper library for CarService to access hidden
                         framework APIs
car-lib/               - Car API
car-lib-module/        - Car API module
cpp/                   - Native services
experimental/          - Experimental Car API and services
packages/              - Apps and services for cars
service/               - Car service module
service-builint        - Platform builtin component that runs CarService module
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.