2012-01-04 18:33:27 +01:00
|
|
|
# Device types
|
|
|
|
type device, dev_type, fs_type;
|
|
|
|
type ashmem_device, dev_type, mlstrustedobject;
|
2019-09-24 23:43:00 +02:00
|
|
|
type ashmem_libcutils_device, dev_type, mlstrustedobject;
|
2012-01-04 18:33:27 +01:00
|
|
|
type audio_device, dev_type;
|
|
|
|
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;
|
2021-08-06 19:50:25 +02:00
|
|
|
type block_device, dev_type, bdev_type;
|
2016-04-24 01:34:03 +02:00
|
|
|
type camera_device, dev_type;
|
2021-08-06 19:50:25 +02:00
|
|
|
type dm_device, dev_type, bdev_type;
|
|
|
|
type dm_user_device, dev_type, bdev_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;
|
2021-08-06 19:50:25 +02:00
|
|
|
type loop_device, dev_type, bdev_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;
|
2021-08-06 19:50:25 +02:00
|
|
|
type ram_device, dev_type, bdev_type;
|
2015-05-18 23:01:37 +02:00
|
|
|
type rtc_device, dev_type;
|
2021-04-12 14:44:43 +02:00
|
|
|
type vd_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;
|
2013-11-04 15:47:29 +01:00
|
|
|
type fscklogs, 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;
|
2016-12-05 00:11:29 +01:00
|
|
|
type port_device, dev_type;
|
2017-09-26 21:58:29 +02:00
|
|
|
type lowpan_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;
|
2020-10-27 12:28:00 +01:00
|
|
|
type kmsg_device, dev_type, mlstrustedobject;
|
2017-03-28 22:09:37 +02:00
|
|
|
type kmsg_debug_device, dev_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
type null_device, dev_type, mlstrustedobject;
|
2014-09-11 21:51:28 +02:00
|
|
|
type random_device, dev_type, mlstrustedobject;
|
2018-03-06 23:26:34 +01:00
|
|
|
type secure_element_device, dev_type;
|
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;
|
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;
|
2020-12-15 07:57:49 +01:00
|
|
|
type dmabuf_heap_device, dmabuf_heap_device_type, dev_type, mlstrustedobject;
|
|
|
|
type dmabuf_system_heap_device, dmabuf_heap_device_type, dev_type, mlstrustedobject;
|
|
|
|
type dmabuf_system_secure_heap_device, dmabuf_heap_device_type, 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;
|
2021-03-31 23:42:24 +02:00
|
|
|
type uhid_device, dev_type, mlstrustedobject;
|
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;
|
2019-12-14 02:01:27 +01:00
|
|
|
type usb_serial_device, dev_type;
|
2020-03-16 23:35:49 +01:00
|
|
|
type gnss_device, dev_type;
|
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;
|
2017-11-16 23:25:02 +01:00
|
|
|
type property_info, 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
|
2021-08-06 19:50:25 +02:00
|
|
|
type root_block_device, dev_type, bdev_type;
|
2014-07-10 00:18:32 +02:00
|
|
|
|
2014-09-08 22:11:01 +02:00
|
|
|
# factory reset protection block device
|
2021-08-06 19:50:25 +02:00
|
|
|
type frp_block_device, dev_type, bdev_type;
|
2014-09-11 14:50:04 +02:00
|
|
|
|
2014-09-30 18:53:12 +02:00
|
|
|
# System block device mounted on /system.
|
2018-09-12 22:34:35 +02:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2021-08-06 19:50:25 +02:00
|
|
|
type system_block_device, dev_type, bdev_type;
|
2014-09-30 18:53:12 +02:00
|
|
|
|
|
|
|
# Recovery block device.
|
2018-09-12 22:34:35 +02:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2021-08-06 19:50:25 +02:00
|
|
|
type recovery_block_device, dev_type, bdev_type;
|
2014-09-30 18:53:12 +02:00
|
|
|
|
2015-02-28 02:39:09 +01:00
|
|
|
# boot block device.
|
2018-09-12 22:34:35 +02:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2021-08-06 19:50:25 +02:00
|
|
|
type boot_block_device, dev_type, bdev_type;
|
2015-02-28 02:39:09 +01:00
|
|
|
|
2014-09-11 14:50:04 +02:00
|
|
|
# Userdata block device mounted on /data.
|
2018-09-12 22:34:35 +02:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2021-08-06 19:50:25 +02:00
|
|
|
type userdata_block_device, dev_type, bdev_type;
|
2014-09-11 14:50:04 +02:00
|
|
|
|
|
|
|
# Cache block device mounted on /cache.
|
2018-09-12 22:34:35 +02:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2021-08-06 19:50:25 +02:00
|
|
|
type cache_block_device, dev_type, bdev_type;
|
2014-09-23 15:11:30 +02:00
|
|
|
|
|
|
|
# Block device for any swap partition.
|
2021-08-06 19:50:25 +02:00
|
|
|
type swap_block_device, dev_type, bdev_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.
|
2018-09-12 22:34:35 +02:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2021-08-06 19:50:25 +02:00
|
|
|
type metadata_block_device, dev_type, bdev_type;
|
2015-10-05 23:04:39 +02:00
|
|
|
|
|
|
|
# The 'misc' partition used by recovery and A/B.
|
2018-09-12 22:34:35 +02:00
|
|
|
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
2021-08-06 19:50:25 +02:00
|
|
|
type misc_block_device, dev_type, bdev_type;
|
2018-08-17 20:07:09 +02:00
|
|
|
|
|
|
|
# 'super' partition to be used for logical partitioning.
|
2021-08-06 19:50:25 +02:00
|
|
|
type super_block_device, super_block_device_type, dev_type, bdev_type;
|
2019-03-16 00:41:15 +01:00
|
|
|
|
|
|
|
# sdcard devices; normally vold uses the vold_block_device label and creates a
|
|
|
|
# separate device node. gsid, however, accesses the original devide node
|
|
|
|
# created through uevents, so we use a separate label.
|
2021-08-06 19:50:25 +02:00
|
|
|
type sdcard_block_device, dev_type, bdev_type;
|
2021-02-19 00:45:02 +01:00
|
|
|
|
|
|
|
# Userdata device file for filesystem tunables
|
|
|
|
type userdata_sysdev, dev_type;
|