# Blur
/(system_ext|system/system_ext)/bin/blur_sysprop_notifier u:object_r:blur_sysprop_notifier_exec:s0
+
+# Media
+/sys/class/codec_mm/fastplay_enable u:object_r:sysfs_media:s0
type hidraw_audio_device, dev_type;
type media_device, dev_type;
+type amstream_device, dev_type;
type param_tv_file, file_type;
/sys/devices/platform/meson-fb/graphics/fb0/free_scale_switch u:object_r:sysfs_graphics_device:s0
/sys/module/amdolby_vision/parameters/dolby_vision_enable u:object_r:sysfs_graphics_device:s0
/sys/module/amdolby_vision/parameters/dolby_vision_ll_policy u:object_r:sysfs_graphics_device:s0
-/sys/module/amvdec_av1/parameters/frame_height u:object_r:sysfs_graphics_device:s0
-/sys/module/amvdec_vp9/parameters/frame_height u:object_r:sysfs_graphics_device:s0
-/sys/module/amvdec_avs2/parameters/frame_height u:object_r:sysfs_graphics_device:s0
/sys/module/di/parameters(/.*)? u:object_r:sysfs_graphics_device:s0
/sys/module/fb/parameters/osd_logo_index u:object_r:sysfs_graphics_device:s0
# Media
/dev/amresource_mgr u:object_r:video_device:s0
+/dev/amstream_hevc_frame u:object_r:amstream_device:s0
+/dev/amstream_vframe u:object_r:amstream_device:s0
/dev/amvecm u:object_r:amvecm_device:s0
/dev/amvenc_avc u:object_r:media_device:s0
/dev/HevcEnc u:object_r:media_device:s0
+/dev/ionvideo u:object_r:video_device:s0
+/dev/v4lvideo u:object_r:video_device:s0
/sys/class/codec_mm/tvp_enable u:object_r:sysfs_media:s0
/sys/module/am_vecm/parameters(/.*)? u:object_r:sysfs_media:s0
-/sys/module/amvdec_(.*)/parameters/double_write_mode u:object_r:sysfs_media:s0
+/sys/module/amvdec_(.*)/parameters(/.*)? u:object_r:sysfs_media:s0
# Param
/mnt/vendor/param(/.*)? u:object_r:param_tv_file:s0
# XBMC
/dev/ttyS[1-2] u:object_r:hci_attach_dev:s0
+/sys/class/tsync/enable u:object_r:sysfs_xbmc:s0
/sys/class/tsync/firstapts u:object_r:sysfs_xbmc:s0
/sys/class/tsync/pts_audio u:object_r:sysfs_xbmc:s0
/sys/class/tsync/pts_pcrscr u:object_r:sysfs_xbmc:s0
allow hal_graphics_composer_default sysfs_amhdmitx:dir search;
allow hal_graphics_composer_default sysfs_amhdmitx:file rw_file_perms;
+allow hal_graphics_composer_default sysfs_graphics_device:dir search;
allow hal_graphics_composer_default sysfs_graphics_device:file rw_file_perms;
allow hal_graphics_composer_default sysfs_media:dir search;
allow hal_graphics_composer_default sysfs_media:file rw_file_perms;
allow hal_memtrack_default hal_tv_cec_default:dir search;
allow hal_memtrack_default hal_tv_cec_default:file r_file_perms;
+allow hal_memtrack_default sysfs_mali:dir { r_dir_perms };
allow hal_memtrack_default sysfs_mali:file { r_file_perms };
allow hal_memtrack_default system_app:file r_file_perms;
allow mediacodec display_device:file r_file_perms;
+allow mediacodec amstream_device:{ file chr_file } rw_file_perms;
allow mediacodec sysfs_graphics_device:dir r_dir_perms;
allow mediacodec sysfs_graphics_device:file r_file_perms;
-allow mediacodec sysfs_media:file r_file_perms;
+allow mediacodec sysfs_media:file rw_file_perms;
allow mediacodec sysfs_media:dir r_dir_perms;
+allow mediacodec sysfs_xbmc:file rw_file_perms;
allow mediacodec media_device:chr_file rw_file_perms;
allow mediacodec media_device:file rw_file_perms;
allow mediacodec tee_device:chr_file rw_file_perms;
allow mediacodec tee_device:file rw_file_perms;
allow mediacodec video_device:file rw_file_perms;
+allow mediacodec video_device:chr_file rw_file_perms;
allow mediacodec hal_graphics_allocator_default_tmpfs:file rw_file_perms;
--- /dev/null
+get_prop(system_control, vendor_netflix_prop)
vendor_internal_prop(vendor_wifi_prop);
vendor_public_prop(vendor_hdmi_prop);
+vendor_public_prop(vendor_netflix_prop);
vendor.allm.support u:object_r:vendor_boot_prop:s0
vendor.contenttype_game.support u:object_r:vendor_hdmi_prop:s0
-vendor.display-size u:object_r:vendor_display_prop:s0
vendor.sys.frc_policy u:object_r:vendor_display_prop:s0
vendor.sys.hwc.booted u:object_r:vendor_boot_prop:s0
vendor.system.support.dolbyvision u:object_r:vendor_dolby_prop:s0
vendor.wlan.driver.version u:object_r:vendor_wifi_prop:s0
vendor.media. u:object_r:vendor_media_prop:s0
+vendor.display-size u:object_r:vendor_netflix_prop:s0
set_prop(system_control, vendor_display_prop)
set_prop(system_control, vendor_hdmi_prop)
set_prop(system_control, vendor_dolby_prop)
+set_prop(system_control, vendor_media_prop)
+set_prop(system_control, vendor_netflix_prop)
allow untrusted_app hal_graphics_allocator_default_tmpfs:file rw_file_perms;
+allow untrusted_app debugfs_mali:dir r_dir_perms;
+
+get_prop(untrusted_app, vendor_netflix_prop);