blob: 94813c20e242d35548315073f3409f965b647a49 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# Device types
2type device, dev_type, fs_type;
Stephen Smalley2dd4e512012-01-04 12:33:27 -05003type alarm_device, dev_type, mlstrustedobject;
4type adb_device, dev_type;
5type ashmem_device, dev_type, mlstrustedobject;
6type audio_device, dev_type;
7type binder_device, dev_type, mlstrustedobject;
8type block_device, dev_type;
9type camera_device, dev_type;
10type dm_device, dev_type;
11type loop_device, dev_type;
12type radio_device, dev_type;
13type ram_device, dev_type;
14type console_device, dev_type;
15type cpuctl_device, dev_type;
Stephen Smalleyaf47ebb2013-11-04 09:47:29 -050016type fscklogs, dev_type;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050017type full_device, dev_type;
Stephen Smalley3ba90122013-12-12 09:09:53 -050018# GPU (used by most UI apps)
19type gpu_device, dev_type, mlstrustedobject;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050020type graphics_device, dev_type;
Alex Klyubin8d688312013-10-03 13:35:56 -070021type hw_random_device, dev_type;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050022type input_device, dev_type;
23type kmem_device, dev_type;
24type log_device, dev_type, mlstrustedobject;
25type mtd_device, dev_type;
Stephen Smalleyc94e2392012-01-06 10:25:53 -050026type mtp_device, dev_type, mlstrustedobject;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050027type nfc_device, dev_type;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050028type ptmx_device, dev_type, mlstrustedobject;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050029type kmsg_device, dev_type;
30type null_device, dev_type, mlstrustedobject;
31type random_device, dev_type;
Robert Craig65d4f442013-03-27 06:30:25 -040032type sensors_device, dev_type;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050033type serial_device, dev_type;
34type socket_device, dev_type;
Stephen Smalley74ba8c82013-04-05 14:22:27 -040035type owntty_device, dev_type, mlstrustedobject;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050036type tty_device, dev_type;
37type urandom_device, dev_type;
38type video_device, dev_type;
39type vcs_device, dev_type;
40type zero_device, dev_type;
William Roberts80ea1d22012-05-31 09:44:51 -040041type fuse_device, dev_type;
Robert Craigf62af812013-01-30 13:17:14 -050042type iio_device, dev_type;
rpcraig905e3162012-12-07 06:11:14 -050043type ion_device, dev_type, mlstrustedobject;
hqjiang81039ab2012-07-10 14:36:22 -070044type gps_device, dev_type;
hqjiang4c06d272012-07-19 11:07:04 -070045type qtaguid_device, dev_type;
rpcraigbac99922012-12-03 06:07:45 -050046type watchdog_device, dev_type;
Robert Craig18b5f872013-01-07 09:21:18 -050047type uhid_device, dev_type;
Stephen Smalley9fc0d402014-03-26 15:37:54 -040048type uio_device, dev_type;
Robert Craig18b5f872013-01-07 09:21:18 -050049type tun_device, dev_type, mlstrustedobject;
Robert Craigf62af812013-01-30 13:17:14 -050050type usbaccessory_device, dev_type;
Robert Craig65d4f442013-03-27 06:30:25 -040051type usb_device, dev_type;
Alex Klyubin77ec8922013-05-09 12:39:32 -070052type klog_device, dev_type;
Geremy Condrac529c662013-02-28 17:33:16 -080053type properties_device, dev_type;
William Roberts7fa2f9e2012-05-31 09:40:12 -040054
55# All devices have a uart for the hci
56# attach service. The uart dev node
57# varies per device. This type
58# is used in per device policy
59type hci_attach_dev, dev_type;
hqjiangee5f4002012-07-11 11:21:05 -070060
Robert Craig65d4f442013-03-27 06:30:25 -040061# All devices have a rpmsg device for
hqjiangee5f4002012-07-11 11:21:05 -070062# achieving remoteproc and rpmsg modules
63type rpmsg_device, dev_type;
Robert Craigdfef99a2014-02-19 20:16:13 -050064
65# Partition layout block device
66type root_block_device, dev_type;
Andres Moralesd8447fd2014-07-09 15:18:32 -070067
dcashman47bd7302014-09-08 13:11:01 -070068# factory reset protection block device
69type frp_block_device, dev_type;