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