Tuner Hal 1.0 Enable ITuner service
Test: cuttlefish Bug: 135708935 Change-Id: Ica063458860df45f0e2ab640a2ab35cd4da3da8e
This commit is contained in:
parent
95c9b61d3c
commit
89b4bbd4d8
8 changed files with 15 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
device_config_sys_traced_prop
|
||||
hal_can_bus_hwservice
|
||||
hal_can_controller_hwservice
|
||||
hal_tv_tuner_hwservice
|
||||
init_svc_debug_prop
|
||||
ota_metadata_file
|
||||
runtime_apex_dir
|
||||
|
|
|
@ -64,6 +64,7 @@ android.hardware.thermal::IThermal u:object_r:hal_t
|
|||
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.input::ITvInput u:object_r:hal_tv_input_hwservice:s0
|
||||
android.hardware.tv.tuner::ITuner u:object_r:hal_tv_tuner_hwservice:s0
|
||||
android.hardware.usb::IUsb u:object_r:hal_usb_hwservice:s0
|
||||
android.hardware.usb.gadget::IUsbGadget u:object_r:hal_usb_gadget_hwservice:s0
|
||||
android.hardware.vibrator::IVibrator u:object_r:hal_vibrator_hwservice:s0
|
||||
|
|
|
@ -287,6 +287,7 @@ hal_attribute(tetheroffload);
|
|||
hal_attribute(thermal);
|
||||
hal_attribute(tv_cec);
|
||||
hal_attribute(tv_input);
|
||||
hal_attribute(tv_tuner);
|
||||
hal_attribute(usb);
|
||||
hal_attribute(usb_gadget);
|
||||
hal_attribute(vehicle);
|
||||
|
|
4
public/hal_tv_tuner.te
Normal file
4
public/hal_tv_tuner.te
Normal file
|
@ -0,0 +1,4 @@
|
|||
binder_call(hal_tv_tuner_client, hal_tv_tuner_server)
|
||||
binder_call(hal_tv_tuner_server, hal_tv_tuner_client)
|
||||
|
||||
hal_attribute_hwservice(hal_tv_tuner, hal_tv_tuner_hwservice)
|
|
@ -52,6 +52,7 @@ type hal_tetheroffload_hwservice, hwservice_manager_type;
|
|||
type hal_thermal_hwservice, hwservice_manager_type;
|
||||
type hal_tv_cec_hwservice, hwservice_manager_type;
|
||||
type hal_tv_input_hwservice, hwservice_manager_type;
|
||||
type hal_tv_tuner_hwservice, hwservice_manager_type;
|
||||
type hal_usb_hwservice, hwservice_manager_type;
|
||||
type hal_usb_gadget_hwservice, hwservice_manager_type;
|
||||
type hal_vehicle_hwservice, hwservice_manager_type;
|
||||
|
|
|
@ -93,6 +93,7 @@ userdebug_or_eng(`
|
|||
typeattribute su hal_thermal_client;
|
||||
typeattribute su hal_tv_cec_client;
|
||||
typeattribute su hal_tv_input_client;
|
||||
typeattribute su hal_tv_tuner_client;
|
||||
typeattribute su hal_usb_client;
|
||||
typeattribute su hal_vibrator_client;
|
||||
typeattribute su hal_vr_client;
|
||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -53,6 +53,7 @@
|
|||
/(vendor|system/vendor)/bin/hw/android\.hardware\.thermal@1\.[01]-service u:object_r:hal_thermal_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.cec@1\.0-service u:object_r:hal_tv_cec_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.input@1\.0-service u:object_r:hal_tv_input_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.tuner@1\.0-service u:object_r:hal_tv_tuner_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.0-service u:object_r:hal_usb_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_default_exec:s0
|
||||
|
|
5
vendor/hal_tv_tuner_default.te
vendored
Normal file
5
vendor/hal_tv_tuner_default.te
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
type hal_tv_tuner_default, domain;
|
||||
hal_server_domain(hal_tv_tuner_default, hal_tv_tuner)
|
||||
|
||||
type hal_tv_tuner_default_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(hal_tv_tuner_default)
|
Loading…
Reference in a new issue