Add new ITouchContextService interface to twoshay

Bug: 174626987
Test: boot, see no denials

Change-Id: I963d5b77969571182b94c4265653c5d22e124247
This commit is contained in:
Michael Wright 2021-03-20 11:32:02 +00:00 committed by Steve Pfetsch
parent e8ac32ef2e
commit 98c223e862
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)
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 uwb_service, service_manager_type;
type touch_context_service, service_manager_type, vendor_service;

View file

@ -1,4 +1,5 @@
# EdgeTPU service
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.input.ITouchContextService/default u:object_r:touch_context_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 twoshay:capability sys_nice;
binder_use(twoshay)
add_service(twoshay, touch_context_service)