move bluetooth related types to bluetooth
Bug: 202790744 Test: boot with bluetooth hal started Change-Id: I615d4b13262af2bc2c044914e595a7c2085999d2
This commit is contained in:
parent
6e818988b6
commit
5c28519e40
10 changed files with 23 additions and 20 deletions
3
bluetooth/device.te
Normal file
3
bluetooth/device.te
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Bt Wifi Coexistence device
|
||||||
|
type wb_coexistence_dev, dev_type;
|
||||||
|
|
|
@ -1,2 +1,6 @@
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.1-service\.bcmbtlinux u:object_r:hal_bluetooth_btlinux_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.1-service\.bcmbtlinux u:object_r:hal_bluetooth_btlinux_exec:s0
|
||||||
|
|
||||||
|
/dev/wbrc u:object_r:wb_coexistence_dev:s0
|
||||||
|
/dev/ttySAC16 u:object_r:hci_attach_dev:s0
|
||||||
|
|
||||||
|
|
7
bluetooth/genfs_contexts
Normal file
7
bluetooth/genfs_contexts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
genfscon sysfs /devices/platform/odm/odm:btbcm/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
|
||||||
|
genfscon sysfs /devices/platform/odm/odm:btbcm/rfkill/rfkill2/state u:object_r:sysfs_bluetooth_writable:s0
|
||||||
|
genfscon proc /bluetooth/sleep/lpm u:object_r:proc_bluetooth_writable:s0
|
||||||
|
genfscon proc /bluetooth/sleep/btwrite u:object_r:proc_bluetooth_writable:s0
|
||||||
|
genfscon proc /bluetooth/sleep/btwake u:object_r:proc_bluetooth_writable:s0
|
||||||
|
genfscon proc /bluetooth/timesync u:object_r:proc_bluetooth_writable:s0
|
||||||
|
|
3
bluetooth/hwservice.te
Normal file
3
bluetooth/hwservice.te
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Bluetooth HAL extension
|
||||||
|
type hal_bluetooth_coexistence_hwservice, hwservice_manager_type, vendor_hwservice_type;
|
||||||
|
|
5
bluetooth/hwservice_contexts
Normal file
5
bluetooth/hwservice_contexts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Bluetooth HAL extension
|
||||||
|
hardware.google.bluetooth.bt_channel_avoidance::IBTChannelAvoidance u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
||||||
|
hardware.google.bluetooth.sar::IBluetoothSar u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
||||||
|
hardware.google.bluetooth.ccc::IBluetoothCcc u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
||||||
|
|
3
whitechapel/vendor/google/device.te
vendored
3
whitechapel/vendor/google/device.te
vendored
|
@ -18,9 +18,6 @@ type logbuffer_device, dev_type;
|
||||||
#cpuctl
|
#cpuctl
|
||||||
type cpuctl_device, dev_type;
|
type cpuctl_device, dev_type;
|
||||||
|
|
||||||
# Bt Wifi Coexistence device
|
|
||||||
type wb_coexistence_dev, dev_type;
|
|
||||||
|
|
||||||
# LWIS (Lightweight Imaging Subsystem) devices, used by Lyric camera HAL
|
# LWIS (Lightweight Imaging Subsystem) devices, used by Lyric camera HAL
|
||||||
type lwis_device, dev_type;
|
type lwis_device, dev_type;
|
||||||
|
|
||||||
|
|
2
whitechapel/vendor/google/file_contexts
vendored
2
whitechapel/vendor/google/file_contexts
vendored
|
@ -294,8 +294,6 @@
|
||||||
/dev/st33spi u:object_r:st33spi_device:s0
|
/dev/st33spi u:object_r:st33spi_device:s0
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
/dev/wbrc u:object_r:wb_coexistence_dev:s0
|
|
||||||
/dev/ttySAC16 u:object_r:hci_attach_dev:s0
|
|
||||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||||
/dev/logbuffer_tty16 u:object_r:logbuffer_device:s0
|
/dev/logbuffer_tty16 u:object_r:logbuffer_device:s0
|
||||||
|
|
||||||
|
|
6
whitechapel/vendor/google/genfs_contexts
vendored
6
whitechapel/vendor/google/genfs_contexts
vendored
|
@ -126,12 +126,6 @@ genfscon sysfs /devices/platform/cp-tm1/cp_temp u
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
genfscon sysfs /devices/platform/175b0000.serial/serial0/serial0-0/bluetooth/hci0/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
|
genfscon sysfs /devices/platform/175b0000.serial/serial0/serial0-0/bluetooth/hci0/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
|
||||||
genfscon sysfs /devices/platform/odm/odm:btbcm/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
|
|
||||||
genfscon sysfs /devices/platform/odm/odm:btbcm/rfkill/rfkill2/state u:object_r:sysfs_bluetooth_writable:s0
|
|
||||||
genfscon proc /bluetooth/sleep/lpm u:object_r:proc_bluetooth_writable:s0
|
|
||||||
genfscon proc /bluetooth/sleep/btwrite u:object_r:proc_bluetooth_writable:s0
|
|
||||||
genfscon proc /bluetooth/sleep/btwake u:object_r:proc_bluetooth_writable:s0
|
|
||||||
genfscon proc /bluetooth/timesync u:object_r:proc_bluetooth_writable:s0
|
|
||||||
|
|
||||||
# ODPM
|
# ODPM
|
||||||
genfscon sysfs /devices/platform/acpm_mfd_bus@17500000/i2c-6/i2c-s2mpg10mfd/s2mpg10-meter/s2mpg10-odpm/iio:device0/name u:object_r:sysfs_odpm:s0
|
genfscon sysfs /devices/platform/acpm_mfd_bus@17500000/i2c-6/i2c-s2mpg10mfd/s2mpg10-meter/s2mpg10-odpm/iio:device0/name u:object_r:sysfs_odpm:s0
|
||||||
|
|
3
whitechapel/vendor/google/hwservice.te
vendored
3
whitechapel/vendor/google/hwservice.te
vendored
|
@ -16,9 +16,6 @@ type hal_audio_ext_hwservice, hwservice_manager_type;
|
||||||
# WLC
|
# WLC
|
||||||
type hal_wlc_hwservice, hwservice_manager_type;
|
type hal_wlc_hwservice, hwservice_manager_type;
|
||||||
|
|
||||||
# Bluetooth HAL extension
|
|
||||||
type hal_bluetooth_coexistence_hwservice, hwservice_manager_type, vendor_hwservice_type;
|
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
type hal_fingerprint_ext_hwservice, hwservice_manager_type;
|
type hal_fingerprint_ext_hwservice, hwservice_manager_type;
|
||||||
|
|
||||||
|
|
5
whitechapel/vendor/google/hwservice_contexts
vendored
5
whitechapel/vendor/google/hwservice_contexts
vendored
|
@ -23,11 +23,6 @@ vendor.google.whitechapel.audio.audioext::IAudioExt u:object_r:hal_a
|
||||||
# Wireless charger hal
|
# Wireless charger hal
|
||||||
vendor.google.wireless_charger::IWirelessCharger u:object_r:hal_wlc_hwservice:s0
|
vendor.google.wireless_charger::IWirelessCharger u:object_r:hal_wlc_hwservice:s0
|
||||||
|
|
||||||
# Bluetooth HAL extension
|
|
||||||
hardware.google.bluetooth.bt_channel_avoidance::IBTChannelAvoidance u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
|
||||||
hardware.google.bluetooth.sar::IBluetoothSar u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
|
||||||
hardware.google.bluetooth.ccc::IBluetoothCcc u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon u:object_r:hal_fingerprint_ext_hwservice:s0
|
vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon u:object_r:hal_fingerprint_ext_hwservice:s0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue