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 mfg_data_block_device, dev_type;
|
||||
type ufs_internal_block_device, dev_type;
|
||||
type logbuffer_device, dev_type;
|
||||
type fingerprint_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
|
||||
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;
|
||||
type ufs_firmware_update_exec, vendor_file_type, exec_type, file_type;
|
||||
|
||||
# ufs ffu
|
||||
userdebug_or_eng(`
|
||||
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_scsi_devices_0000:file r_file_perms;
|
||||
')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue