Skip to content
Snippets Groups Projects
Commit c3e9ff90 authored by Todd Poynor's avatar Todd Poynor Committed by Tri Vo
Browse files

remove thermalcallback_hwservice

This hwservice isn't registered with hwservicemanager but rather passed
to the thermal hal, so it doesn't need sepolicy associated with it to
do so.

Test: manual: boot, inspect logs
Test: VtsHalThermalV1_1TargetTest
Bug: 109802374
Change-Id: Ifb727572bf8eebddc58deba6c0ce513008e01861
Merged-In: Ifb727572bf8eebddc58deba6c0ce513008e01861
(cherry picked from commit c6afcb7f)
parent d1ff81c2
No related branches found
No related tags found
No related merge requests found
...@@ -231,7 +231,6 @@ neverallow all_untrusted_apps { ...@@ -231,7 +231,6 @@ neverallow all_untrusted_apps {
hal_wifi_supplicant_hwservice hal_wifi_supplicant_hwservice
hidl_base_hwservice hidl_base_hwservice
system_net_netd_hwservice system_net_netd_hwservice
thermalcallback_hwservice
}:hwservice_manager find; }:hwservice_manager find;
# HwBinder services offered by core components (as opposed to vendor components) # HwBinder services offered by core components (as opposed to vendor components)
# are considered somewhat safer due to point #2 above. # are considered somewhat safer due to point #2 above.
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
(type rild) (type rild)
(type webview_zygote_socket) (type webview_zygote_socket)
(type vold_socket) (type vold_socket)
(type thermalcallback_hwservice)
(expandtypeattribute (accessibility_service_27_0) true) (expandtypeattribute (accessibility_service_27_0) true)
(expandtypeattribute (account_service_27_0) true) (expandtypeattribute (account_service_27_0) true)
......
...@@ -49,7 +49,6 @@ android.hardware.soundtrigger::ISoundTriggerHw u:object_r:hal_a ...@@ -49,7 +49,6 @@ android.hardware.soundtrigger::ISoundTriggerHw u:object_r:hal_a
android.hardware.tetheroffload.config::IOffloadConfig u:object_r:hal_tetheroffload_hwservice:s0 android.hardware.tetheroffload.config::IOffloadConfig u:object_r:hal_tetheroffload_hwservice:s0
android.hardware.tetheroffload.control::IOffloadControl u:object_r:hal_tetheroffload_hwservice:s0 android.hardware.tetheroffload.control::IOffloadControl u:object_r:hal_tetheroffload_hwservice:s0
android.hardware.thermal::IThermal u:object_r:hal_thermal_hwservice:s0 android.hardware.thermal::IThermal u:object_r:hal_thermal_hwservice:s0
android.hardware.thermal::IThermalCallback u:object_r:thermalcallback_hwservice:s0
android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0
android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0 android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0
android.hardware.usb::IUsb u:object_r:hal_usb_hwservice:s0 android.hardware.usb::IUsb u:object_r:hal_usb_hwservice:s0
......
...@@ -59,4 +59,3 @@ type hidl_memory_hwservice, hwservice_manager_type, coredomain_hwservice; ...@@ -59,4 +59,3 @@ type hidl_memory_hwservice, hwservice_manager_type, coredomain_hwservice;
type hidl_token_hwservice, hwservice_manager_type, coredomain_hwservice; type hidl_token_hwservice, hwservice_manager_type, coredomain_hwservice;
type system_net_netd_hwservice, hwservice_manager_type, coredomain_hwservice; type system_net_netd_hwservice, hwservice_manager_type, coredomain_hwservice;
type system_wifi_keystore_hwservice, hwservice_manager_type, coredomain_hwservice; type system_wifi_keystore_hwservice, hwservice_manager_type, coredomain_hwservice;
type thermalcallback_hwservice, hwservice_manager_type;
...@@ -8,6 +8,5 @@ add_service(thermalserviced, thermal_service) ...@@ -8,6 +8,5 @@ add_service(thermalserviced, thermal_service)
hwbinder_use(thermalserviced) hwbinder_use(thermalserviced)
hal_client_domain(thermalserviced, hal_thermal) hal_client_domain(thermalserviced, hal_thermal)
add_hwservice(thermalserviced, thermalcallback_hwservice)
binder_call(thermalserviced, platform_app) binder_call(thermalserviced, platform_app)
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