Merge "android.hardware.usb.IUsb AIDL migration"
This commit is contained in:
commit
c49520d66e
4 changed files with 17 additions and 6 deletions
3
whitechapel/vendor/google/file_contexts
vendored
3
whitechapel/vendor/google/file_contexts
vendored
|
@ -7,7 +7,8 @@
|
||||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.ExynosHWCServiceTW@1\.0-service u:object_r:hal_vendor_hwcservice_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.ExynosHWCServiceTW@1\.0-service u:object_r:hal_vendor_hwcservice_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.power@1\.0-service u:object_r:hal_power_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.power@1\.0-service u:object_r:hal_power_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.configstore@1\.0-service u:object_r:hal_configstore_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.configstore@1\.0-service u:object_r:hal_configstore_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.3-service\.gs101 u:object_r:hal_usb_impl_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb-service\.gs101 u:object_r:hal_usb_impl_exec:s0
|
||||||
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb\.gadget-service\.gs101 u:object_r:hal_usb_gadget_impl_exec:s0
|
||||||
/(vendor|system/vendor)/lib(64)?/libion_exynos\.so u:object_r:same_process_hal_file:s0
|
/(vendor|system/vendor)/lib(64)?/libion_exynos\.so u:object_r:same_process_hal_file:s0
|
||||||
|
|
||||||
/(vendor|system/vendor)/lib(64)?/libOpenCL\.so u:object_r:same_process_hal_file:s0
|
/(vendor|system/vendor)/lib(64)?/libOpenCL\.so u:object_r:same_process_hal_file:s0
|
||||||
|
|
14
whitechapel/vendor/google/hal_usb_gadget_impl.te
vendored
Normal file
14
whitechapel/vendor/google/hal_usb_gadget_impl.te
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
type hal_usb_gadget_impl, domain;
|
||||||
|
hal_server_domain(hal_usb_gadget_impl, hal_usb)
|
||||||
|
hal_server_domain(hal_usb_gadget_impl, hal_usb_gadget)
|
||||||
|
|
||||||
|
type hal_usb_gadget_impl_exec, vendor_file_type, exec_type, file_type;
|
||||||
|
init_daemon_domain(hal_usb_gadget_impl)
|
||||||
|
|
||||||
|
allow hal_usb_gadget_impl configfs:dir { create rmdir };
|
||||||
|
allow hal_usb_gadget_impl functionfs:dir { watch watch_reads };
|
||||||
|
set_prop(hal_usb_gadget_impl, vendor_usb_config_prop)
|
||||||
|
|
||||||
|
allow hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_perms;
|
||||||
|
allow hal_usb_gadget_impl sysfs_batteryinfo:file rw_file_perms;
|
||||||
|
allow hal_usb_gadget_impl sysfs_extcon:dir search;
|
5
whitechapel/vendor/google/hal_usb_impl.te
vendored
5
whitechapel/vendor/google/hal_usb_impl.te
vendored
|
@ -1,14 +1,9 @@
|
||||||
type hal_usb_impl, domain;
|
type hal_usb_impl, domain;
|
||||||
hal_server_domain(hal_usb_impl, hal_usb)
|
hal_server_domain(hal_usb_impl, hal_usb)
|
||||||
hal_server_domain(hal_usb_impl, hal_usb_gadget)
|
|
||||||
|
|
||||||
type hal_usb_impl_exec, vendor_file_type, exec_type, file_type;
|
type hal_usb_impl_exec, vendor_file_type, exec_type, file_type;
|
||||||
init_daemon_domain(hal_usb_impl)
|
init_daemon_domain(hal_usb_impl)
|
||||||
|
|
||||||
allow hal_usb_impl configfs:dir { create rmdir };
|
|
||||||
allow hal_usb_impl functionfs:dir { watch watch_reads };
|
|
||||||
set_prop(hal_usb_impl, vendor_usb_config_prop)
|
|
||||||
|
|
||||||
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
|
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
|
||||||
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
|
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
|
||||||
allow hal_usb_impl sysfs_extcon:dir search;
|
allow hal_usb_impl sysfs_extcon:dir search;
|
||||||
|
|
1
whitechapel/vendor/google/system_server.te
vendored
1
whitechapel/vendor/google/system_server.te
vendored
|
@ -3,6 +3,7 @@ binder_call(system_server, gpsd);
|
||||||
binder_call(system_server, hal_camera_default);
|
binder_call(system_server, hal_camera_default);
|
||||||
# Allow system server to find vendor uwb service
|
# Allow system server to find vendor uwb service
|
||||||
allow system_server uwb_vendor_service:service_manager find;
|
allow system_server uwb_vendor_service:service_manager find;
|
||||||
|
allow system_server hal_usb_service:service_manager find;
|
||||||
|
|
||||||
# pixelstats_vendor/OrientationCollector
|
# pixelstats_vendor/OrientationCollector
|
||||||
binder_call(system_server, pixelstats_vendor)
|
binder_call(system_server, pixelstats_vendor)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue