1<!-- 2 Copyright (C) 2021 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License 15 --> 16 17# AAOS 18 19Source code for [Android Automotive OS](https://source.android.com/devices/automotive). 20 21## Structure 22 23``` 24car_product/ - AAOS product 25car-builtin-lib/ - A helper library for CarService to access hidden 26 framework APIs 27car-lib/ - Car API 28car-lib-module/ - Car API module 29cpp/ - Native services 30experimental/ - Experimental Car API and services 31packages/ - Apps and services for cars 32service/ - Car service module 33service-builint - Platform builtin component that runs CarService module 34tests/ - Tests and sample apps 35tools/ - Helper scripts 36``` 37 38## C++ 39 40Native (C++) code format is required to be compatible with .clang-format file. The formatter is 41already integrated to `repo` tool. To run manually, use: 42 43``` 44git clang-format --style=file --extension='h,cpp,cc' HEAD~ 45``` 46 47Note that clang-format is *not* desirable for Android java files. Therefore 48the command line above is limited to specific extensions. 49