• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Device types
2type device, dev_type, fs_type;
3type ashmem_device, dev_type, mlstrustedobject;
4type audio_device, dev_type;
5type binder_device, dev_type, mlstrustedobject;
6type hwbinder_device, dev_type, mlstrustedobject;
7type vndbinder_device, dev_type;
8type block_device, dev_type;
9type camera_device, dev_type;
10type dm_device, dev_type;
11type keychord_device, dev_type;
12type loop_control_device, dev_type;
13type loop_device, dev_type;
14type pmsg_device, dev_type, mlstrustedobject;
15type radio_device, dev_type;
16type ram_device, dev_type;
17type rtc_device, dev_type;
18type vold_device, dev_type;
19type console_device, dev_type;
20type fscklogs, dev_type;
21# GPU (used by most UI apps)
22type gpu_device, dev_type, mlstrustedobject;
23type graphics_device, dev_type;
24type hw_random_device, dev_type;
25type input_device, dev_type;
26type port_device, dev_type;
27type lowpan_device, dev_type;
28type mtp_device, dev_type, mlstrustedobject;
29type nfc_device, dev_type;
30type ptmx_device, dev_type, mlstrustedobject;
31type kmsg_device, dev_type;
32type kmsg_debug_device, dev_type;
33type null_device, dev_type, mlstrustedobject;
34type random_device, dev_type, mlstrustedobject;
35type secure_element_device, dev_type;
36type sensors_device, dev_type;
37type serial_device, dev_type;
38type socket_device, dev_type;
39type owntty_device, dev_type, mlstrustedobject;
40type tty_device, dev_type;
41type video_device, dev_type;
42type zero_device, dev_type, mlstrustedobject;
43type fuse_device, dev_type, mlstrustedobject;
44type iio_device, dev_type;
45type ion_device, dev_type, mlstrustedobject;
46type qtaguid_device, dev_type;
47type watchdog_device, dev_type;
48type uhid_device, dev_type;
49type uio_device, dev_type;
50type tun_device, dev_type, mlstrustedobject;
51type usbaccessory_device, dev_type, mlstrustedobject;
52type usb_device, dev_type, mlstrustedobject;
53type properties_device, dev_type;
54type properties_serial, dev_type;
55type 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
61type hci_attach_dev, dev_type;
62
63# All devices have a rpmsg device for
64# achieving remoteproc and rpmsg modules
65type rpmsg_device, dev_type;
66
67# Partition layout block device
68type root_block_device, dev_type;
69
70# factory reset protection block device
71type frp_block_device, dev_type;
72
73# System block device mounted on /system.
74# Documented at https://source.android.com/devices/bootloader/partitions-images
75type system_block_device, dev_type;
76
77# Recovery block device.
78# Documented at https://source.android.com/devices/bootloader/partitions-images
79type recovery_block_device, dev_type;
80
81# boot block device.
82# Documented at https://source.android.com/devices/bootloader/partitions-images
83type boot_block_device, dev_type;
84
85# Userdata block device mounted on /data.
86# Documented at https://source.android.com/devices/bootloader/partitions-images
87type userdata_block_device, dev_type;
88
89# Cache block device mounted on /cache.
90# Documented at https://source.android.com/devices/bootloader/partitions-images
91type cache_block_device, dev_type;
92
93# Block device for any swap partition.
94type 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
100type 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
104type misc_block_device, dev_type;
105
106# 'super' partition to be used for logical partitioning.
107type 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.
112type sdcard_block_device, dev_type;
113