This page describes the structure and how to access the source code.
Source code access
Initialize your repo client using the android-latest-release manifest
branch:
repo init -u https://android.googlesource.com/platform/manifest -b android-latest-release
repo sync -c -j8A standard repo init command without a -g filter syncs all AAOS SDV
repositories automatically. If your workflow restricts manifest groups with
-g, pass -g default,swcar so the SDV repositories are included.
To pin a checkout to Android 17, pass
-b android17-release (or tag android-17.0.0_r1) to repo init. For more
information about setting up repo, see Download the Android source.
PDK and source
See the complete list of SDV source code here:
/system/software_defined_vehicle/platformcontains specific libraries and wrappers related to built-in development: log, trace, and time synchronization./system/software_defined_vehicle/automotive_servicescontains the Automotive-specific services: diagnostics, configuration, calibration, vehicle mode, and user profile./system/software_defined_vehicle/vsidland/system/software_defined_vehicle/middlewarecontain the VSIDL and middleware functionality./system/software_defined_vehicle/update_managercontains the Update Manager functionality./system/software_defined_vehicle/sdv_gatewaycontains the SDV Gateway for integration with IVI (in Android 17 QPR2 and higher,libsdvgatewayclientconnects directly to SDV agents without a separatesdv_gatewaydaemon)./system/software_defined_vehicle/telemetrycontains the Telemetry source code./system/software_defined_vehicle/samplescontains samples you can start with and run./device/google/sdv_display_safetycontains the build targets for display safety. The code is located in/packages/services/display_safety/and/packages/apps/Car/DriverUI.
Lunch targets
SDV lunch targets reside in /device/google/sdv and
/device/google/sdv_display_safety (aosp_cf_*_sdv_* and sdv_ivi_* in
Android 17 QPR2 and higher, or sdv_*_cf and
sdv_*_arm64 in Android 17). SDV also uses AOSP
components, including Binder. For more information about selecting and
building targets, see Download, build, and run.