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