1 allow cameraserver gpu_device:chr_file rw_file_perms; 2 3 typeattribute cameraserver system_writes_vendor_properties_violators; 4 get_prop(cameraserver, vendor_camera_prop) 5 6 allow cameraserver sysfs_camera:file r_file_perms; 7 allow cameraserver sysfs_camera:dir search; 8 9 allow cameraserver system_server:unix_stream_socket { read write }; 10 11 binder_call(cameraserver, mediacodec) 12 13 dontaudit cameraserver vendor_display_prop:file r_file_perms; 14