2012-01-04 18:33:27 +01:00
|
|
|
# Device types
|
|
|
|
type device, dev_type, fs_type;
|
|
|
|
type alarm_device, dev_type, mlstrustedobject;
|
|
|
|
type adb_device, dev_type;
|
|
|
|
type ashmem_device, dev_type, mlstrustedobject;
|
|
|
|
type audio_device, dev_type;
|
|
|
|
type binder_device, dev_type, mlstrustedobject;
|
|
|
|
type block_device, dev_type;
|
|
|
|
type camera_device, dev_type;
|
|
|
|
type dm_device, dev_type;
|
|
|
|
type loop_device, dev_type;
|
2014-12-15 21:01:35 +01:00
|
|
|
type pmsg_device, dev_type, mlstrustedobject;
|
2012-01-04 18:33:27 +01:00
|
|
|
type radio_device, dev_type;
|
|
|
|
type ram_device, dev_type;
|
2015-05-18 23:01:37 +02:00
|
|
|
type rtc_device, dev_type;
|
2014-09-30 17:37:51 +02:00
|
|
|
type vold_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type console_device, dev_type;
|
|
|
|
type cpuctl_device, dev_type;
|
2013-11-04 15:47:29 +01:00
|
|
|
type fscklogs, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type full_device, dev_type;
|
2013-12-12 15:09:53 +01:00
|
|
|
# GPU (used by most UI apps)
|
|
|
|
type gpu_device, dev_type, mlstrustedobject;
|
2012-01-04 18:33:27 +01:00
|
|
|
type graphics_device, dev_type;
|
2013-10-03 22:35:56 +02:00
|
|
|
type hw_random_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type input_device, dev_type;
|
|
|
|
type kmem_device, dev_type;
|
|
|
|
type log_device, dev_type, mlstrustedobject;
|
|
|
|
type mtd_device, dev_type;
|
2012-01-06 16:25:53 +01:00
|
|
|
type mtp_device, dev_type, mlstrustedobject;
|
2012-01-04 18:33:27 +01:00
|
|
|
type nfc_device, dev_type;
|
|
|
|
type ptmx_device, dev_type, mlstrustedobject;
|
|
|
|
type kmsg_device, dev_type;
|
|
|
|
type null_device, dev_type, mlstrustedobject;
|
2014-09-11 21:51:28 +02:00
|
|
|
type random_device, dev_type, mlstrustedobject;
|
2013-03-27 11:30:25 +01:00
|
|
|
type sensors_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type serial_device, dev_type;
|
|
|
|
type socket_device, dev_type;
|
2013-04-05 20:22:27 +02:00
|
|
|
type owntty_device, dev_type, mlstrustedobject;
|
2012-01-04 18:33:27 +01:00
|
|
|
type tty_device, dev_type;
|
2014-09-11 21:51:28 +02:00
|
|
|
type urandom_device, dev_type, mlstrustedobject;
|
2012-01-04 18:33:27 +01:00
|
|
|
type video_device, dev_type;
|
|
|
|
type vcs_device, dev_type;
|
2014-09-11 21:51:28 +02:00
|
|
|
type zero_device, dev_type, mlstrustedobject;
|
2012-05-31 15:44:51 +02:00
|
|
|
type fuse_device, dev_type;
|
2013-01-30 19:17:14 +01:00
|
|
|
type iio_device, dev_type;
|
2012-12-07 12:11:14 +01:00
|
|
|
type ion_device, dev_type, mlstrustedobject;
|
2012-07-10 23:36:22 +02:00
|
|
|
type gps_device, dev_type;
|
2012-07-19 20:07:04 +02:00
|
|
|
type qtaguid_device, dev_type;
|
2012-12-03 12:07:45 +01:00
|
|
|
type watchdog_device, dev_type;
|
2013-01-07 15:21:18 +01:00
|
|
|
type uhid_device, dev_type;
|
2014-03-26 20:37:54 +01:00
|
|
|
type uio_device, dev_type;
|
2013-01-07 15:21:18 +01:00
|
|
|
type tun_device, dev_type, mlstrustedobject;
|
2014-09-11 21:51:28 +02:00
|
|
|
type usbaccessory_device, dev_type, mlstrustedobject;
|
|
|
|
type usb_device, dev_type, mlstrustedobject;
|
2013-05-09 21:39:32 +02:00
|
|
|
type klog_device, dev_type;
|
2013-03-01 02:33:16 +01:00
|
|
|
type properties_device, dev_type;
|
2012-05-31 15:40:12 +02:00
|
|
|
|
|
|
|
# All devices have a uart for the hci
|
|
|
|
# attach service. The uart dev node
|
|
|
|
# varies per device. This type
|
|
|
|
# is used in per device policy
|
|
|
|
type hci_attach_dev, dev_type;
|
2012-07-11 20:21:05 +02:00
|
|
|
|
2013-03-27 11:30:25 +01:00
|
|
|
# All devices have a rpmsg device for
|
2012-07-11 20:21:05 +02:00
|
|
|
# achieving remoteproc and rpmsg modules
|
|
|
|
type rpmsg_device, dev_type;
|
2014-02-20 02:16:13 +01:00
|
|
|
|
|
|
|
# Partition layout block device
|
|
|
|
type root_block_device, dev_type;
|
2014-07-10 00:18:32 +02:00
|
|
|
|
2014-09-08 22:11:01 +02:00
|
|
|
# factory reset protection block device
|
|
|
|
type frp_block_device, dev_type;
|
2014-09-11 14:50:04 +02:00
|
|
|
|
2014-09-30 18:53:12 +02:00
|
|
|
# System block device mounted on /system.
|
|
|
|
type system_block_device, dev_type;
|
|
|
|
|
|
|
|
# Recovery block device.
|
|
|
|
type recovery_block_device, dev_type;
|
|
|
|
|
2015-02-28 02:39:09 +01:00
|
|
|
# boot block device.
|
|
|
|
type boot_block_device, dev_type;
|
|
|
|
|
2014-09-11 14:50:04 +02:00
|
|
|
# Userdata block device mounted on /data.
|
|
|
|
type userdata_block_device, dev_type;
|
|
|
|
|
|
|
|
# Cache block device mounted on /cache.
|
|
|
|
type cache_block_device, dev_type;
|
2014-09-23 15:11:30 +02:00
|
|
|
|
|
|
|
# Block device for any swap partition.
|
|
|
|
type swap_block_device, dev_type;
|
2014-09-30 17:37:51 +02:00
|
|
|
|
|
|
|
# Metadata block device used for encryption metadata.
|
|
|
|
# Assign this type to the partition specified by the encryptable=
|
|
|
|
# mount option in your fstab file in the entry for userdata.
|
|
|
|
type metadata_block_device, dev_type;
|