2012-01-04 18:33:27 +01:00
|
|
|
# Device types
|
|
|
|
type device, dev_type, fs_type;
|
|
|
|
type alarm_device, dev_type, mlstrustedobject;
|
|
|
|
type ashmem_device, dev_type, mlstrustedobject;
|
|
|
|
type audio_device, dev_type;
|
2016-10-03 05:20:52 +02:00
|
|
|
type audio_timer_device, dev_type;
|
|
|
|
type audio_seq_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type binder_device, dev_type, mlstrustedobject;
|
2016-05-24 15:15:23 +02:00
|
|
|
type hwbinder_device, dev_type, mlstrustedobject;
|
2017-03-22 00:01:52 +01:00
|
|
|
type vndbinder_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type block_device, dev_type;
|
2016-04-24 01:34:03 +02:00
|
|
|
type camera_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type dm_device, dev_type;
|
2017-01-09 23:57:03 +01:00
|
|
|
type keychord_device, dev_type;
|
2017-03-26 05:38:17 +02:00
|
|
|
type loop_control_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
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;
|
2016-12-05 00:11:29 +01:00
|
|
|
type port_device, dev_type;
|
2017-05-12 01:21:29 +02:00
|
|
|
type log_device, dev_type, mlstrustedobject;
|
2012-01-04 18:33:27 +01:00
|
|
|
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;
|
|
|
|
type video_device, dev_type;
|
|
|
|
type vcs_device, dev_type;
|
2014-09-11 21:51:28 +02:00
|
|
|
type zero_device, dev_type, mlstrustedobject;
|
2015-12-02 05:43:46 +01:00
|
|
|
type fuse_device, dev_type, mlstrustedobject;
|
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-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-03-01 02:33:16 +01:00
|
|
|
type properties_device, dev_type;
|
2015-12-02 01:58:27 +01:00
|
|
|
type properties_serial, dev_type;
|
2015-10-22 20:51:09 +02:00
|
|
|
type i2c_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;
|
2015-10-05 23:04:39 +02:00
|
|
|
|
|
|
|
# The 'misc' partition used by recovery and A/B.
|
|
|
|
type misc_block_device, dev_type;
|