storage: move storage related device type to common folder
Bug: 364225000 Test: forrest build Change-Id: I3fb2a9a46d00ac27931ee8c1ad7b3ceef0920cdb Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
parent
2f8ab31157
commit
21194d2dc3
4 changed files with 6 additions and 8 deletions
4
legacy/zuma/vendor/device.te
vendored
4
legacy/zuma/vendor/device.te
vendored
|
@ -1,7 +1,6 @@
|
||||||
type persist_block_device, dev_type;
|
# device.te
|
||||||
type custom_ab_block_device, dev_type;
|
type custom_ab_block_device, dev_type;
|
||||||
type mfg_data_block_device, dev_type;
|
type mfg_data_block_device, dev_type;
|
||||||
type ufs_internal_block_device, dev_type;
|
|
||||||
type logbuffer_device, dev_type;
|
type logbuffer_device, dev_type;
|
||||||
type fingerprint_device, dev_type;
|
type fingerprint_device, dev_type;
|
||||||
type uci_device, dev_type;
|
type uci_device, dev_type;
|
||||||
|
@ -15,3 +14,4 @@ type gcma_camera_heap_device, dmabuf_heap_device_type, dev_type;
|
||||||
|
|
||||||
# SecureElement SPI device
|
# SecureElement SPI device
|
||||||
type st54spi_device, dev_type;
|
type st54spi_device, dev_type;
|
||||||
|
|
||||||
|
|
5
legacy/zuma/vendor/ufs_firmware_update.te
vendored
5
legacy/zuma/vendor/ufs_firmware_update.te
vendored
|
@ -1,6 +1,4 @@
|
||||||
type ufs_firmware_update, domain;
|
# ufs ffu
|
||||||
type ufs_firmware_update_exec, vendor_file_type, exec_type, file_type;
|
|
||||||
|
|
||||||
userdebug_or_eng(`
|
userdebug_or_eng(`
|
||||||
init_daemon_domain(ufs_firmware_update)
|
init_daemon_domain(ufs_firmware_update)
|
||||||
|
|
||||||
|
@ -10,3 +8,4 @@ userdebug_or_eng(`
|
||||||
allow ufs_firmware_update sysfs:dir r_dir_perms;
|
allow ufs_firmware_update sysfs:dir r_dir_perms;
|
||||||
allow ufs_firmware_update sysfs_scsi_devices_0000:file r_file_perms;
|
allow ufs_firmware_update sysfs_scsi_devices_0000:file r_file_perms;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
|
# radio
|
||||||
type modem_block_device, dev_type;
|
type modem_block_device, dev_type;
|
||||||
type modem_userdata_block_device, dev_type;
|
|
||||||
type efs_block_device, dev_type;
|
|
||||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -22,7 +22,6 @@
|
||||||
/vendor/bin/chre u:object_r:chre_exec:s0
|
/vendor/bin/chre u:object_r:chre_exec:s0
|
||||||
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust\.trusty u:object_r:hal_keymint_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust\.trusty u:object_r:hal_keymint_default_exec:s0
|
||||||
/vendor/bin/hw/android\.hardware\.security\.secretkeeper\.trusty u:object_r:hal_secretkeeper_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.security\.secretkeeper\.trusty u:object_r:hal_secretkeeper_default_exec:s0
|
||||||
/vendor/bin/ufs_firmware_update\.sh u:object_r:ufs_firmware_update_exec:s0
|
|
||||||
/vendor/bin/hw/qfp-daemon u:object_r:hal_fingerprint_default_exec:s0
|
/vendor/bin/hw/qfp-daemon u:object_r:hal_fingerprint_default_exec:s0
|
||||||
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.goodix u:object_r:hal_fingerprint_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.goodix u:object_r:hal_fingerprint_default_exec:s0
|
||||||
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.goodix u:object_r:hal_fingerprint_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.goodix u:object_r:hal_fingerprint_default_exec:s0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue