1userdebug_or_eng(` 2 allow hal_graphics_composer_default diag_device:chr_file rw_file_perms; 3') 4 5# misc 6allow hal_graphics_composer_default display_data_file:dir create_dir_perms; 7allow hal_graphics_composer_default display_data_file:file create_file_perms; 8 9# persist 10allow hal_graphics_composer_default persist_file:dir search; 11 12# persist/display 13allow hal_graphics_composer_default persist_display_file:dir r_dir_perms; 14allow hal_graphics_composer_default persist_display_file:file create_file_perms; 15 16vndbinder_use(hal_graphics_composer_default); 17add_service(hal_graphics_composer_default, qdisplay_service) 18 19# HWC_UeventThread 20allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl; 21 22# Access /sys/devices/virtual/graphics/fb0/mdp/caps and maybe others 23r_dir_file(hal_graphics_composer_default, sysfs_type) 24 25