Inseob Kim | ff43be2 | 2021-06-07 16:56:56 +0900 | [diff] [blame^] | 1 | # Device types |
| 2 | type device, dev_type, fs_type; |
| 3 | type ashmem_device, dev_type, mlstrustedobject; |
| 4 | type ashmem_libcutils_device, dev_type, mlstrustedobject; |
| 5 | type audio_device, dev_type; |
| 6 | type binder_device, dev_type, mlstrustedobject; |
| 7 | type hwbinder_device, dev_type, mlstrustedobject; |
| 8 | type vndbinder_device, dev_type; |
| 9 | type block_device, dev_type; |
| 10 | type camera_device, dev_type; |
| 11 | type dm_device, dev_type; |
| 12 | type dm_user_device, dev_type; |
| 13 | type keychord_device, dev_type; |
| 14 | type loop_control_device, dev_type; |
| 15 | type loop_device, dev_type; |
| 16 | type pmsg_device, dev_type, mlstrustedobject; |
| 17 | type radio_device, dev_type; |
| 18 | type ram_device, dev_type; |
| 19 | type rtc_device, dev_type; |
| 20 | type vd_device, dev_type; |
| 21 | type vold_device, dev_type; |
| 22 | type console_device, dev_type; |
| 23 | type fscklogs, dev_type; |
| 24 | # GPU (used by most UI apps) |
| 25 | type gpu_device, dev_type, mlstrustedobject; |
| 26 | type graphics_device, dev_type; |
| 27 | type hw_random_device, dev_type; |
| 28 | type input_device, dev_type; |
| 29 | type port_device, dev_type; |
| 30 | type lowpan_device, dev_type; |
| 31 | type mtp_device, dev_type, mlstrustedobject; |
| 32 | type nfc_device, dev_type; |
| 33 | type ptmx_device, dev_type, mlstrustedobject; |
| 34 | type kmsg_device, dev_type, mlstrustedobject; |
| 35 | type kmsg_debug_device, dev_type; |
| 36 | type null_device, dev_type, mlstrustedobject; |
| 37 | type random_device, dev_type, mlstrustedobject; |
| 38 | type secure_element_device, dev_type; |
| 39 | type sensors_device, dev_type; |
| 40 | type serial_device, dev_type; |
| 41 | type socket_device, dev_type; |
| 42 | type owntty_device, dev_type, mlstrustedobject; |
| 43 | type tty_device, dev_type; |
| 44 | type video_device, dev_type; |
| 45 | type zero_device, dev_type, mlstrustedobject; |
| 46 | type fuse_device, dev_type, mlstrustedobject; |
| 47 | type iio_device, dev_type; |
| 48 | type ion_device, dev_type, mlstrustedobject; |
| 49 | type dmabuf_heap_device, dmabuf_heap_device_type, dev_type, mlstrustedobject; |
| 50 | type dmabuf_system_heap_device, dmabuf_heap_device_type, dev_type, mlstrustedobject; |
| 51 | type dmabuf_system_secure_heap_device, dmabuf_heap_device_type, dev_type, mlstrustedobject; |
| 52 | type qtaguid_device, dev_type; |
| 53 | type watchdog_device, dev_type; |
| 54 | type uhid_device, dev_type, mlstrustedobject; |
| 55 | type uio_device, dev_type; |
| 56 | type tun_device, dev_type, mlstrustedobject; |
| 57 | type usbaccessory_device, dev_type, mlstrustedobject; |
| 58 | type usb_device, dev_type, mlstrustedobject; |
| 59 | type usb_serial_device, dev_type; |
| 60 | type gnss_device, dev_type; |
| 61 | type properties_device, dev_type; |
| 62 | type properties_serial, dev_type; |
| 63 | type property_info, dev_type; |
| 64 | |
| 65 | # All devices have a uart for the hci |
| 66 | # attach service. The uart dev node |
| 67 | # varies per device. This type |
| 68 | # is used in per device policy |
| 69 | type hci_attach_dev, dev_type; |
| 70 | |
| 71 | # All devices have a rpmsg device for |
| 72 | # achieving remoteproc and rpmsg modules |
| 73 | type rpmsg_device, dev_type; |
| 74 | |
| 75 | # Partition layout block device |
| 76 | type root_block_device, dev_type; |
| 77 | |
| 78 | # factory reset protection block device |
| 79 | type frp_block_device, dev_type; |
| 80 | |
| 81 | # System block device mounted on /system. |
| 82 | # Documented at https://source.android.com/devices/bootloader/partitions-images |
| 83 | type system_block_device, dev_type; |
| 84 | |
| 85 | # Recovery block device. |
| 86 | # Documented at https://source.android.com/devices/bootloader/partitions-images |
| 87 | type recovery_block_device, dev_type; |
| 88 | |
| 89 | # boot block device. |
| 90 | # Documented at https://source.android.com/devices/bootloader/partitions-images |
| 91 | type boot_block_device, dev_type; |
| 92 | |
| 93 | # Userdata block device mounted on /data. |
| 94 | # Documented at https://source.android.com/devices/bootloader/partitions-images |
| 95 | type userdata_block_device, dev_type; |
| 96 | |
| 97 | # Cache block device mounted on /cache. |
| 98 | # Documented at https://source.android.com/devices/bootloader/partitions-images |
| 99 | type cache_block_device, dev_type; |
| 100 | |
| 101 | # Block device for any swap partition. |
| 102 | type swap_block_device, dev_type; |
| 103 | |
| 104 | # Metadata block device used for encryption metadata. |
| 105 | # Assign this type to the partition specified by the encryptable= |
| 106 | # mount option in your fstab file in the entry for userdata. |
| 107 | # Documented at https://source.android.com/devices/bootloader/partitions-images |
| 108 | type metadata_block_device, dev_type; |
| 109 | |
| 110 | # The 'misc' partition used by recovery and A/B. |
| 111 | # Documented at https://source.android.com/devices/bootloader/partitions-images |
| 112 | type misc_block_device, dev_type; |
| 113 | |
| 114 | # 'super' partition to be used for logical partitioning. |
| 115 | type super_block_device, super_block_device_type, dev_type; |
| 116 | |
| 117 | # sdcard devices; normally vold uses the vold_block_device label and creates a |
| 118 | # separate device node. gsid, however, accesses the original devide node |
| 119 | # created through uevents, so we use a separate label. |
| 120 | type sdcard_block_device, dev_type; |
| 121 | |
| 122 | # Userdata device file for filesystem tunables |
| 123 | type userdata_sysdev, dev_type; |