allow cameraserver gpu_device:chr_file rw_file_perms; typeattribute cameraserver system_writes_vendor_properties_violators; set_prop(cameraserver, camera_prop) allow cameraserver sysfs_camera:file r_file_perms; allow cameraserver sysfs_camera:dir search; allow cameraserver system_server:unix_stream_socket { read write }; binder_call(cameraserver, mediacodec)