Bug: 170945099

Clone this repo:
  1. 466333d Prototype app bundle release update & test am: 29e43ec7a6 am: 2d31dd9171 am: f28a9f6f0c am: a54d0dad23 by Sam Lin · 1 year, 4 months ago android13-dev android13-frc-adbd-release android13-frc-art-release android13-frc-cellbroadcast-release android13-frc-conscrypt-release android13-mainline-adservices-release android13-mainline-appsearch-release android13-mainline-go-adbd-release android13-mainline-go-adservices-release android13-mainline-go-appsearch-release android13-mainline-go-media-swcodec-release android13-mainline-go-mediaprovider-release android13-mainline-go-networking-release android13-mainline-go-neuralnetworks-release android13-mainline-go-odp-release android13-mainline-go-os-statsd-release android13-mainline-go-permission-release android13-mainline-go-resolv-release android13-mainline-go-scheduling-release android13-mainline-go-sdkext-release android13-mainline-go-tethering-release android13-mainline-go-tzdata4-release android13-mainline-go-uwb-release android13-mainline-go-wifi-release android13-mainline-tzdata4-release android13-mainline-uwb-release main-16k master aml_ads_331131000 aml_ase_331011020 aml_go_adb_330913000 aml_go_ads_330913000 aml_go_ase_330913000 aml_go_mpr_330912000 aml_go_net_330913000 aml_go_neu_330912000 aml_go_odp_330912000 aml_go_per_330912000 aml_go_res_330912000 aml_go_sch_330911000 aml_go_sdk_330810000 aml_go_sta_330911000 aml_go_swc_330913000 aml_go_tet_330914010 aml_go_tz4_330912000 aml_go_uwb_330912000 aml_go_wif_330911000 aml_tz4_331012000 aml_tz4_331012040 aml_tz4_331012050 aml_uwb_330810010 aml_uwb_331015040 t_frc_adb_330444000 t_frc_art_330443060 t_frc_ase_330444010 t_frc_cbr_330443000 t_frc_con_330443020
  2. a54d0da Prototype app bundle release update & test am: 29e43ec7a6 am: 2d31dd9171 am: f28a9f6f0c by Sam Lin · 1 year, 4 months ago
  3. f28a9f6 Prototype app bundle release update & test am: 29e43ec7a6 am: 2d31dd9171 by Sam Lin · 1 year, 4 months ago android-s-qpr3-beta-1 android-s-v2-beta-3 android-s-v2-preview-1 android-t-preview-1 android-s-qpr3-beta-1 android-s-v2-beta-2 android-s-v2-beta-3 android-s-v2-preview-1 android-s-v2-preview-2 android-t-beta-3 android-t-preview-1 android-t-preview-2
  4. 2d31dd9 Prototype app bundle release update & test am: 29e43ec7a6 by Sam Lin · 1 year, 4 months ago
  5. 29e43ec Prototype app bundle release update & test by Sam Lin · 1 year, 4 months ago android-s-beta-5 android-s-beta-5

Android Automotive Developer Tools

AADevT contains tools for AA device developers to improve their productivity.

  • Fully unbundle from Android versions, and use the AOSP trunk based development model.

  • Bridge the app ecosystem for Android Automotive OS because device developers are the key producers for the core apps.

  • Leverage Android app developer tools that a few million developers use.

Dev Tools

This contains tools designed specifically to simplify the AA device development workflows.

  • clone_proj.sh to clone a git project for the unbundled development workflows in instead of the whole Android repo.

Change Reports

change_report.py

change_report.py creates a diff statistic CSV file from 2 versions of a codebase. This is useful when the git commit history is somehow not obtainable. What you need is to get 2 versions of a codebase downloaded on your disk first.

  • You can compare specific folders of concern for a quick result, or when there is a code patch change.
  • This skips all symlinks & ignores common repository metadata folders, e.g. .git, etc.
  • It can take a long time & generates a large CSV file for the whole Android codebase & especially if they are many changes. For example:
    • Android 11 QPR1 vs QPR2 takes more than 8 min. & generates a 5MB CSV file.
    • Android 10 QPR3 vs Android 11 QPR2 takes more than 11 min. & generates a 95MB CSV file.
  • To reduce time, you should always remove out, the build output folder first.
  • For example, to compare Android 11 QPR1 vs QPR2 AOSP codebases on your disk.
python3 change_report.py --old_dir ~/android/android11-qpr1-release \
  --new_dir ~/android/android11-qpr2-release \
  --csv_file ~/change_reports/change_report_android11-qpr1-release_android11-qpr2-release.csv
  • An output example: change_report-new_vs_old_codebase.csv is the change report between dev/resource/old_codebase and new_codebase.
  • The states are:
    • SAME = 0
    • NEW = 1
    • REMOVED = 2
    • MODIFIED = 3
    • INCOMPARABLE = 4

sysui_oem_diff.sh

sysui_oem_diff.sh generates a summary of code changes between 2 revisions. Which gives you a rough idea of changes on files and Lines of Code.

./sysui_oem_diff.sh ~/Android/android11-release remotes/aosp/android10-qpr3-release remotes/aosp/android11-release > sysui_gcar_android10-qpr3-release_android11-release.txt

System Performance Tuning

AAOS system performance turning is hard. Here are the tools to make it a bit easier for the device developers.

Android Virtual Device as a Development Platform