Merge "Tuner Hal 1.0 Enable ITuner service" am: 3e7429359f am: 3b62596f4f

am: 11739f3126

Change-Id: I39a8e96dc804f0bf6a31e878c6957b0f8c08669f
This commit is contained in:
Amy Zhang 2019-08-15 14:22:38 -07:00 committed by android-build-merger
commit a588ba4e3e
8 changed files with 15 additions and 0 deletions

View file

@ -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
linker_prop
ota_metadata_file

View file

@ -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

View file

@ -288,6 +288,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
View 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)

View file

@ -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;

View file

@ -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;

View file

@ -56,6 +56,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
View 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)