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