blob: d5a8cef697bc344472cf2f68a4caffda702a38f4 [file] [log] [blame] [view]
Sam Lin45416de2020-10-25 10:21:28 -07001# [Android Automotive](https://source.android.com/devices/automotive) Developer Tools
Sam Lin5ee1d7c2020-10-22 16:09:32 -07002
Sam Lin45416de2020-10-25 10:21:28 -07003AADevT contains tools for AA device developers to improve their productivity.
4
Sam Lina98a2642021-03-17 13:11:47 -07005* Fully unbundle from Android versions, and use the AOSP trunk based
6development model.
Heemin Seogb762d6c2021-01-12 16:52:21 -08007
8* Bridge the app ecosystem for [Android Automotive OS](https://developer.android.com/training/cars)
9because device developers are the key producers for the core apps.
10
Sam Lina98a2642021-03-17 13:11:47 -070011* Leverage [Android app developer tools](https://developer.android.com/studio/intro)
12that a few million developers use.
Sam Lin5ee1d7c2020-10-22 16:09:32 -070013
14[TOC]
15
Sam Lina98a2642021-03-17 13:11:47 -070016## Dev Tools
17This contains tools designed specifically to simplify the AA device development
18workflows.
Sam Lin45416de2020-10-25 10:21:28 -070019
Sam Lina98a2642021-03-17 13:11:47 -070020* clone_proj.sh to clone a git project for the unbundled development workflows
21in instead of the whole Android repo.
Heemin Seogb762d6c2021-01-12 16:52:21 -080022
Sam Lina98a2642021-03-17 13:11:47 -070023## Chnage Reports
24
25### sysui_oem_diff.sh
26sysui_oem_diff.sh generates a summary of code changes between 2 revisions.
27Which gives you a rough idea of changes on files and Lines of Code.
28
29* The report is especailly useful to discuss the pain points on sysui/notif
30customization with AAOS team.
Sam Linccd77122021-04-20 14:05:46 -070031* For example, to generate the change report for Android 11 to 10 QPR3: [sysui_gcar_android10-qpr3-release_android11-release.txt](dev/resource/sysui_gcar_android10-qpr3-release_android11-release.txt)
Sam Lina98a2642021-03-17 13:11:47 -070032
33```
34$ ./sysui_oem_diff.sh ~/Android/android11-release remotes/aosp/android10-qpr3-release remotes/aosp/android11-release > sysui_gcar_android10-qpr3-release_android11-release.txt
35```
Sam Lin45416de2020-10-25 10:21:28 -070036
Sam Lin5ee1d7c2020-10-22 16:09:32 -070037## System Performance Tuning
Sam Lina98a2642021-03-17 13:11:47 -070038AAOS system performance turning is hard. Here are the tools to make it a bit
39easier for the device developers.
Sam Lin5ee1d7c2020-10-22 16:09:32 -070040
41* time_to_init_disp.sh to measure an app's [Time the Initial Display](https://developer.android.com/topic/performance/vitals/launch-time#time-initial)
Sam Linccd77122021-04-20 14:05:46 -070042
43## [Android Virtual Device as a Development Platform](avd/README.md)