2012-01-04 09:33:27 -08:00
|
|
|
# Device types
|
|
|
|
type device, dev_type, fs_type;
|
|
|
|
type ashmem_device, dev_type, mlstrustedobject;
|
|
|
|
type audio_device, dev_type;
|
|
|
|
type binder_device, dev_type, mlstrustedobject;
|
2016-05-24 06:15:23 -07:00
|
|
|
type hwbinder_device, dev_type, mlstrustedobject;
|
2017-03-21 16:01:52 -07:00
|
|
|
type vndbinder_device, dev_type;
|
2012-01-04 09:33:27 -08:00
|
|
|
type block_device, dev_type;
|
2016-04-23 16:34:03 -07:00
|
|
|
type camera_device, dev_type;
|
2012-01-04 09:33:27 -08:00
|
|
|
type dm_device, dev_type;
|
2017-01-09 14:57:03 -08:00
|
|
|
type keychord_device, dev_type;
|
2017-03-25 20:38:17 -07:00
|
|
|
type loop_control_device, dev_type;
|
2012-01-04 09:33:27 -08:00
|
|
|
type loop_device, dev_type;
|
2014-12-15 12:01:35 -08:00
|
|
|
type pmsg_device, dev_type, mlstrustedobject;
|
2012-01-04 09:33:27 -08:00
|
|
|
type radio_device, dev_type;
|
|
|
|
type ram_device, dev_type;
|
2015-05-18 14:01:37 -07:00
|
|
|
type rtc_device, dev_type;
|
2014-09-30 08:37:51 -07:00
|
|
|
type vold_device, dev_type;
|
2012-01-04 09:33:27 -08:00
|
|
|
type console_device, dev_type;
|
2013-11-04 06:47:29 -08:00
|
|
|
type fscklogs, dev_type;
|
2013-12-12 06:09:53 -08:00
|
|
|
# GPU (used by most UI apps)
|
|
|
|
type gpu_device, dev_type, mlstrustedobject;
|
2012-01-04 09:33:27 -08:00
|
|
|
type graphics_device, dev_type;
|
2013-10-03 13:35:56 -07:00
|
|
|
type hw_random_device, dev_type;
|
2012-01-04 09:33:27 -08:00
|
|
|
type input_device, dev_type;
|
2016-12-04 15:11:29 -08:00
|
|
|
type port_device, dev_type;
|
2017-09-26 12:58:29 -07:00
|
|
|
type lowpan_device, dev_type;
|
2012-01-06 07:25:53 -08:00
|
|
|
type mtp_device, dev_type, mlstrustedobject;
|
2012-01-04 09:33:27 -08:00
|
|
|
type nfc_device, dev_type;
|
|
|
|
type ptmx_device, dev_type, mlstrustedobject;
|
|
|
|
type kmsg_device, dev_type;
|
2017-03-28 13:09:37 -07:00
|
|
|
type kmsg_debug_device, dev_type;
|
2012-01-04 09:33:27 -08:00
|
|
|
type null_device, dev_type, mlstrustedobject;
|
2014-09-11 12:51:28 -07:00
|
|
|
type random_device, dev_type, mlstrustedobject;
|
2018-03-06 14:26:34 -08:00
|
|
|
type secure_element_device, dev_type;
|
2013-03-27 03:30:25 -07:00
|
|
|
type sensors_device, dev_type;
|
2012-01-04 09:33:27 -08:00
|
|
|
type serial_device, dev_type;
|
|
|
|
type socket_device, dev_type;
|
2013-04-05 11:22:27 -07:00
|
|
|
type owntty_device, dev_type, mlstrustedobject;
|
2012-01-04 09:33:27 -08:00
|
|
|
type tty_device, dev_type;
|
|
|
|
type video_device, dev_type;
|
2014-09-11 12:51:28 -07:00
|
|
|
type zero_device, dev_type, mlstrustedobject;
|
2015-12-01 20:43:46 -08:00
|
|
|
type fuse_device, dev_type, mlstrustedobject;
|
2013-01-30 10:17:14 -08:00
|
|
|
type iio_device, dev_type;
|
2012-12-07 03:11:14 -08:00
|
|
|
type ion_device, dev_type, mlstrustedobject;
|
2012-07-19 11:07:04 -07:00
|
|
|
type qtaguid_device, dev_type;
|
2012-12-03 03:07:45 -08:00
|
|
|
type watchdog_device, dev_type;
|
2013-01-07 06:21:18 -08:00
|
|
|
type uhid_device, dev_type;
|
2014-03-26 12:37:54 -07:00
|
|
|
type uio_device, dev_type;
|
2013-01-07 06:21:18 -08:00
|
|
|
type tun_device, dev_type, mlstrustedobject;
|
2014-09-11 12:51:28 -07:00
|
|
|
type usbaccessory_device, dev_type, mlstrustedobject;
|
|
|
|
type usb_device, dev_type, mlstrustedobject;
|
2013-02-28 17:33:16 -08:00
|
|
|
type properties_device, dev_type;
|
2015-12-01 16:58:27 -08:00
|
|
|
type properties_serial, dev_type;
|
2017-11-16 14:25:02 -08:00
|
|
|
type property_info, dev_type;
|
2012-05-31 06:40:12 -07: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 11:21:05 -07:00
|
|
|
|
2013-03-27 03:30:25 -07:00
|
|
|
# All devices have a rpmsg device for
|
2012-07-11 11:21:05 -07:00
|
|
|
# achieving remoteproc and rpmsg modules
|
|
|
|
type rpmsg_device, dev_type;
|
2014-02-19 17:16:13 -08:00
|
|
|
|
|
|
|
# Partition layout block device
|
|
|
|
type root_block_device, dev_type;
|
2014-07-09 15:18:32 -07:00
|
|
|
|
2014-09-08 13:11:01 -07:00
|
|
|
# factory reset protection block device
|
|
|
|
type frp_block_device, dev_type;
|
2014-09-11 05:50:04 -07:00
|
|
|
|
2014-09-30 09:53:12 -07:00
|
|
|
# System block device mounted on /system.
|
2018-09-12 13:34:35 -07:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2014-09-30 09:53:12 -07:00
|
|
|
type system_block_device, dev_type;
|
|
|
|
|
|
|
|
# Recovery block device.
|
2018-09-12 13:34:35 -07:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2014-09-30 09:53:12 -07:00
|
|
|
type recovery_block_device, dev_type;
|
|
|
|
|
2015-02-27 17:39:09 -08:00
|
|
|
# boot block device.
|
2018-09-12 13:34:35 -07:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2015-02-27 17:39:09 -08:00
|
|
|
type boot_block_device, dev_type;
|
|
|
|
|
2014-09-11 05:50:04 -07:00
|
|
|
# Userdata block device mounted on /data.
|
2018-09-12 13:34:35 -07:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2014-09-11 05:50:04 -07:00
|
|
|
type userdata_block_device, dev_type;
|
|
|
|
|
|
|
|
# Cache block device mounted on /cache.
|
2018-09-12 13:34:35 -07:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2014-09-11 05:50:04 -07:00
|
|
|
type cache_block_device, dev_type;
|
2014-09-23 06:11:30 -07:00
|
|
|
|
|
|
|
# Block device for any swap partition.
|
|
|
|
type swap_block_device, dev_type;
|
2014-09-30 08:37:51 -07: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.
|
2018-09-12 13:34:35 -07:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2014-09-30 08:37:51 -07:00
|
|
|
type metadata_block_device, dev_type;
|
2015-10-05 14:04:39 -07:00
|
|
|
|
|
|
|
# The 'misc' partition used by recovery and A/B.
|
2018-09-12 13:34:35 -07:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2015-10-05 14:04:39 -07:00
|
|
|
type misc_block_device, dev_type;
|
2018-08-17 11:07:09 -07:00
|
|
|
|
|
|
|
# 'super' partition to be used for logical partitioning.
|
2019-03-22 14:14:32 -07:00
|
|
|
type super_block_device, super_block_device_type, dev_type;
|