From 435e86bc0c080cc771c0cb1050eb6c40cef0b09f Mon Sep 17 00:00:00 2001 From: "yuhui.zhang" Date: Sat, 18 Jan 2020 10:06:40 +0800 Subject: [PATCH] [ALPS04077496] EM: move BT to vendor hidl [Detail] BT relayer mode cound not started by coredomain. So move EM BT relayer mode to vendor hidl MTK-Commit-Id: 45eb778653e1e8bdb0b06d26e8005b85191da098 Change-Id: I4a28f8cb44e116c193d5499de433ff3c49f0dbfd CR-Id: ALPS04077496 Feature: Engineering Mode --- non_plat/em_hidl.te | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/non_plat/em_hidl.te b/non_plat/em_hidl.te index 36004fd..fa6bf00 100644 --- a/non_plat/em_hidl.te +++ b/non_plat/em_hidl.te @@ -112,3 +112,10 @@ allow em_hidl nvdata_file:file { getattr read open }; allow em_hidl mnt_vendor_file:dir search; allow em_hidl vendor_default_prop:file read; +# Data : 2018/08/10 +# Purpose : EM BT usage +allow em_hidl stpbt_device:chr_file { read write open }; +allow em_hidl sysfs_boot_mode:file { read open }; +allow em_hidl ttyGS_device:chr_file { read write ioctl open }; +allow em_hidl vendor_usb_prop:file { read getattr open }; +set_prop(em_hidl, vendor_usb_prop)