[ALPS03934549] MTKLogger support for LogHandler
[Solution] MTKLogger support for LogHandler MTK-Commit-Id: 58a1ac0f72764fced2c0eac8421160d42d90b05c Change-Id: I5117ffb2b12707e4819938553f580a440a9ae6a2 CR-Id: ALPS03934549 Feature: MTKLogger
This commit is contained in:
parent
ad31bd41ee
commit
146cf88d6f
@ -51,3 +51,9 @@ attribute hal_nvramagent_server;
|
||||
attribute mtk_hal_fm;
|
||||
attribute mtk_hal_fm_client;
|
||||
attribute mtk_hal_fm_server;
|
||||
|
||||
# Date: 2018/03/23
|
||||
# log hidl
|
||||
attribute mtk_hal_log;
|
||||
attribute mtk_hal_log_client;
|
||||
attribute mtk_hal_log_server;
|
||||
|
@ -7,7 +7,8 @@
|
||||
type connsyslogger,domain;
|
||||
type connsyslogger_exec, exec_type, file_type, vendor_file_type;
|
||||
typeattribute connsyslogger mlstrustedsubject;
|
||||
|
||||
# Purpose : for create hidl server
|
||||
hal_server_domain(connsyslogger, mtk_hal_log)
|
||||
# ==============================================
|
||||
# MTK Policy Rule
|
||||
# ==============================================
|
||||
|
@ -34,3 +34,7 @@ type mtk_hal_keyattestation_hwservice, hwservice_manager_type;
|
||||
# Date: 2018/05/25
|
||||
# FM HIDL
|
||||
type mtk_hal_fm_hwservice, hwservice_manager_type;
|
||||
|
||||
# Date: 2018/03/23
|
||||
# log hidl
|
||||
type mtk_hal_log_hwservice, hwservice_manager_type;
|
||||
|
@ -41,3 +41,7 @@ vendor.mediatek.hardware.keymaster_attestation::IKeymasterDevice u:object_r:mtk_
|
||||
# Date: 2018/05/25
|
||||
# FM HIDL
|
||||
vendor.mediatek.hardware.fm::IFmRadio u:object_r:mtk_hal_fm_hwservice:s0
|
||||
|
||||
# Date: 2018/03/23
|
||||
# log hidl
|
||||
vendor.mediatek.hardware.log::ILog u:object_r:mtk_hal_log_hwservice:s0
|
||||
|
6
non_plat/mtk_hal_log.te
Normal file
6
non_plat/mtk_hal_log.te
Normal file
@ -0,0 +1,6 @@
|
||||
# HwBinder IPC from client to server, and callbacks
|
||||
binder_call(mtk_hal_log_client, mtk_hal_log_server)
|
||||
binder_call(mtk_hal_log_server, mtk_hal_log_client)
|
||||
|
||||
add_hwservice(mtk_hal_log_server, mtk_hal_log_hwservice)
|
||||
allow mtk_hal_log_client mtk_hal_log_hwservice:hwservice_manager find;
|
@ -96,4 +96,10 @@ allow platform_app aee_exp_vendor_file:file { read getattr open };
|
||||
# Date : WK18.21
|
||||
# Operation : Migration
|
||||
# Purpose : Do FM operation via mtk_hal_fm
|
||||
hal_client_domain(platform_app, mtk_hal_fm)
|
||||
hal_client_domain(platform_app, mtk_hal_fm)
|
||||
|
||||
# Date: 2018/03/23
|
||||
# Operation : Migration
|
||||
# Purpose : MTKLogger need connect to log hidl server
|
||||
# Package: com.mediatek.mtklogger
|
||||
hal_client_domain(platform_app, mtk_hal_log)
|
||||
|
Loading…
x
Reference in New Issue
Block a user