Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
37d15150
Commit
37d15150
authored
Mar 13, 2018
by
Petri Gynther
Committed by
Android (Google) Code Review
Mar 13, 2018
Browse files
Options
Downloads
Plain Diff
Merge "Bluetooth A2DP offload: Binder call to audio HAL" into pi-dev
parents
13c46ef5
863a4efa
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/bluetooth.te
+3
-0
3 additions, 0 deletions
private/bluetooth.te
private/hwservice_contexts
+1
-0
1 addition, 0 deletions
private/hwservice_contexts
public/hal_audio.te
+2
-2
2 additions, 2 deletions
public/hal_audio.te
with
6 additions
and
2 deletions
private/bluetooth.te
+
3
−
0
View file @
37d15150
...
...
@@ -61,6 +61,9 @@ allow bluetooth self:global_capability_class_set sys_nice;
hal_client_domain(bluetooth, hal_bluetooth)
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)
###
...
...
...
...
This diff is collapsed.
Click to expand it.
private/hwservice_contexts
+
1
−
0
View file @
37d15150
...
...
@@ -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.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_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.broadcastradio::IBroadcastRadio u:object_r:hal_broadcastradio_hwservice:s0
android.hardware.broadcastradio::IBroadcastRadioFactory u:object_r:hal_broadcastradio_hwservice:s0
...
...
...
...
This diff is collapsed.
Click to expand it.
public/hal_audio.te
+
2
−
2
View file @
37d15150
...
...
@@ -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_asound)
allow hal_audio audio_device:dir r_dir_perms;
allow hal_audio audio_device:chr_file rw_file_perms;
allow hal_audio
_server
audio_device:dir r_dir_perms;
allow hal_audio
_server
audio_device:chr_file rw_file_perms;
# Needed to provide debug dump output via dumpsys' pipes.
allow hal_audio shell:fd use;
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment