device_phh_treble/sepolicy
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
..
asus.te Add asus-motor, to be called from cameraserver to control ZF6 cam 2019-10-01 13:32:49 +02:00
board_properties.te Support reading /sys/board_properties/virtualkeys.xxx for virtual keys on touchscreen 2018-09-05 18:39:13 +02:00
bootanim.te Fix bootanim for some MTK devices 2018-12-03 22:06:32 +01:00
file_contexts gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
genfs_contexts Support reading /sys/board_properties/virtualkeys.xxx for virtual keys on touchscreen 2018-09-05 18:39:13 +02:00
hal_audio_sysbta.te gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
hal.te Add Oppo fingerprint support, tested on Realme X2 Pro 2020-03-10 23:26:03 +01:00
hardware_overlay.te Revert "Allowe system_app to access UEvent" 2018-06-07 16:46:16 +02:00
hostapd.te Give back hostapd access to wifi_data_file 2018-09-19 13:46:22 +02:00
huawei.te Address more Huawei fp denials 2021-03-01 09:58:41 +01:00
init.te sepolicy/init: fix adb in some cases 2021-02-15 12:54:48 -05:00
keymaster.te Allow more props reading from keymaster and gatekeeper 2021-10-27 14:38:43 -04:00
keystore.te Keystore2 needs to call getpidcon 2021-10-20 09:55:33 -04:00
lenovo.te Simplify matching for lenovo dt2w 2019-11-04 22:56:29 +01:00
lmkd.te Give lmkd ptrace capability, to bypass hidepid (AOSP uses readproc group, but I cant because of A-only) 2019-10-16 15:52:59 +02:00
mediatek.te Ugly: mark tkcore as permissive. It requires accessing some props to boot 2021-10-07 17:35:05 -04:00
oppo.te Upgrade selinux rights for oplus fingerprint access 2021-12-19 16:28:36 -05:00
phh.te Additional sepolicy for OTA 2022-04-23 08:02:55 -04:00
property_contexts sepolicy: address persist.sys.sf.hs_mode prop denials 2022-08-07 16:09:26 +05:30
qualcomm.te Allow rild access to more props. Help fix RIL on Pixel 1 2021-10-27 19:32:33 -04:00
samsung.te sepolicy: address persist.sys.sf.hs_mode prop denials 2022-08-07 16:09:26 +05:30
service_contexts gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL 2022-10-04 16:26:52 -04:00
su.te Allow more blockdev --setrw 2020-11-30 11:00:38 +01:00
treble_app.te Let treble app set ims props 2021-11-18 16:42:15 -05:00
vndk_detect.te Update sepolicy to allow more stuff based on S10e testing 2019-07-17 20:12:47 +02:00
vold.te Allow mediaextractor to read real sdcard 2018-04-16 23:33:58 +02:00