Android 17 AAOS SDV requirements

This page defines the AAOS SDV requirements.

Conventions

The use of "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document follows the IETF standard RFC 2119. Where "STRONGLY RECOMMENDED" is used, it indicates a strong recommendation that might become a requirement in a future release.

Requirements can apply to specific versions of Android. Using Android 17 as an example, automotive devices running Android 17 refer to devices that might have been launched with Android 17 or upgraded to Android 17.

Requirement IDs

Each requirement is prefixed with a unique identifier in the format [<PRODUCT_ID>-<DOMAIN_ID>-<NUMBER>] (for example, [SDV-CORE-10102]):

  • <PRODUCT_ID>: The product identifier (for this document, SDV).
  • <DOMAIN_ID>: The identifier of the domain that owns the requirement (for example, CORE for SDV Core, MEDIA for SDV Media, or DIAG for Diagnostics).
  • <NUMBER>: A unique numeric identifier assigned to the requirement within its domain.

Requirement IDs remain stable across versions so compliance tests and documentation can reference them reliably; if a requirement is deprecated, its ID is retired rather than reused.

SDV Core

This section defines requirements for the SDV Core domain.

System requirements

The requirements in this section apply to all SDV Core system implementations, whether running directly on hardware (bare metal) or in a virtualized environment. References to the Android Compatibility Definition Document (CDD) apply to the respective Android platform release.

Memory

  • [SDV-CORE-10102] A system with minimal service bundles MUST provide a minimum of 1 GB of memory.
  • [SDV-CORE-10103] 2 GB of memory per SDV Core instance is RECOMMENDED.

CPU

  • [SDV-CORE-10201] The CPU MUST use a 64-bit architecture (ARMv8-A or higher, or x86-64).
  • [SDV-CORE-10202] The CPU MUST provide a minimum performance of 2.3 DMIPS/MHz.
  • [SDV-CORE-10203] A CPU performance of 7 DMIPS/MHz is RECOMMENDED.

Kernel and partition boundaries

  • [SDV-CORE-10301] The system MUST use an unmodified Generic Kernel Image (GKI) (boot partition).
  • [SDV-CORE-10302] The system MUST use a GKI kernel version (android15-6.6 or higher) that is supported for the respective Android platform release in the Android common kernels compatibility matrix.
  • [SDV-CORE-10303] Device implementations MUST NOT modify /system, /system_ext, or /product partitions (or override system or product APEX packages from /vendor), ensuring generic SDV system images and APEX packages remain independent of hardware-specific or hypervisor-specific integrations.
  • [SDV-CORE-10304] All SoC-specific or hypervisor-specific kernel drivers MUST be delivered as GKI-compliant loadable kernel modules (vendor_boot or vendor_dlkm), exposing storage through standard Linux block devices (/dev/block/*), networking through standard Linux network interfaces (netdev), hardware entropy through the Linux RNG subsystem (/dev/urandom), and debug serial output through standard Linux console or TTY interfaces.

Storage

  • [SDV-CORE-10401] The system MUST provide at least 3 GB of file storage capacity.
  • [SDV-CORE-10402] The device MUST encrypt application private data:
    • Data storage encryption MUST be enabled by default.
    • MUST meet the preceding data storage encryption requirement by implementing one of the following two encryption methods:
  • [SDV-CORE-10403] The device MUST support the respective Android CDD Section 9.12, Data Deletion.

Power management, boot, and shutdown

  • [SDV-CORE-10501] System support for suspend-to-RAM and suspend-to-disk is STRONGLY RECOMMENDED.
  • [SDV-CORE-10502] The system MUST react to wake signals from the platform or host system.
  • [SDV-CORE-20602] The platform (or host system in a virtualized environment) MUST initiate wake from sleep (RAM or disk) upon vehicle wake events.
  • [SDV-CORE-20701] The platform (or host system in a virtualized environment) SHOULD be designed for fast boot times to meet automotive usability requirements (for example, rear-view camera availability), starting the SDV OS or guest VM within 500 ms of power-on.
  • [SDV-CORE-20702] The platform (or host system in a virtualized environment) MUST enable a clean shutdown of SDV OS instances upon ignition-off events.

Security

  • [SDV-CORE-10601] The system MUST adopt the respective Android CDD Section 9.7, Security Features.
  • [SDV-CORE-10602] The system MUST support the OpenDICE chain, using the SDV Profile for DICE, an extension to the Android Profile for DICE.
  • [SDV-CORE-10603] KeyMint v3 or higher MUST be supported.
  • [SDV-CORE-10604] IRemotelyProvisionedComponent HAL v3 MUST be supported.
  • [SDV-CORE-10605] A nondegenerate DICE chain is STRONGLY RECOMMENDED.

Binary interface

  • [SDV-CORE-10701] The system MUST be compatible with one or more defined Android NDK ABIs.
  • [SDV-CORE-10702] The system MUST report a subset of the following list of ABIs and MUST NOT report any ABI not on the list:
  • [SDV-CORE-10703] The system MUST make all the following libraries, providing native APIs, available to apps that include native code:
    • libc (C library)
    • libdl (dynamic linker)
    • libicui18n.so
    • libicuuc.so
    • liblog (Android logging)
    • libm (math library)
    • libstdc++ (minimal support for C++)
    • libz (Zlib compression)

Networking

  • [SDV-CORE-10801] The system MUST support IPv4, IPv6, 802.1Q VLANs, TCP, and UDP over standard Linux Ethernet network interfaces.
  • [SDV-CORE-20101] The device MUST support at least one Ethernet connection (physical, or virtual or mapped in a virtualized environment).

  • Condition: If multiple OS instances run on the same device:

    • [SDV-CORE-10804] Cross-instance communication (guest to host and guest to guest) MUST be supported using vsock or Ethernet.
  • Condition: If the system runs in a virtualized environment:

    • [SDV-CORE-10802] Supporting vsock (AF_VSOCK over virtio-vsock) for guest-to-host communication is STRONGLY RECOMMENDED.
    • [SDV-CORE-10803] Supporting vsock (AF_VSOCK over virtio-vsock) for guest-to-guest communication is STRONGLY RECOMMENDED.

UID and process isolation

  • [SDV-CORE-10901] Device implementations MUST support the Android application sandbox model, in which each application runs as a unique Unix-style UID and in a separate process.
  • [SDV-CORE-10902] Device implementations MUST support running multiple applications as the same Linux user ID, provided that the applications are properly signed and constructed, as defined in Android CDD Section 9.1, Permissions.
  • [SDV-CORE-10903] Device implementations MUST support the Android file access permissions model as defined in Android CDD Section 9.1, Permissions.

Updatable software

  • [SDV-CORE-11001] The system MUST adopt the respective Android CDD Section 11, Updatable Software.
  • [SDV-CORE-20401] All updatable OS and platform components (including the bootloader or host system, if present) MUST be updatable over the air (OTA), and the update mechanism MUST be resilient against power loss.

Virtualization and host system

All system requirements (including security with OpenDICE and networking) apply to both bare-metal and virtualized deployments. The following additional requirements apply to the host system and the hypervisor environment.

If the system runs in a virtualized environment, apply the requirements in the following sections.

Connectivity

  • [SDV-CORE-20102] The host system MUST provide a virtual Ethernet device to each guest, or map an existing Ethernet device to it.
  • [SDV-CORE-20204] The host system MUST enable guest-to-host and guest-to-guest communication using vsock or Ethernet.

Virtualization

  • [SDV-CORE-20201] Using VirtIO over a VirtIO transport (for example, virtio-pci or virtio-mmio) to implement virtual devices is STRONGLY RECOMMENDED.
  • [SDV-CORE-20202] Supporting the following VirtIO devices is STRONGLY RECOMMENDED:
    • virtio-blk: For virtual block devices (storage)
    • virtio-console: For virtual serial console
    • virtio-net: For virtual network interfaces
    • virtio-rng: For a virtual hardware random number generator
    • virtio-vsock: For host-to-guest and guest-to-guest communication
  • [SDV-CORE-20203] Supporting vsock for guest-to-host and guest-to-guest communication is STRONGLY RECOMMENDED.

Time synchronization

  • [SDV-CORE-20301] The host system SHOULD provide a stable and consistent time source to all guest VMs to provide consistency between VMs, which aids in debugging and traceability.
  • [SDV-CORE-20302] Using virtio-rtc to expose host time to guests is STRONGLY RECOMMENDED.

Security

  • [SDV-CORE-20501] The host system MUST support the OpenDICE chain, using the SDV Profile for DICE, which is an extension to the Android Profile for DICE.
  • [SDV-CORE-20502] The host system MUST provide secure isolation of the KeyMint keys between different guests.

Power modes

  • [SDV-CORE-20601] The host system SHOULD support suspend-to-RAM.

CPU

  • [SDV-CORE-20801] The host system MUST support executing 64-bit guest VMs (ARMv8-A or higher, or x86-64).

  • Condition: If the system runs in a virtualized environment:

    • [SDV-CORE-20802] The host CPU MUST support hardware virtualization extensions.

SDV Media

This section defines requirements for the SDV Media domain.

System requirements

In addition to all SDV Core requirements, the requirements in this section apply to all SDV Media system implementations, whether running directly on hardware (bare metal) or in a virtualized environment.

Memory

  • [SDV-MEDIA-30101] The system MUST provide a minimum of 2 GB of memory per SDV Media instance.

Application binary interfaces

  • [SDV-MEDIA-30201] Device implementations MUST be compatible with one or more defined Android NDK ABIs.
  • [SDV-MEDIA-30203] Device implementations MUST be source-compatible (for example, header-compatible) and binary-compatible (for the ABI) with each required library in the following list.
  • [SDV-MEDIA-30204] Device implementations MUST make all the following libraries, providing native APIs, available to SDV applications:
    • libc (C library)
    • libdl (dynamic linker)
    • libdrm.so (Direct Rendering Manager userspace library)
    • libgbm.so (Generic Buffer Management)
    • libEGL.so (native OpenGL surface management)
    • libGLESv1_CM.so (OpenGL ES 1.x)
    • libGLESv2.so (OpenGL ES 2.0)
    • libGLESv3.so (OpenGL ES 3.x)
    • liblog (Android logging)
    • libtinyalsav2.so (audio recording and playback)
    • libvulkan.so (Vulkan)
  • [SDV-MEDIA-30205] Device implementations MUST NOT add or remove the public functions for the native libraries listed earlier.
  • [SDV-MEDIA-30206] Device implementations MUST export all the OpenGL ES 3.1 and Android Extension Pack function symbols, as defined in the NDK, through the libGLESv3.so library.
  • [SDV-MEDIA-30207] Device implementations MUST export the core Vulkan 1.1 function symbols, as well as the VK_KHR_surface, VK_KHR_swapchain, VK_KHR_maintenance1, and VK_KHR_get_physical_device_properties2 extensions through the libvulkan.so library.
  • [SDV-MEDIA-30208] Device implementations SHOULD be built using the source code and header files available in the upstream Android Open Source Project.
  • [SDV-MEDIA-30210] Device implementations MUST provide hardware-specific or hypervisor-specific implementations strictly through GKI-compliant vendor kernel modules (vendor_boot or vendor_dlkm) and /vendor backends for the standard Linux kernel and userspace APIs (without introducing Android HALs), and MUST NOT modify /system, /system_ext, or /product partitions or override system or product APEX packages from /vendor.

  • Condition: If multiple OS instances or VM images run on the same device:

    • [SDV-MEDIA-30202] All OS instances on the same device MUST use the same Android NDK ABI.

Graphics and display

  • [SDV-MEDIA-30303] Device implementations MUST expose display pipelines through the standard Linux DRM/KMS kernel interface (/dev/dri/card*, /dev/dri/renderD*) supporting atomic mode setting through libdrm.so.
  • [SDV-MEDIA-30304] Device implementations MUST support buffer allocation and zero-copy dma-buf file descriptor import and export through libgbm.so across DRM/KMS, EGL/OpenGL ES, Vulkan, and Video4Linux.

  • Condition: If the system runs in a virtualized environment:

    • [SDV-MEDIA-30301] Using virtio-gpu for hardware-accelerated graphics and display is STRONGLY RECOMMENDED.
  • Condition: If the system runs in a virtualized environment and uses virtio-gpu:

    • [SDV-MEDIA-30302] Using gfxstream as the virtio-gpu rendering mode is STRONGLY RECOMMENDED.

Input

  • [SDV-MEDIA-30209] Device implementations MUST expose input devices through the standard Linux input subsystem (evdev, /dev/input/event*).
  • [SDV-MEDIA-40202] Device implementations SHOULD support pointer, button, and rotary controller inputs.

  • Condition: If the system runs in a virtualized environment:

    • [SDV-MEDIA-30701] Using virtio-input for input device access is STRONGLY RECOMMENDED.

OpenGL ES

  • [SDV-MEDIA-30401] Device implementations MUST correctly identify the supported OpenGL ES versions (1.1, 2.0, 3.0, 3.1, 3.2) through the native APIs.
  • [SDV-MEDIA-30402] Device implementations MUST include the support for all the corresponding native APIs for every OpenGL ES versions they identified to support.
  • [SDV-MEDIA-30403] Device implementations MUST support both OpenGL ES 1.1 and 2.0.
  • [SDV-MEDIA-30404] Device implementations are STRONGLY RECOMMENDED to support OpenGL ES 3.1.
  • [SDV-MEDIA-30405] Device implementations SHOULD support OpenGL ES 3.2.
  • [SDV-MEDIA-30406] Device implementations MUST report using the OpenGL ES managed APIs and native APIs any other OpenGL ES extensions they have implemented, and conversely MUST NOT report extension strings that they don't support.
  • [SDV-MEDIA-30407] Device implementations MUST support the following extensions:
    • EGL_EXT_image_dma_buf_import
    • EGL_EXT_image_dma_buf_import_modifiers
    • EGL_KHR_fence_sync
    • EGL_KHR_image_base
    • EGL_KHR_wait_sync
    • GL_OES_EGL_image
  • [SDV-MEDIA-30408] Device implementations are STRONGLY RECOMMENDED to implement OpenGL ES using ANGLE library with Vulkan backend.

Vulkan

  • [SDV-MEDIA-30501] Device implementations are STRONGLY RECOMMENDED to include support for Vulkan 1.3.
  • [SDV-MEDIA-30502] Device implementations MUST NOT support a Vulkan variant version (that is, the variant part of the Vulkan core version MUST be zero).
  • [SDV-MEDIA-30503] Device implementations MUST support the following extensions:
    • VK_ANDROID_external_memory_android_hardware_buffer
    • VK_EXT_external_memory_dma_buf
    • VK_EXT_queue_family_foreign
    • VK_KHR_external_memory_fd
    • VK_KHR_external_semaphore_fd

Multimedia compatibility

  • [SDV-MEDIA-30601] Device implementations MUST allow playback of raw audio content with the following characteristics:
    • Source formats: Linear PCM, 16-bit, 8-bit, float
    • Channels: Mono, Stereo, valid multichannel configurations with up to 8 channels
    • Sampling rates (in Hz): 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000 at the channel configurations listed earlier
    • Sampling rates (in Hz): 96000 in mono and stereo
  • [SDV-MEDIA-30602] Device implementations MUST allow capture of raw audio content. At a minimum, the following characteristics MUST be supported:
    • Format: Linear PCM, 16-bit
    • Sampling rates: 8000, 11025, 16000, 44100, 48000 Hz
    • Channels: Mono
  • [SDV-MEDIA-30603] Device implementations SHOULD allow capture of raw audio content with the following characteristics:
    • Format: Linear PCM, 16-bit and 24-bit
    • Sampling rates: 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000 Hz
    • Channels: As many channels as the number of microphones on the device
  • [SDV-MEDIA-30604] Device implementations MUST provide support for audio playback and capture through the libtinyalsav2.so API backed by standard Linux ALSA API kernel interfaces (/dev/snd/*).
  • [SDV-MEDIA-30605] Video encoders and decoders MUST support at least one of a planar or semiplanar YUV420 8:8:8 color format.
  • [SDV-MEDIA-30606] Video decoders and encoders MUST support H.264 AVC codec.
  • [SDV-MEDIA-30607] Device implementations MUST support H.264 Main Profile Level 3.1 and Baseline Profile.
  • [SDV-MEDIA-30608] Support for arbitrary slice ordering (ASO), flexible macroblock ordering (FMO), and redundant slices (RS) is OPTIONAL.
  • [SDV-MEDIA-30609] Video encoders MUST support the standard definition (SD) profiles and SHOULD support the high definition (HD) profiles as indicated in the following table:

    SD (low quality) SD (high quality) HD 720p HD 1080p
    Video resolution 320 x 240 px 720 x 480 px 1280 x 720 px 1920 x 1080 px
    Video frame rate 20 fps 30 fps 30 fps 30 fps
    Video bitrate 384 Kbps 2 Mbps 4 Mbps 10 Mbps
  • [SDV-MEDIA-30610] Video decoders MUST support the HD 720p and HD 1080p video decoding profiles as indicated in the following table. (Note: SD profiles are included for reference).

    SD (low quality) SD (high quality) HD 720p HD 1080p
    Video resolution 320 x 240 px 720 x 480 px 1280 x 720 px 1920 x 1080 px
    Video frame rate 30 fps 30 fps 60 fps 30 fps
    Video bitrate 800 Kbps 2 Mbps 8 Mbps 20 Mbps
  • [SDV-MEDIA-30611] Device implementations MUST provide support for media codecs through standard Linux Video4Linux (V4L2) kernel device nodes (/dev/video*) supporting pollable kernel file descriptors and MMAP and DMABUF buffer modes (userspace file-descriptor interception shims MUST NOT be used).

  • [SDV-MEDIA-30612] Device implementations MUST provide access to hardware video decoders and encoders through standard V4L2 kernel device nodes (/dev/video*) supporting pollable kernel file descriptors and MMAP and DMABUF buffer modes (userspace file-descriptor interception shims MUST NOT be used).

  • [SDV-MEDIA-30613] All hardware-accelerated video and image encoders MUST support encoding frames from the hardware cameras.

  • [SDV-MEDIA-30615] Device implementations MUST provide access to video cameras through standard V4L2 kernel device nodes (/dev/video*) supporting pollable kernel file descriptors and MMAP and DMABUF buffer modes (userspace file-descriptor interception shims MUST NOT be used).

  • Condition: If the system runs in a virtualized environment:

    • [SDV-MEDIA-30614] Providing hardware access for video encoding, decoding, and cameras through virtio-media is STRONGLY RECOMMENDED.
    • [SDV-MEDIA-30616] Using virtio-sound for audio hardware access is STRONGLY RECOMMENDED.

Virtualization and host system

The following requirements apply to the host system and the hypervisor environment.

If the system runs in a virtualized environment, apply the requirements in the following sections.

Virtualization

  • [SDV-MEDIA-40101] In addition to the VirtIO devices recommended by the core profile, providing the following VirtIO devices on the host system is STRONGLY RECOMMENDED:
    • virtio-gpu: For virtual GPU and display
    • virtio-input: For forwarding input events (for example, touch, keyboard)
    • virtio-sound: For virtual audio devices
    • virtio-media: For virtual video codec and camera devices

Input

  • [SDV-MEDIA-40201] Forwarding input events from the host system to guest systems using virtio-input is STRONGLY RECOMMENDED.

Diagnostics

This section defines requirements for the Diagnostics domain.

Diagnostics Manager capabilities

This section describes requirements for the partner-implemented Diagnostics Manager agent. The key objective of the following requirements is to ensure that Diagnostics Manager implementations correctly integrate with the SDV Diagnostics API.

  • [SDV-DIAG-1] It's RECOMMENDED for the Diagnostics Manager agent to offload diagnostics functionality to service bundles using the SDV Diagnostics API defined in system/software_defined_vehicle/automotive_services/diagnostics/vsidl/v1 to benefit from the portability and updatability of service bundles.
  • [SDV-DIAG-2] The Diagnostics Manager MUST run a diagnostics over IP (DoIP) server listening on the loopback interface of the SDV OS instance on port 13400 to enable Unified Diagnostics Services (UDS) communication.
  • [SDV-DIAG-3] The Diagnostics Manager MUST implement the UDS ReadDataByIdentifier (0x22) and WriteDataByIdentifier (0x2E) services for a range of data identifiers (DIDs) reserved for compliance testing. The Google-reserved DID range spans 16 identifiers from 0xF0F0 up to and including 0xF0FF by default. To avoid collisions with existing DID mappings, the start of the reserved range can be configured using the GOOGLE_RESERVED_RANGE_START option during compliance testing.
  • [SDV-DIAG-4] The Diagnostics Manager MUST invoke the compliance testing service bundle (com.android.sdv.compliance.diagnostics.DiagnosticsProvider), which implements the DataItemService interface defined in the SDV Diagnostics API, to process ReadDataByIdentifier and WriteDataByIdentifier requests in the Google-reserved DID range. The following interaction flow MUST be implemented:
    • ReadDataByIdentifier: MUST trigger a ReadDataItem RPC call to the compliance bundle and return a positive response containing the retrieved payload.
    • WriteDataByIdentifier: MUST trigger a WriteDataItem RPC call to the compliance bundle (forwarding the request payload) and return a positive response upon completion. UDS DIDs MUST be mapped to their corresponding DataItemName when invoking ReadDataItem or WriteDataItem calls. The following mapping logic MUST be applied:
    • GOOGLE_RESERVED_RANGE_START -> reserved_0
    • GOOGLE_RESERVED_RANGE_START + 1 -> reserved_1
    • GOOGLE_RESERVED_RANGE_START + 2 -> reserved_2
    • All other DIDs in the reserved range -> default
  • [SDV-DIAG-5] Both ReadDataByIdentifier and WriteDataByIdentifier requests for DIDs that map to the default DataItemName MUST yield a negative response with an NRC of 0x10 GeneralReject.

ConCal

This section defines requirements for the ConCal domain.

ConCal service capabilities

This section describes requirements for the Configuration & Calibration (ConCal) service. The ConCal service allows registering configurations and applying overrides in a transactional manner. Note: The following requirements only target the Configuration subsystem. Calibration capabilities aren't in scope for Android 17 compliance.

Configuration registration

Requirements related to registering configurations and their metadata.

  • [SDV-CONCAL-50101] The ConCal service MUST implement the ConCalRegistrationService interface defined in the VSIDL catalog for ConCal at system/software_defined_vehicle/automotive_services/concal/catalog/concal_registration_service.proto.
  • [SDV-CONCAL-50102] The ConCal service MUST allow service bundles to register configuration metadata using RegisterConfigMetadata.
  • [SDV-CONCAL-50103] Configuration registration MUST be idempotent. Registering the exact same configuration metadata (same configuration ID, version, and content) multiple times MUST succeed.
  • [SDV-CONCAL-50104] The ConCal service MUST reject registration requests that are missing required metadata with an InvalidArgument error.
  • [SDV-CONCAL-50105] The ConCal service MUST reject registration requests with a malformed configuration ID (including config_name and service_fqin) with an InvalidArgument error.
  • [SDV-CONCAL-50106] The ConCal service MUST support retrieving registered configuration metadata using GetConfigMetadata, and the returned metadata MUST match the registered metadata (including the descriptor set).
  • [SDV-CONCAL-50107] The ConCal service MUST support retrieving configurations using GetConfig.
  • [SDV-CONCAL-50108] The ConCal service MUST return NotFound when a client attempts to retrieve a configuration (using GetConfig) that hasn't been registered.
  • [SDV-CONCAL-50201] The ConCal service MUST implement the ConCalUpdateService interface defined in the VSIDL catalog for ConCal at system/software_defined_vehicle/automotive_services/concal/catalog/concal_update_service.proto.

Transaction management

Requirements related to updating configurations using transactions.

  • [SDV-CONCAL-50202] The ConCal service MUST support transactional updates initiated with StartConfigUpdate, which MUST return a unique transaction ID (update_id).
  • [SDV-CONCAL-50203] The ConCal service MUST support applying configuration overrides (AddOrUpdateConfigOverride) associated with a valid, active transaction ID.
  • [SDV-CONCAL-50204] The ConCal service MUST support removing configuration overrides (RemoveConfigOverride) by their override_id in the scope of an active transaction. Removing the override MUST reverse the configuration changes originally made by the override.
  • [SDV-CONCAL-50205] The ConCal service MUST isolate uncommitted transaction changes. Changes applied within an active update transaction MUST NOT be visible to GetConfig calls until the transaction is successfully committed.
  • [SDV-CONCAL-50206] The ConCal service MUST support committing a transaction using FinishConfigUpdate. Upon successful commit, all overrides applied during the transaction MUST be applied atomically and become visible to subsequent GetConfig calls.
  • [SDV-CONCAL-50207] The ConCal service MUST support canceling a transaction using CancelConfigUpdate. Canceling a transaction MUST discard all overrides applied during that transaction, and MUST NOT affect the current active configuration.
  • [SDV-CONCAL-50208] The ConCal service MUST support rolling back to the previous stable configuration state (the state before the last successfully finished update) using the Rollback RPC.
  • [SDV-CONCAL-50209] The ConCal service MUST support deleting all state related to a given configuration using the UninstallConfig RPC. Subsequent GetConfig calls or overrides targeting the configuration MUST return NotFound.
  • [SDV-CONCAL-50210] The ConCal service MUST support resetting its state (removing all registered configurations and overrides) using Reset.
  • [SDV-CONCAL-50211] The ConCal service MUST support applying overrides to nested fields (for example, using dot-separated paths like nested_parameter.field) and map fields (for example, map_parameter.key).

Configuration persistence

Requirements related to the persistence of configurations across power cycles.

  • [SDV-CONCAL-50301] Configuration registrations as well as committed updates MUST persist across power cycles.

Service topology

Requirements and constraints for the deployment topology of the ConCal service.

  • [SDV-CONCAL-50401] On a single SDV OS instance, there MUST be exactly one Service Bundle instance offering the ConCal interfaces (com.android.sdv.concal.ConCalRegistrationService and com.android.sdv.concal.ConCalUpdateService).
  • [SDV-CONCAL-50402] In a distributed multi-instance deployment, if a ConCal instance receives a request for a configuration it doesn't own, it MUST retrieve it from the owning ConCal instance and return it to the client.

Authorization

Requirements related to authorization for configuration registration and updates.

  • [SDV-CONCAL-50501] While the ConCal service isn't required to implement configuration-level authorization, it MUST allow the com.android.sdv.compliance.rpc_proxy package to register and update configurations with a configuration name under the prefix sdv-compliance for the purpose of compliance testing if configuration-level authorization checks exist.

User Preferences

This section defines requirements for the User Preferences domain.

User Preferences registry

Requirements for registering settings schemas and defaults by User Controllable Services (UCS).

  • [SDV-USER_PREF-60101] The User Preferences Agent MUST implement the UserPreferencesRegistryService interface defined in the VSIDL catalog at system/software_defined_vehicle/automotive_services/user_preferences/vsidl/v1/user_preferences_registry_service.proto.
  • [SDV-USER_PREF-60102] The User Preferences Agent MUST support the RegisterSettings API to allow UCS to register their settings groups, including schema versions and default values, on startup.
  • [SDV-USER_PREF-60103] The RegisterSettings API MUST be idempotent. Registering an already registered settings group with the same version and identical definitions MUST return success without making changes.
  • [SDV-USER_PREF-60104] The RegisterSettings API MUST support updating an existing settings group schema when a higher version is provided, given the change is a safe (backward-compatible) schema evolution. Safe evolutions include:
    • Adding new setting definitions with a valid default_value that satisfies all its declared constraints (for numeric settings: falls within [min_value, max_value] and aligns with step; for enum settings: is included in EnumConstraints.possible_values).
    • Widening numeric range bounds (lowering min_value or increasing max_value).
    • Refining integer step size by updating step to a positive value that evenly divides the previous step (for example, 6 -> 3, 2, or 1, where old_step % new_step == 0), such that all previously valid values remain valid.
    • Removing constraints (such as step or range bounds) to allow unconstrained values.
    • Adding new allowable values to EnumConstraints.possible_values.
  • [SDV-USER_PREF-60105] The RegisterSettings API MUST reject schema updates when a higher version contains unsafe schema changes that invalidate existing user preferences. Unsafe evolutions include:
    • Removing previously registered setting definitions.
    • Changing the default_value of an existing setting definition.
    • Adding a new setting definition whose default_value violates its declared constraints (for example, falls outside [min_value, max_value], is misaligned with step, is missing from EnumConstraints.possible_values, or is NaN).
    • Changing the data type or SettingKind (for example, modifying between PER_USER, SHARED, or PASSTHROUGH).
    • Narrowing numeric bounds (min_value or max_value) below or above existing persisted user preferences.
    • Introducing a step constraint on a previously unconstrained setting.
    • Changing step to a value that doesn't evenly divide the previous step (for example, coarsening from 2 -> 4 or unaligned 6 -> 4, where old_step % new_step != 0).
    • Shifting min_value such that previously valid values no longer fall on valid step increments (that is, (old_min - new_min) % new_step != 0).
    • Removing enum variants from possible_values that are in use by existing user profiles.
  • [SDV-USER_PREF-60106] The User Preferences Agent MUST support the UpdateSettings API to allow UCS to report external settings changes (for example, due to factory reset or physical button interaction).

User Preferences management

Requirements for client interaction, requesting changes, and subscribing to updates.

  • [SDV-USER_PREF-60201] The User Preferences Agent MUST implement the UserPreferencesManagementService interface defined in the VSIDL catalog at system/software_defined_vehicle/automotive_services/user_preferences/vsidl/v1/user_preferences_management_service.proto.
  • [SDV-USER_PREF-60202] The User Preferences Agent MUST support the RequestSettingsChange API to allow clients to request modifications to settings of the active user profile. The Agent MUST forward change requests to the target UCS and synchronize active_settings with the actual applied value returned by the UCS (including accepting requested values, adopting clamped values, or maintaining prior state upon UCS rejection).
  • [SDV-USER_PREF-60203] The User Preferences Agent MUST respect the ChangePersistencePolicy (PERSISTENT versus NON_PERSISTENT) requested by the client. Non-persistent changes MUST NOT survive a vehicle session.
  • [SDV-USER_PREF-60204] The User Preferences Agent MUST support subscribing to settings changes using SubscribeToSettingsChangeAndGetSettings and notifying subscribed clients using the ChangeNotifier.OnSettingsChange callback.
  • [SDV-USER_PREF-60205] The SubscribeToSettingsChangeAndGetSettings API MUST immediately return the current active, pending, and persisted settings to the subscriber upon subscription.

User Preferences administration

Requirements for managing user profiles, active user selection, and system-wide reset.

  • [SDV-USER_PREF-60301] The User Preferences Agent MUST implement the UserPreferencesAdminService interface defined in the VSIDL catalog at system/software_defined_vehicle/automotive_services/user_preferences/vsidl/v1/user_preferences_admin_service.proto.
  • [SDV-USER_PREF-60302] The User Preferences Agent MUST support creating user profiles using CreateUser, initializing settings for the new user with registered defaults. Attempting to create a user with an already existing ID MUST fail.
  • [SDV-USER_PREF-60303] The User Preferences Agent MUST support selecting the active user profile using SelectUser and applying the selected user's persisted settings to the respective User Controllable Services.
  • [SDV-USER_PREF-60304] The User Preferences Agent MUST support deleting user profiles using DeleteUser.
  • [SDV-USER_PREF-60305] The User Preferences Agent MUST automatically delete ephemeral user profiles (users created with the EPHEMERAL flag) when another user profile is selected.
  • [SDV-USER_PREF-60306] The User Preferences Agent MUST support system-wide FactoryReset, which deletes all user profiles and resets all User Controllable Services to their default settings.
  • [SDV-USER_PREF-60307] The User Preferences Agent MUST support listing all stored user profiles using ListUsers.
  • [SDV-USER_PREF-60308] The User Preferences Agent MUST support retrieving settings for a specific user profile using GetUserSettings.
  • [SDV-USER_PREF-60309] The User Preferences Agent MUST isolate PER_USER settings between different user profiles. Modifying or selecting one user profile MUST NOT affect or mutate the PER_USER settings of other user profiles.

User Preferences topology

Deployment requirements for the User Preferences Agent.

  • [SDV-USER_PREF-60401] There MUST be a single centralized User Preferences Agent instance running per SDV OS instance on the SDV platform coordinating storage, routing, and notifications.

Lifecycle management

This section defines requirements for the Lifecycle management domain.

Lifecycle Manager capabilities

This section describes compliance requirements for the SDV Lifecycle Manager (LM). The Lifecycle Manager is responsible for controlling service bundle execution, lifecycle state transitions, hook invocation, process sandboxing, and isolation.

  • [SDV-LM-70001] The Lifecycle Manager MUST implement and register the google.sdv.lifecycle.ILifecycleManager and google.sdv.lifecycle.internal.IServiceManager AIDL interfaces with the Android ServiceManager. The IServiceManager service MUST be declared in the VINTF manifest.
  • [SDV-LM-70002] The Lifecycle Manager MUST signal that it has completed initialization and is ready to receive Binder transactions by setting the ro.sdv.lc.state.ready system property to true.
  • [SDV-LM-70003] The Lifecycle Manager MUST correctly manage and transition service bundles through their lifecycle states:
    • Calling launchService MUST launch the service bundle and transition its state to CREATED.
    • Calling startService MUST transition the service bundle state to STARTED.
    • Calling stopService MUST transition the service bundle state to CREATED.
    • Calling shutdownService MUST stop the service bundle and terminate its process.
  • [SDV-LM-70004] The Lifecycle Manager MUST ensure that lifecycle hooks are executed on service bundles during lifecycle transitions:
    • Service bundle launch MUST trigger creation (new).
    • Starting a service bundle using startService MUST trigger start (on_start).
    • Stopping a service bundle using stopService MUST trigger stop (on_stop).
    • Shutting down a service bundle using shutdownService MUST trigger destruction (Drop).
  • [SDV-LM-70005] The Lifecycle Manager MUST support graceful shutdown of service bundles upon invocation of shutdownService. The service bundle MUST be notified to stop and destroy, receive SIGTERM, and terminate. If the service bundle process doesn't terminate within a defined grace period, it MUST be terminated using SIGKILL.
  • [SDV-LM-70006] The Lifecycle Manager MUST enforce process and storage sandboxing for service bundles:
    • Each service bundle MUST run in a separate process under an isolated non-root, non-system Linux UID and GID.
    • Distinct service bundles MUST run under distinct UIDs and GIDs.
    • Multiple instances of the same service bundle MUST run in separate processes while sharing the same UID and GID.
    • The Lifecycle Manager MUST provision a dedicated data storage directory at /data/service_bundle_data/<package>/<bundle> owned by the service bundle UID with group AID_SYSTEM (1000) and POSIX permissions 0700 (rwx------), ensuring discretionary access control (DAC) isolation between distinct service bundles.
  • [SDV-LM-70007] The Lifecycle Manager MUST transition runner processes to assigned SELinux security domains before executing service bundle code. Standard service bundles MUST run in the u:r:untrusted_service_bundle:s0 SELinux domain, and priority service bundles MUST run in the u:r:priority_service_bundle:s0 SELinux domain.

Service Bundles Registry

This section defines requirements for the Service Bundles Registry domain.

Service Bundles Registry capabilities

This section describes compliance requirements for the SDV Service Bundles Registry (SBR). The Service Bundles Registry is responsible for discovering installed service bundles from APEX packages, validating manifest schemas, enforcing naming conventions and security boundaries, and exposing service bundle metadata to SDV platform components and agents.

  • [SDV-SBR-80001] The Service Bundles Registry MUST implement and register the google.sdv.service_bundles_registry.IRegistry AIDL interface with the Android ServiceManager under instance name default (google.sdv.service_bundles_registry.IRegistry/default). The IRegistry service MUST be declared in the VINTF manifest.
  • [SDV-SBR-80002] The Service Bundles Registry MUST signal that it has completed scanning and validating service bundle metadata and is ready to receive Binder transactions by setting the ro.sdv.sbr.state.ready system property to true. The system property MUST NOT be set to true while metadata scanning or validation is in progress, and MUST remain unset or false until the registry is fully operational and capable of serving IRegistry calls.
  • [SDV-SBR-80003] The Service Bundles Registry MUST scan installed APEX packages under /apex at boot for service bundle manifests located at etc/sdv_service_bundles_manifest.textproto and extract service bundle metadata:
    • The registry MUST support discovering and registering multiple service bundles declared within a single APEX manifest file.
    • Discovered metadata MUST be accessible to clients using the getAvailableServiceBundlesMetadata method of the IRegistry AIDL interface.
    • The returned ServiceBundleMetadata parcelables MUST accurately reflect the manifest configuration, including:
    • name: Service bundle name.
    • versionNumber: Non-negative version number.
    • versionName: Version string name.
    • packageName: Package identifier of the enclosing APEX package.
    • nativeLibraryPath: Absolute path to the native shared library within the mounted APEX.
    • logTag: Optional Android logging tag (if specified).
    • customMetadata: Custom key-value metadata pairs declared in the manifest.
  • [SDV-SBR-80004] The Service Bundles Registry MUST validate that declared SdvServiceBundleManifest entries comply with the manifest schema:
    • Manifest entries MUST define all mandatory fields (name, version_number, version_name, and native_library_path).
    • The native_library_path MUST point to an existing file within the APEX package.
    • Entries missing mandatory fields or specifying a non-existent file for native_library_path MUST be rejected.
    • Duplicate service bundles sharing identical package and bundle names MUST be filtered out to preserve registry integrity.
  • [SDV-SBR-80005] The Service Bundles Registry MUST validate service bundle and package names according to SDV naming conventions:
    • Service bundle names MUST be between 1 and 47 bytes in length, consist only of ASCII alphanumeric characters ([A-Z, a-z, 0-9]) and underscores (_), start with an uppercase ASCII letter ([A-Z]), end with an ASCII alphanumeric character ([A-Z, a-z, 0-9]), MUST NOT contain consecutive underscores (__), and MUST NOT start with the reserved prefix AAOS_SDV_RESERVED.
    • Service bundle package names MUST be between 1 and 127 bytes in length, consist of dot-separated (.) segments containing only lowercase ASCII letters ([a-z]), digits ([0-9]), and underscores (_), where each segment starts with a lowercase ASCII letter ([a-z]), ends with a lowercase ASCII letter or digit ([a-z, 0-9]), and contains no consecutive underscores (__), and MUST NOT start with package prefixes reserved for internal SDV platform usage (com.android.sdv.sys. or sui.).
    • Service bundles whose bundle name or package name violates these naming conventions MUST be rejected.
  • [SDV-SBR-80006] The Service Bundles Registry MUST enforce path safety and container security boundaries for all service bundles:
    • All file paths declared in the manifest MUST reference regular files and MUST NOT reference directories.
    • Manifest file paths MUST NOT contain directory traversal components (such as ..) and MUST NOT resolve to targets outside the APEX package root.
    • Symbolic links within an APEX package MUST NOT reference files or directories outside the hosting APEX package root.
    • Service bundles violating any of these security constraints MUST be rejected.
  • [SDV-SBR-80007] The Service Bundles Registry MUST perform optional configuration cleansing:
    • If an optional configuration path (such as scheduling_config_path, orchestration_config_path, or agent-specific paths) declared in the manifest references a non-existent or invalid file, the registry MUST cleanse the field by omitting it (setting it to None).
    • The registry MUST proceed with successfully registering the valid service bundle rather than rejecting it.