• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Device types
2type device, dev_type, fs_type;
3type alarm_device, dev_type, mlstrustedobject;
4type ashmem_device, dev_type, mlstrustedobject;
5type audio_device, dev_type;
6type audio_timer_device, dev_type;
7type audio_seq_device, dev_type;
8type binder_device, dev_type, mlstrustedobject;
9type hwbinder_device, dev_type, mlstrustedobject;
10type vndbinder_device, dev_type;
11type block_device, dev_type;
12type camera_device, dev_type;
13type dm_device, dev_type;
14type keychord_device, dev_type;
15type loop_control_device, dev_type;
16type loop_device, dev_type;
17type pmsg_device, dev_type, mlstrustedobject;
18type radio_device, dev_type;
19type ram_device, dev_type;
20type rtc_device, dev_type;
21type vold_device, dev_type;
22type console_device, dev_type;
23type cpuctl_device, dev_type;
24type fscklogs, dev_type;
25type full_device, dev_type;
26# GPU (used by most UI apps)
27type gpu_device, dev_type, mlstrustedobject;
28type graphics_device, dev_type;
29type hw_random_device, dev_type;
30type input_device, dev_type;
31type kmem_device, dev_type;
32type port_device, dev_type;
33type mtd_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;
38type kmsg_debug_device, dev_type;
39type null_device, dev_type, mlstrustedobject;
40type random_device, dev_type, mlstrustedobject;
41type sensors_device, dev_type;
42type serial_device, dev_type;
43type socket_device, dev_type;
44type owntty_device, dev_type, mlstrustedobject;
45type tty_device, dev_type;
46type video_device, dev_type;
47type vcs_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;
52type qtaguid_device, dev_type;
53type watchdog_device, dev_type;
54type uhid_device, dev_type;
55type uio_device, dev_type;
56type tun_device, dev_type, mlstrustedobject;
57type usbaccessory_device, dev_type, mlstrustedobject;
58type usb_device, dev_type, mlstrustedobject;
59type properties_device, dev_type;
60type properties_serial, dev_type;
61type i2c_device, dev_type;
62
63# All devices have a uart for the hci
64# attach service. The uart dev node
65# varies per device. This type
66# is used in per device policy
67type hci_attach_dev, dev_type;
68
69# All devices have a rpmsg device for
70# achieving remoteproc and rpmsg modules
71type rpmsg_device, dev_type;
72
73# Partition layout block device
74type root_block_device, dev_type;
75
76# factory reset protection block device
77type frp_block_device, dev_type;
78
79# System block device mounted on /system.
80type system_block_device, dev_type;
81
82# Recovery block device.
83type recovery_block_device, dev_type;
84
85# boot block device.
86type boot_block_device, dev_type;
87
88# Userdata block device mounted on /data.
89type userdata_block_device, dev_type;
90
91# Cache block device mounted on /cache.
92type cache_block_device, dev_type;
93
94# Block device for any swap partition.
95type swap_block_device, dev_type;
96
97# Metadata block device used for encryption metadata.
98# Assign this type to the partition specified by the encryptable=
99# mount option in your fstab file in the entry for userdata.
100type metadata_block_device, dev_type;
101
102# The 'misc' partition used by recovery and A/B.
103type misc_block_device, dev_type;
104