Skip to content
Snippets Groups Projects
Select Git revision
  • android-7.1.2_r28_klist
  • master default protected
  • pie-cts-release
  • pie-vts-release
  • pie-cts-dev
  • oreo-mr1-iot-release
  • sdk-release
  • oreo-m6-s4-release
  • oreo-m4-s12-release
  • pie-release
  • pie-r2-release
  • pie-r2-s1-release
  • oreo-vts-release
  • oreo-cts-release
  • oreo-dev
  • oreo-mr1-dev
  • pie-gsi
  • pie-platform-release
  • pie-dev
  • oreo-cts-dev
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
  • android-9.0.0_r3
40 results

device.te

Blame
  • device.te 3.16 KiB
    # Device types
    type device, dev_type, fs_type;
    type alarm_device, dev_type, mlstrustedobject;
    type adb_device, dev_type;
    type ashmem_device, dev_type, mlstrustedobject;
    type audio_device, dev_type;
    type binder_device, dev_type, mlstrustedobject;
    type block_device, dev_type;
    type camera_device, dev_type;
    type dm_device, dev_type;
    type loop_device, dev_type;
    type pmsg_device, dev_type, mlstrustedobject;
    type radio_device, dev_type;
    type ram_device, dev_type;
    type rtc_device, dev_type;
    type vold_device, dev_type;
    type console_device, dev_type;
    type cpuctl_device, dev_type;
    type fscklogs, dev_type;
    type full_device, dev_type;
    # GPU (used by most UI apps)
    type gpu_device, dev_type, mlstrustedobject;
    type graphics_device, dev_type;
    type hw_random_device, dev_type;
    type input_device, dev_type;
    type kmem_device, dev_type;
    type log_device, dev_type, mlstrustedobject;
    type mtd_device, dev_type;
    type mtp_device, dev_type, mlstrustedobject;
    type nfc_device, dev_type;
    type ptmx_device, dev_type, mlstrustedobject;
    type kmsg_device, dev_type;
    type null_device, dev_type, mlstrustedobject;
    type random_device, dev_type, mlstrustedobject;
    type sensors_device, dev_type;
    type serial_device, dev_type;
    type socket_device, dev_type;
    type owntty_device, dev_type, mlstrustedobject;
    type tty_device, dev_type;
    type urandom_device, dev_type, mlstrustedobject;
    type video_device, dev_type;
    type vcs_device, dev_type;
    type zero_device, dev_type, mlstrustedobject;
    type fuse_device, dev_type;
    type iio_device, dev_type;
    type ion_device, dev_type, mlstrustedobject;
    type gps_device, dev_type;
    type qtaguid_device, dev_type;
    type watchdog_device, dev_type;
    type uhid_device, dev_type;
    type uio_device, dev_type;
    type tun_device, dev_type, mlstrustedobject;
    type usbaccessory_device, dev_type, mlstrustedobject;
    type usb_device, dev_type, mlstrustedobject;
    type klog_device, dev_type;
    type properties_device, dev_type;
    type properties_serial, dev_type;
    type i2c_device, dev_type;
    
    # All devices have a uart for the hci
    # attach service. The uart dev node
    # varies per device. This type
    # is used in per device policy
    type hci_attach_dev, dev_type;
    
    # All devices have a rpmsg device for
    # achieving remoteproc and rpmsg modules
    type rpmsg_device, dev_type;
    
    # Partition layout block device
    type root_block_device, dev_type;
    
    # factory reset protection block device
    type frp_block_device, dev_type;
    
    # System block device mounted on /system.
    type system_block_device, dev_type;
    
    # Recovery block device.
    type recovery_block_device, dev_type;
    
    # boot block device.
    type boot_block_device, dev_type;
    
    # Userdata block device mounted on /data.
    type userdata_block_device, dev_type;
    
    # Cache block device mounted on /cache.
    type cache_block_device, dev_type;
    
    # Block device for any swap partition.
    type swap_block_device, dev_type;
    
    # Metadata block device used for encryption metadata.
    # Assign this type to the partition specified by the encryptable=
    # mount option in your fstab file in the entry for userdata.
    type metadata_block_device, dev_type;
    
    # The 'misc' partition used by recovery and A/B.
    type misc_block_device, dev_type;
    
    # Bootctrl block device used by A/B update (update_engine, update_verifier).
    type bootctrl_block_device, dev_type;