r_dir_file(hal_vibrator_default, sysfs_leds) allow hal_vibrator_default sysfs_leds:file w_file_perms; allow hal_vibrator_default sysfs_msm_subsys:file rw_file_perms; allow hal_vibrator_default sysfs_msm_subsys:dir search; # read-only permission to obtain the calibration data r_dir_file(hal_vibrator_default, persist_haptics_file) allow hal_vibrator_default mnt_vendor_file:dir search; allow hal_vibrator_default persist_file:dir search; get_prop(hal_vibrator_default, vendor_vibrator_prop);