Go to file
Peter Cai 978ccd40f9 gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL
On platform release T, the legacy `audio.a2dp.default` HAL no longer
exists, and cannot be trivially restored for generic system-side A2DP
audio support. Rather than trying to cling on to its existence (which
does not even work anymore even if one did so), it is time to come up
with a new solution.

This commit introduces a system-side implementation of the generic
bluetooth audio HAL. The HAL itself is modelled after the default
bluetooth audio HAL, while substantial components of the default audio
HAL are also included as it has to also implement the audio HAL
interfaces.

The audio HAL implementation is delegated to `audio.sysbta.default`,
forked from `audio.bluetooth.default` from the Bluetooth apex package.
It then communicates with the bluetooth audio HAL interfaces, which need
to live in the same process (in this case, the process of the sysbta
HAL). This is why we cannot just load `audio.sysbta.default` into the
default audio HAL or the audioserver process directly, but rather have
to include our own simplistic audio HAL implementation.

For now, the audio HAL implementation only includes one for the 6.0
version, but technically, an interface for *every* audio HAL version
needs to exist. This, along with other messiness in the sysbta
implementation, will be addressed in a future commit.

Note that to actually make use of the sysbta audio hal, patches in
frameworks/av and packages/modules/Bluetooth are required to introduce
support for the property `persist.bluetooth.system_audio_hal.enabled`.
2022-10-04 16:26:52 -04:00
bluetooth gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
cmds Add lightsctl-aidl command to debug lights aidl hal 2022-05-04 12:43:33 -04:00
environ [temp] hardcode init.treble-environ.rc (how does that new build system work?) 2019-09-12 20:46:25 +02:00
files Enable DT2W on Tecno KD7 2022-07-07 12:13:57 -04:00
fixSPL [WIP] Edit android version/security patch based on boot.img 2018-04-10 18:35:44 +02:00
hal Typo, fixup of 90fe6e4b, Thanks Sarthak 2021-08-08 20:22:34 +02:00
huawei_charger Fix bug 2019-01-14 17:09:57 +00:00
nfc Create libnfc-nci-huawei.conf 2019-01-04 14:01:44 +00:00
ota [OTA] Retry stat-ing mapper device 2022-04-24 08:03:48 -04:00
overlay Exemplt treble app for suspension 2022-05-09 17:36:38 -04:00
overlay-gapps/frameworks/base/core/res/res/values Exemplt treble app for suspension 2022-05-09 17:36:38 -04:00
overrides Add again quickstep launcher, now that its fixed 2022-03-13 15:09:11 -04:00
phhgsi_a64_a Fixed build for a-only (now called System-as-System) 2019-09-14 21:17:03 +02:00
phhgsi_a64_ab Make a64 build on par with arm64 wrt disappearance of /dsp and /firmware 2021-11-02 03:25:09 -04:00
phhgsi_arm64_a Fixed build for a-only (now called System-as-System) 2019-09-14 21:17:03 +02:00
phhgsi_arm64_ab Fix build for Android 12 2021-10-13 11:00:32 -04:00
phhgsi_arm_a Give more headroom on arm_a 2020-06-07 13:21:02 +02:00
phhgsi_arm_ab Force binder32 2019-09-12 20:44:16 +02:00
proprietary-files smartpa_params: Fix audio for Umidigi X and Gome U9 2021-12-29 19:57:34 +00:00
remote Include phh-remotectl system for remote takeover 2020-02-26 23:59:11 +01:00
sepolicy gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
su Add su option 2017-12-19 13:08:26 +01:00
twrp [twrp.sh] List usb controlers instead of fixing address 2020-09-27 19:58:40 +02:00
.gitignore Include gitignore to ignore generated files 2018-05-27 13:52:16 +02:00
aex.mk create AEX makefile 2018-11-18 19:43:10 +01:00
amyROM.mk Add amyROM makefile 2021-04-07 09:17:24 +01:00
apex-setup.rc No need to run apexd bootstrap in su policy, it is already expected to be started by init 2019-09-18 10:15:24 +02:00
base-pre.mk Includes a base-pre.mk for pre-pending COPY_FILES 2017-12-30 18:53:40 +01:00
base-sas.mk Don't include sas stuff on non-sas target 2019-09-26 22:24:54 +02:00
base.mk gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
board-base.mk gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
bootanimation.zip Add xmas bootanim courtesy of @sepehrmoh81. phh rom variant 2021-12-22 15:24:58 -05:00
carbon.mk Include carbon support 2018-03-03 19:50:47 +01:00
empty I need an empty system file for later mount bind 2018-05-14 13:36:26 +02:00
empty-permission.xml [opengapps] Don't set google experimental camera features 2018-05-26 00:28:46 +02:00
framework_manifest.xml Add Oppo fingerprint support, tested on Realme X2 Pro 2020-03-10 23:26:03 +01:00
gapps-go.mk Use standard Launcher3 rather than Launcher3Go on gapps-go variant 2022-06-15 07:45:03 -04:00
gapps.mk fix gapps build 2021-02-16 00:37:28 -05:00
generate.sh Overwrite the inherited "emulator" characteristics 2022-06-30 13:41:53 +00:00
havoc.mk Fix havoc mk 2020-05-14 16:52:26 +05:00
interfaces.xml Include vendor.xiaomi.hardware.displayfeature 2022-06-27 23:25:37 +01:00
ld.config.26.txt [vndk 26] Read liblog.so from vndk (has additional symbols required on huawei) 2019-09-15 00:57:05 +02:00
lineage.mk Update lineage.mk for LineageOS 16.0 2018-08-28 08:45:01 +02:00
phh-on-boot.sh Up vendor minijail override, using vndk v28 minijail 2020-09-29 10:45:45 +02:00
phh-on-data.sh Up vendor minijail override, using vndk v28 minijail 2020-09-29 10:45:45 +02:00
phh-prop-handler.sh Fix DT2W on Xiaomi Mi 11 Lite 5G by using xiaomi-touch 2022-02-09 21:07:02 +00:00
phh-securize.sh Upgrade securize for metadata + new no exec xbin 2021-11-03 17:43:25 -04:00
phh.mk Goodbye christmas animation. Put MY OTA json in my own specific file 2022-02-08 15:38:13 -05:00
privapp-permissions-me.phh.treble.app.xml add treble app to the allow-in-power-save list 2021-05-30 16:57:31 -04:00
README Include a README 2017-12-17 18:14:40 +01:00
remove-telephony.sh Remove Telephony 2020-05-08 19:38:03 +01:00
rr.mk [rr] Include SEPolicy 2018-03-22 22:47:23 +01:00
rw-system.sh Update rw-system.sh 2022-08-16 17:37:30 +03:00
system.prop gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
vndk-detect Fix typo 2019-07-19 10:18:26 +02:00
vndk.rc Add Samsung way to grab ro.telephony.default_network 2022-03-25 11:45:27 -04:00

You'll need to call generate.sh in this folder to generate the Makefiles to build the Treble targets