Skip to content
Snippets Groups Projects
Commit 433c302c authored by Sunny Kapdi's avatar Sunny Kapdi Committed by android-build-merger
Browse files

Bluetooth A2DP offload: Binder call to audio HAL

am: bc0c88f3

Change-Id: I3d6de7336d42aea80657c580859215d4cd65c58e
parents a91f4f6b bc0c88f3
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,9 @@ allow bluetooth self:global_capability_class_set sys_nice; ...@@ -61,6 +61,9 @@ allow bluetooth self:global_capability_class_set sys_nice;
hal_client_domain(bluetooth, hal_bluetooth) hal_client_domain(bluetooth, hal_bluetooth)
hal_client_domain(bluetooth, hal_telephony) hal_client_domain(bluetooth, hal_telephony)
# Bluetooth A2DP offload requires binding with audio HAL
hal_client_domain(bluetooth, hal_audio)
read_runtime_log_tags(bluetooth) read_runtime_log_tags(bluetooth)
### ###
......
...@@ -6,6 +6,7 @@ android.hardware.audio::IDevicesFactory u:object_r:hal_a ...@@ -6,6 +6,7 @@ android.hardware.audio::IDevicesFactory u:object_r:hal_a
android.hardware.authsecret::IAuthSecret u:object_r:hal_authsecret_hwservice:s0 android.hardware.authsecret::IAuthSecret u:object_r:hal_authsecret_hwservice:s0
android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservice:s0 android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservice:s0
android.hardware.bluetooth::IBluetoothHci u:object_r:hal_bluetooth_hwservice:s0 android.hardware.bluetooth::IBluetoothHci u:object_r:hal_bluetooth_hwservice:s0
android.hardware.bluetooth.a2dp::IBluetoothAudioOffload u:object_r:hal_audio_hwservice:s0
android.hardware.boot::IBootControl u:object_r:hal_bootctl_hwservice:s0 android.hardware.boot::IBootControl u:object_r:hal_bootctl_hwservice:s0
android.hardware.broadcastradio::IBroadcastRadio u:object_r:hal_broadcastradio_hwservice:s0 android.hardware.broadcastradio::IBroadcastRadio u:object_r:hal_broadcastradio_hwservice:s0
android.hardware.broadcastradio::IBroadcastRadioFactory u:object_r:hal_broadcastradio_hwservice:s0 android.hardware.broadcastradio::IBroadcastRadioFactory u:object_r:hal_broadcastradio_hwservice:s0
......
...@@ -9,8 +9,8 @@ allow hal_audio ion_device:chr_file r_file_perms; ...@@ -9,8 +9,8 @@ allow hal_audio ion_device:chr_file r_file_perms;
r_dir_file(hal_audio, proc) r_dir_file(hal_audio, proc)
r_dir_file(hal_audio, proc_asound) r_dir_file(hal_audio, proc_asound)
allow hal_audio audio_device:dir r_dir_perms; allow hal_audio_server audio_device:dir r_dir_perms;
allow hal_audio audio_device:chr_file rw_file_perms; allow hal_audio_server audio_device:chr_file rw_file_perms;
# Needed to provide debug dump output via dumpsys' pipes. # Needed to provide debug dump output via dumpsys' pipes.
allow hal_audio shell:fd use; allow hal_audio shell:fd use;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment