summaryrefslogtreecommitdiff
path: root/sepolicy/vendor/file_contexts
blob: 04f6cec2ff0b6be0e2da2a1c2027257787694952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Biometric
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_sdm660   u:object_r:hal_fingerprint_sdm660_exec:s0

# Fingerprint
/data/gf_data(/.*)?                             u:object_r:fingerprintd_data_file:s0
/data/vendor/fpc(/.*)?                          u:object_r:fingerprint_vendor_data_file:s0
/data/vendor/gf_data(/.*)?                      u:object_r:fingerprint_vendor_data_file:s0
/data/vendor/goodix(/.*)?                       u:object_r:fingerprint_vendor_data_file:s0
/dev/goodix_fp                                  u:object_r:fingerprint_device:s0

# Firmware
/firmware                                       u:object_r:firmware_file:s0
/bt_firmware                                    u:object_r:bt_firmware_file:s0

# Hexagon DSP-side executable needed for Halide operation
# This is labeled as public_adsprpcd_file as it needs to be read by apps
# (e.g. Google Camera App)
/mnt/vendor/dsp/fastrpc_shell_3                 u:object_r:public_adsprpcd_file:s0

# IR
/dev/lirc0                                      u:object_r:spidev_device:s0
/dev/spidev7.1                                  u:object_r:spidev_device:s0

# IR HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service\.xiaomi_sdm660                        u:object_r:hal_ir_default_exec:s0

# Light HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sdm660                     u:object_r:hal_light_default_exec:s0

# Mlipay
/(vendor|system/vendor)/bin/mlipayd@1.1         u:object_r:hal_mlipay_default_exec:s0

# Root files
/persist(/.*)?                                  u:object_r:mnt_vendor_file:s0

# Thermal
/data/vendor/thermal(/.*)?                      u:object_r:thermal_data_file:s0