Skip to content
Snippets Groups Projects
Commit 1cef6a94 authored by Yifan Hong's avatar Yifan Hong
Browse files

health.filesystem HAL renamed to health.storage

...to reflect that the HAL operates on storage devices,
not filesystem.

Bug: 111655771
Test: compiles
Change-Id: Ibb0572cb1878359e5944aa6711331f0c7993ba6e
Merged-In: Ibb0572cb1878359e5944aa6711331f0c7993ba6e
parent 342362ae
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@
hal_codec2_hwservice
hal_confirmationui_hwservice
hal_evs_hwservice
hal_health_filesystem_hwservice
hal_health_storage_hwservice
hal_lowpan_hwservice
hal_neuralnetworks_hwservice
hal_secure_element_hwservice
......
......@@ -56,7 +56,7 @@
hal_codec2_hwservice
hal_confirmationui_hwservice
hal_evs_hwservice
hal_health_filesystem_hwservice
hal_health_storage_hwservice
hal_lowpan_hwservice
hal_secure_element_hwservice
hal_system_suspend_default
......
......@@ -9,7 +9,7 @@
biometric_prompt_service
fastbootd
color_display_service
hal_health_filesystem_hwservice
hal_health_storage_hwservice
hal_system_suspend_default
hal_system_suspend_default_exec
hal_system_suspend_default_tmpfs
......
......@@ -27,7 +27,7 @@ android.hardware.graphics.allocator::IAllocator u:object_r:hal_g
android.hardware.graphics.composer::IComposer u:object_r:hal_graphics_composer_hwservice:s0
android.hardware.graphics.mapper::IMapper u:object_r:hal_graphics_mapper_hwservice:s0
android.hardware.health::IHealth u:object_r:hal_health_hwservice:s0
android.hardware.health.filesystem::IFileSystem u:object_r:hal_health_filesystem_hwservice:s0
android.hardware.health.storage::IStorage u:object_r:hal_health_storage_hwservice:s0
android.hardware.ir::IConsumerIr u:object_r:hal_ir_hwservice:s0
android.hardware.keymaster::IKeymasterDevice u:object_r:hal_keymaster_hwservice:s0
android.hardware.light::ILight u:object_r:hal_light_hwservice:s0
......
......@@ -258,7 +258,7 @@ hal_attribute(gnss);
hal_attribute(graphics_allocator);
hal_attribute(graphics_composer);
hal_attribute(health);
hal_attribute(health_filesystem);
hal_attribute(health_storage);
hal_attribute(ir);
hal_attribute(keymaster);
hal_attribute(light);
......
# HwBinder IPC from client to server, and callbacks
binder_call(hal_health_filesystem_client, hal_health_filesystem_server)
binder_call(hal_health_filesystem_server, hal_health_filesystem_client)
hal_attribute_hwservice(hal_health_filesystem, hal_health_filesystem_hwservice)
# HwBinder IPC from client to server, and callbacks
binder_call(hal_health_storage_client, hal_health_storage_server)
binder_call(hal_health_storage_server, hal_health_storage_client)
hal_attribute_hwservice(hal_health_storage, hal_health_storage_hwservice)
......@@ -24,7 +24,7 @@ type hal_graphics_allocator_hwservice, hwservice_manager_type;
type hal_graphics_composer_hwservice, hwservice_manager_type;
type hal_graphics_mapper_hwservice, hwservice_manager_type, same_process_hwservice;
type hal_health_hwservice, hwservice_manager_type;
type hal_health_filesystem_hwservice, hwservice_manager_type;
type hal_health_storage_hwservice, hwservice_manager_type;
type hal_ir_hwservice, hwservice_manager_type;
type hal_keymaster_hwservice, hwservice_manager_type;
type hal_light_hwservice, hwservice_manager_type;
......
......@@ -166,8 +166,8 @@ binder_call(vold, healthd)
# talk to keymaster
hal_client_domain(vold, hal_keymaster)
# talk to health filesystem HAL
hal_client_domain(vold, hal_health_filesystem)
# talk to health storage HAL
hal_client_domain(vold, hal_health_storage)
# Access userdata block device.
allow vold userdata_block_device:blk_file rw_file_perms;
......@@ -268,7 +268,7 @@ neverallow { domain -vold -init } restorecon_prop:property_service set;
neverallow { domain -system_server -vdc -vold } vold_service:service_manager find;
neverallow vold {
domain
-hal_health_filesystem_server
-hal_health_storage_server
-hal_keymaster_server
-hal_system_suspend_server
-healthd
......
......@@ -26,7 +26,7 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.graphics\.composer@2\.2-service u:object_r:hal_graphics_composer_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.health@1\.0-service u:object_r:hal_health_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.health@2\.0-service u:object_r:hal_health_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.health\.filesystem@1\.0-service u:object_r:hal_health_filesystem_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.health\.storage@1\.0-service u:object_r:hal_health_storage_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service u:object_r:hal_ir_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@3\.0-service u:object_r:hal_keymaster_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service u:object_r:hal_keymaster_default_exec:s0
......
type hal_health_filesystem_default, domain;
hal_server_domain(hal_health_filesystem_default, hal_health_filesystem)
type hal_health_filesystem_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_health_filesystem_default)
type hal_health_storage_default, domain;
hal_server_domain(hal_health_storage_default, hal_health_storage)
type hal_health_storage_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_health_storage_default)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment