commit | c1d643360a5a43d6b61e5bc8b3cffe5c9772cb56 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Mon Mar 07 23:08:17 2022 +0000 |
committer | Yu Shan <shanyu@google.com> | Tue Mar 08 01:55:06 2022 +0000 |
tree | 1a2be6f8db0026f9cfd684dcc8a11ce3f35184e1 | |
parent | c250f318c7e30d211ccfdefc7ffb2e73dd978422 [diff] |
Fail early for api_test if car service crash. If car service crash during api test, it would likely cause some other tests down the way, e.g. wait for an event that never arrived which eventually time out. This CL fails early if car service crash and should help debugging api_test failures. Test: atest AndroidCarApiTest Bug: 221910481 Change-Id: Id5513f2c5bca6e4f37e0d69dbf776dc5568c96d9
Source code for Android Automotive OS.
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
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.