Merge "Add new ITouchContextService interface to twoshay" into sc-dev

This commit is contained in:
Steve Pfetsch 2021-04-02 18:01:02 +00:00 committed by Android (Google) Code Review
commit 48f88fb26b
4 changed files with 8 additions and 1 deletions

View file

@ -5,4 +5,7 @@ allow platform_app hal_wlc_hwservice:hwservice_manager find;
binder_call(platform_app, hal_wlc) binder_call(platform_app, hal_wlc)
allow platform_app fwk_stats_hwservice:hwservice_manager find; allow platform_app fwk_stats_hwservice:hwservice_manager find;
allow platform_app nfc_service:service_manager find; allow platform_app nfc_service:service_manager find;
allow platform_app touch_context_service:service_manager find;
binder_call(platform_app, twoshay)

View file

@ -1,2 +1,3 @@
type hal_pixel_display_service, service_manager_type, vendor_service; type hal_pixel_display_service, service_manager_type, vendor_service;
type uwb_service, service_manager_type; type uwb_service, service_manager_type;
type touch_context_service, service_manager_type, vendor_service;

View file

@ -1,4 +1,5 @@
# EdgeTPU service # EdgeTPU service
com.google.edgetpu.IEdgeTpuService/default u:object_r:edgetpu_service:s0 com.google.edgetpu.IEdgeTpuService/default u:object_r:edgetpu_service:s0
com.google.hardware.pixel.display.IDisplay/default u:object_r:hal_pixel_display_service:s0 com.google.hardware.pixel.display.IDisplay/default u:object_r:hal_pixel_display_service:s0
com.google.input.ITouchContextService/default u:object_r:touch_context_service:s0
uwb u:object_r:uwb_service:s0 uwb u:object_r:uwb_service:s0

View file

@ -6,3 +6,5 @@ init_daemon_domain(twoshay)
allow twoshay touch_offload_device:chr_file rw_file_perms; allow twoshay touch_offload_device:chr_file rw_file_perms;
allow twoshay twoshay:capability sys_nice; allow twoshay twoshay:capability sys_nice;
binder_use(twoshay)
add_service(twoshay, touch_context_service)