davinci: parts: Implement popup motor calibration

Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: If1f6c757cbf521fd27f7124284f40ea602f53ba8
This commit is contained in:
jhenrique09
2019-11-27 05:52:23 +00:00
committed by Arian
parent b97294d58f
commit 027a842a58
7 changed files with 160 additions and 14 deletions

View File

@@ -7,6 +7,8 @@ hal_server_domain(hal_motor_default, hal_motor)
binder_call(hal_motor_client, hal_motor_server)
binder_call(hal_motor_default, system_app)
type hal_motor_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_motor_default)
@@ -16,8 +18,8 @@ allow hal_motor_client hal_motor_hwservice_xiaomi:hwservice_manager find;
allow hal_motor_default hall_device:chr_file rw_file_perms;
allow hal_motor_default motor_device:chr_file rw_file_perms;
allow hal_motor_default persist_sensors_file:dir search;
allow hal_motor_default persist_sensors_file:file r_file_perms;
allow hal_motor_default persist_sensors_file:dir rw_dir_perms;
allow hal_motor_default persist_sensors_file:file rw_file_perms;
allow hal_motor_default mnt_vendor_file:dir { search };