Merge "wfd: Add polices for dumping of debug data"

This commit is contained in:
qctecmdr
2019-04-16 03:10:33 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 12 additions and 6 deletions

View File

@@ -58,10 +58,14 @@ vendor.encoder.video.profile u:object_r:mm_video_prop:s0
vendor.sys.media.target.version u:object_r:vendor_sys_video_prop:s0
#Wifi Display
vendor.wfdservice u:object_r:wfd_service_prop:s0
persist.vendor.debug.wfd.wfdsvc u:object_r:wfd_sys_debug_prop:s0
persist.vendor.debug.wfdcdbg u:object_r:wfd_sys_debug_prop:s0
persist.vendor.debug.wfdcdbgv u:object_r:wfd_sys_debug_prop:s0
vendor.wfdservice u:object_r:wfd_service_prop:s0
persist.vendor.debug.wfd.wfdsvc u:object_r:wfd_sys_debug_prop:s0
persist.vendor.debug.wfdcdbg u:object_r:wfd_sys_debug_prop:s0
persist.vendor.debug.wfdcdbgv u:object_r:wfd_sys_debug_prop:s0
persist.vendor.sys.debug.mux. u:object_r:wfd_sys_debug_prop:s0
persist.vendor.sys.debug.rtp. u:object_r:wfd_sys_debug_prop:s0
persist.vendor.sys.debug.wfd. u:object_r:wfd_sys_debug_prop:s0
# WIGIG
persist.vendor.wigig. u:object_r:wigig_core_prop:s0
persist.vendor.fst. u:object_r:fst_prop:s0

View File

@@ -92,8 +92,10 @@ unix_socket_connect(wifidisplayhalservice_qti, property, init);
#Allow ion device access
allow wifidisplayhalservice_qti ion_device:chr_file r_file_perms;
#Allow for property access
userdebug_or_eng(`
#Allow for property access
get_prop(wifidisplayhalservice_qti,wfd_vendor_debug_prop)
#Allow to dump in /data/vendor/media/
allow wifidisplayhalservice_qti vendor_media_data_file:dir w_dir_perms;
allow wifidisplayhalservice_qti vendor_media_data_file:file create_file_perms;
')