type sec_efs_block_device, dev_type;
type bbd_device, dev_type;
+type bt_device, dev_type;
type drb_device, dev_type;
type epic_device, dev_type;
type fp_sensor_device, dev_type;
/dev/batch_io u:object_r:io_device:s0
/dev/ssp_sensorhub u:object_r:ssp_device:s0
+# bluetooth
+/dev/ttySAC[0-9] u:object_r:bt_device:s0
+
### epic
/dev/mode u:object_r:epic_device:s0
/dev/socket/epic u:object_r:epicd_socket:s0
--- /dev/null
+# hal_bluetooth_default.te
+
+# ro.rfkilldisabled
+get_prop(hal_bluetooth_default, rfkilldisabled_prop)
+# vendor.bluetooth_fw_ver
+set_prop(hal_bluetooth_default, wifi_log_prop)
+# sys.bluetooth.tty
+set_prop(hal_bluetooth_default, exported_bluetooth_prop)
+
+# /dev/ttySAC[0-9]
+allow hal_bluetooth_default bt_device:chr_file rw_file_perms;
+
+# /mnt/vendor
+allow hal_bluetooth_default mnt_vendor_file:dir search;
+
+# /mnt/vendor/efs/
+allow hal_bluetooth_default efs_file:dir r_dir_perms;
+
+# /mnt/vendor/conn
+allow hal_bluetooth_default conn_vendor_data_file:dir r_dir_perms;
+allow hal_bluetooth_default conn_vendor_data_file:file r_file_perms;
+
+# /sys/devices/platform/bluetooth/rfkill/rfkill0/state
+allow hal_bluetooth_default sysfs_bt_writable:file rw_file_perms;