Merge "wfd: Allow wfd processes to read video properties"

This commit is contained in:
qctecmdr
2019-04-16 07:38:27 -07:00
committed by Gerrit - the friendly Code Review server
4 changed files with 16 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ persist.vendor.media.hls. u:object_r:mm_video_prop:s0
persist.vendor.sys.media.rtp-ports u:object_r:mm_video_prop:s0
vendor.encoder.video.profile u:object_r:mm_video_prop:s0
vendor.sys.media.target.version u:object_r:vendor_sys_video_prop:s0
vendor.sys.video.disable.ubwc u:object_r:vendor_sys_video_prop:s0
#Wifi Display
vendor.wfdservice u:object_r:wfd_service_prop:s0

View File

@@ -54,5 +54,12 @@ set_prop(system_app, vendor_mirrorlink_prop);
set_prop(system_app, wfd_service_prop);
userdebug_or_eng(`
get_prop(system_app, wfd_sys_debug_prop);
#Access to MM-OSAL debug prop for parser debugging on WFD sink
get_prop(system_app, mm_osal_prop);
#Allow access to logmask file in /data/
allow system_app system_data_file:file r_file_perms;
')
binder_call(system_app, wfdservice)
# allow access to read video SKU property for WFD sink
get_prop(system_app, vendor_sys_video_prop)

View File

@@ -66,3 +66,6 @@ hal_client_domain(wfdservice, hal_graphics_composer);
#Allow ion device access
allow wfdservice ion_device:chr_file r_file_perms;
#Allow source to access video UBWC property(for display config)
get_prop(wfdservice, vendor_sys_video_prop)

View File

@@ -98,4 +98,9 @@ userdebug_or_eng(`
#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;
#Allow to access logmask file in /data/vendor
allow wifidisplayhalservice_qti vendor_data_file:file r_file_perms;
')
#Allow source to access video SKU and UBWC property(for encoder config)
get_prop(wifidisplayhalservice_qti, vendor_video_prop)