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