Skip to content
Snippets Groups Projects
Commit 9686cbcd authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

hal_audio: Allow writing dump info into pipes when capturing BR

The following HAL methods use file descriptors to write dump
info comprising audioflinger debug dump:

IDevice.debugDump
IEffectsFactory.debugDump
IStream.debugDump

Bug: 37993476
Test: check contents of media.audio_flinger section in
      a bugreport captured on Pixel device

Change-Id: I77d347c019ac93c3ba0d54ce50f0fdc243b04685
parent bf030965
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,8 @@ allow hal_audio audio_device:chr_file rw_file_perms; ...@@ -17,6 +17,8 @@ allow hal_audio 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;
allow hal_audio shell:fifo_file write; allow hal_audio shell:fifo_file write;
allow hal_audio dumpstate:fd use;
allow hal_audio dumpstate:fifo_file write;
# Needed on some devices for playing audio on paired BT device, # Needed on some devices for playing audio on paired BT device,
# but seems appropriate for all devices. # but seems appropriate for all devices.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment