* Use device as an identifier in package names so APEXs on rpi4/rpi5 trees
can co-exist. Somehow apex definitions escape the soong namespace. It
doesn't complain about duplicate package names but dependecies later in
the build after analyzing Android.bp files and generating ninja file.
FAILED: ninja: ... multiple rules generate com.android.hardware.bluetooth.rpi-deps-info [-w dupbuild=err]
https://android.googlesource.com/platform/build/soong/+/refs/heads/main/README.md#namespaces
* Not sure if this is an AOSP bug or intended behaviour for apex targets.
Don't like using the rpi4/rpi5 tags but couldn't come up with better
solution to limit the visibility that worked.
* General cleanups. As APEX package contains all dependencies that are
needed for the service, remove unused shared libraries.
Run 'bpfmt -s -w Android.bp'.
* Doesn't do anything if BOARD_HAVE_BLUETOOTH_BCM is not set.
* Bluetooth device name is parsed from 'ro.product.model' if no default
is provided using 'bluetooth.device.default_name' property.
* Audio
- Based on AOSP hikey audio HAL:
https://android.googlesource.com/device/linaro/hikey/+/refs/heads/master/audio/
- ALSA based on Android-x86
- ALSA loop is used to support HDMI audio on Pi 4 because VC4 HDMI
audio devices use SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE that is not
supported on Android
https://github.com/raspberrypi/linux/issues/4651https://github.com/raspberrypi/linux/issues/4654
* Bluetooth
- AOSP Broadcom vendor stack with some additional fixes from android-rpi
* Camera
- libcamera for official Raspberry Pi CSI camera modules based on GloDroid
- AOSP external camera HAL for UVC USB webcams:
https://source.android.com/docs/core/camera/external-usb-cameras
* Graphics
- OpenGL & Vulkan: upstream Mesa with GloDroid patches
- Upstream drm_hwcomposer with force resolution patch from Android-x86 and
my additional fixes
- minigbm based on GloDroid
* Health
- Based on AOSP cuttlefish health HAL
* Kernel
- Merge of Raspberry Pi and AOSP common kernel with my additional fixes
and configurations
https://github.com/raspberrypi/linuxhttps://android.googlesource.com/kernel/common/
* Lights
- Based on LineageOS Xiaomi msm8996-common lights HAL
* suspend_blocker
- Based on AOSP cuttlefish
* v4l2_codec2
- Based on AOSP with my Raspberry Pi 4 specific fixes
* Wifi
- AOSP Broadcom vendor stack with my additional fixes