Merge "gs-common: wlc: add tx update permission for hal_googlebattery" into main
This commit is contained in:
commit
6a42934470
4 changed files with 8 additions and 3 deletions
|
@ -1,2 +1,4 @@
|
||||||
|
# wlc permission for googlebattery
|
||||||
r_dir_file(hal_googlebattery, sysfs_wlc)
|
r_dir_file(hal_googlebattery, sysfs_wlc)
|
||||||
allow hal_googlebattery sysfs_wlc:file rw_file_perms;
|
allow hal_googlebattery sysfs_wlc:file rw_file_perms;
|
||||||
|
set_prop(hal_googlebattery, vendor_wlcservice_prop)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# wlcservice hal type and permission
|
||||||
type hal_wlcservice, domain;
|
type hal_wlcservice, domain;
|
||||||
type hal_wlcservice_exec, exec_type, vendor_file_type, file_type;
|
type hal_wlcservice_exec, exec_type, vendor_file_type, file_type;
|
||||||
|
|
||||||
|
@ -8,7 +9,7 @@ allow hal_wlcservice vendor_wlc_file:file create_file_perms;
|
||||||
allow hal_wlcservice hal_wireless_charger_service:service_manager find;
|
allow hal_wlcservice hal_wireless_charger_service:service_manager find;
|
||||||
allow hal_wlcservice kmsg_device:chr_file { getattr w_file_perms };
|
allow hal_wlcservice kmsg_device:chr_file { getattr w_file_perms };
|
||||||
|
|
||||||
get_prop(hal_wlcservice, vendor_wlcservice_test_prop)
|
set_prop(hal_wlcservice, vendor_wlcservice_prop)
|
||||||
|
|
||||||
binder_call(hal_wlcservice, servicemanager)
|
binder_call(hal_wlcservice, servicemanager)
|
||||||
add_service(hal_wlcservice, hal_wlcservice_service)
|
add_service(hal_wlcservice, hal_wlcservice_service)
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
vendor_internal_prop(vendor_wlcservice_test_prop)
|
# wlcservice property
|
||||||
|
vendor_internal_prop(vendor_wlcservice_prop)
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
vendor.wlcservice.test.authentication u:object_r:vendor_wlcservice_test_prop:s0 exact bool
|
vendor.wlcservice.test.authentication u:object_r:vendor_wlcservice_prop:s0 exact bool
|
||||||
|
vendor.wlcservice.fwupdate.tx u:object_r:vendor_wlcservice_prop:s0 exact enum 0 1 2 3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue