1allow mediaserver device:dir r_dir_perms; 2 3# sensor manager based camera/video stabilization 4allow mediaserver system_server:unix_stream_socket { connectto read write setopt }; 5allow mediaserver sensorservice_service:service_manager find; 6 7allow mediaserver host1x_device:chr_file rw_file_perms; 8