Code Lin
da52ff0805
[ALPS04431920] NP: Add MDLA device SEPolicy
...
Add MDLA device SEPolicy.
MTK-Commit-Id: 097bfbf9de8c3c8760f436ca8f1964037c4ab7f6
Change-Id: Ie4aaab4fc28eb1daf0d6c88cbe4e86f0f59444af
CR-Id: ALPS04431920
Feature: NeuroPilot
2020-01-18 10:12:37 +08:00
Zhongchao Xia
bed757c9c8
Merge "[ALPS04382560] MDP: open mdp device fail" into alps-trunk-q0.basic
...
Change-Id: I32eb257de568b42ee3405d57bfeb1407addc0836
MTK-Commit-Id: 4c9bdb05011d86bf33434ada19b957201cfe69a2
2020-01-18 10:12:33 +08:00
Zhongchao Xia
379de5a9b0
[ALPS04382560] MDP: open mdp device fail
...
[Detail]
1. Change /proc/mdp/device to /dev/mdp_device
2. Modify kernel driver change device node
3. Modify init.rc change device owner
4. Add selinux policy
MTK-Commit-Id: 08cf6d6ee97647a5f1262f475b79b420b616e527
Change-Id: I2bd7ee983116294dd62f247a9d30a67655316bd8
CR-Id: ALPS04382560
Feature: [Module]MDP Driver
2020-01-18 10:12:32 +08:00
Jason Su
e1868bca08
Merge "[ALPS04414889] GNSS HIDL 2.0 feature support" into alps-trunk-q0.basic
...
Change-Id: If79d0dcd54fcd6d043d2b2b48209be393849b420
MTK-Commit-Id: f25092a07205872b985fb8fe954cc2a06faf93b1
2020-01-18 10:12:24 +08:00
Jason Su
4817794ff1
[ALPS04414889] GNSS HIDL 2.0 feature support
...
GNSS HIDL 2.0 feature support.
MTK-Commit-Id: f0cdd26e9b65f70a4025c542743ff0d2b32359b7
Change-Id: Ic50f73813934c218c6917f5ab7aa735fcc0478d0
CR-Id: ALPS04414889
Feature: Location AOSP
2020-01-18 10:12:19 +08:00
Robbin Chiu
7238f50dd0
[ALPS04419955] WMT: stp_dump moving to vendor
...
[Solution]
Set SEPolicy for stp_dump
MTK-Commit-Id: 5caf8dd3780faaf3c8933406756ef7298560590c
Change-Id: I3f2ac66941eb5f54f4b2079fbeef15e1ebe1e2b6
Signed-off-by: Robbin Chiu <robbin.chiu@mediatek.com>
CR-Id: ALPS04419955
Feature: [Module]WMT Driver
2020-01-18 10:12:09 +08:00
Ning Cui
be375a5c38
Merge "[ALPS04423573] Led: add sepolicy for lazy hal" into alps-trunk-q0.basic
...
Change-Id: I3240f308da6632df550a32b5607e89bf72315acb
MTK-Commit-Id: 78f8b67b3716c647d416b4e384656237f824d7c7
2020-01-18 10:11:59 +08:00
mtk14723
d28ce5e220
[ALPS04423573] Led: add sepolicy for lazy hal
...
[Detail]
Add selinux for lazy hidl, to make lazy hidl service can be started
MTK-Commit-Id: d2bbc3f95ab7f2d7dfafe932515053226747ea78
Change-Id: Id6fd21bf7794dbc42454202b081113a9c040722c
CR-Id: ALPS04423573
Feature: [Android Default] Backlight
2020-01-18 10:11:57 +08:00
Ning Cui
735845c0fc
Merge "[ALPS04411237] Vibrator: add sepolicy lazy hidl" into alps-trunk-q0.basic
...
Change-Id: I5524e06ee343d2e1d87d300722d622c5382a8f63
MTK-Commit-Id: 288239634030deafcfe540670e6fc420dea7a6be
2020-01-18 10:11:56 +08:00
mtk14723
5ae2f3b4d1
[ALPS04411237] Vibrator: add sepolicy lazy hidl
...
[Detail]
add selinux for lazy hidl, to make lazy hidl service can be started
MTK-Commit-Id: 68eae2f272d3cee8db8377cb298e2227bf21c6fd
Change-Id: Ic1c4ce80ed2574093bdd42f1061aca66596f3dca
CR-Id: ALPS04411237
Feature: [Module]Vibrator
2020-01-18 10:11:54 +08:00
Shiuan Huang
a0f777e564
[ALPS04167940] PQ : Add sepolicy for libscltm and libhdrvideo
...
[Detail]
More strictly selinux policy that system process cannot access vendor
partition,
unless label the specific vendor lib to same_process_hal_file
[Solution]
Add same-process HAL files and their dependencies
MTK-Commit-Id: 565e78ca92a83f2aaf44bc599b91f9cb61a5bec5
Change-Id: Id5450d9ae3467b9aae8be20d3d1934e3e1f8a375
CR-Id: ALPS04167940
Feature: MiraVision
(cherry picked from commit c62b2f1b4d75034ce130d909a574aa8d6879b345)
2020-01-18 10:11:43 +08:00
GW Chen
3c4854c9f5
Merge "[ALPS04383692] GPU: GPU HIDL" into alps-trunk-q0.basic
...
Change-Id: I93d8b6a0f28f49c517f54df90b7cf0b2a44a8265
MTK-Commit-Id: eaa711f5f9142e1901062874bb3d23447f1d01f0
2020-01-18 10:11:27 +08:00
GuanWen Chen
01ae15f287
[ALPS04383692] GPU: GPU HIDL
...
[Detail]
Add sepolicy for gpu hidl
MTK-Commit-Id: c603f9f321c0f50cf21227787ccc3c35e50e55d2
Change-Id: I7a0ed82e546391a509687ef1b4cf5927cfbefe46
CR-Id: ALPS04383692
Feature: OpenGL|ES
2020-01-18 10:11:25 +08:00
Sokonisa Wei
211b424c1e
Merge "[ALPS04419954] sync code from android p" into alps-trunk-q0.basic
...
Change-Id: I39ab50fef0f43ce30d520809713e886a0fa88b43
MTK-Commit-Id: 2afafca07620f6de79a9311210f0ff33c8193c59
2020-01-18 10:11:23 +08:00
HungWen Hsieh
2278c51caa
[ALPS04419954] sync code from android p
...
[Detail]
sync code from android p
MTK-Commit-Id: d0b19b83da618bab91caff90dbe9525f3f6a22a3
Change-Id: Ib664dbb0b8a1b69012fc81a2ad1bde770ccf478b
CR-Id:ALPS04419954
Feature:[Android Default] Camera Application Basic Functions
2020-01-18 10:11:22 +08:00
Chang-An Chen
a9a3b6ecef
Merge "[ALPS04388343] add selinux label for super partition" into alps-trunk-q0.basic
...
Change-Id: I649efbc60f05a10c75b9b77df3ea02f6dc4cb5f3
MTK-Commit-Id: f48fa79698750ccb5823a1ad23f1ae52027ed316
2020-01-18 10:11:20 +08:00
Chang-An Chen
f5a260cb8f
[ALPS04388343] add selinux label for super partition
...
Add selinux label for super partition
MTK-Commit-Id: b32e5dcbb09628fd0272c0752e434e5e081420c4
Change-Id: I90b05a2e6a46608d56c67726e6f752c9947c360a
CR-Id: ALPS04388343
Feature: [Module]Partition
2020-01-18 10:11:18 +08:00
Larry Liang
6247cd3587
Merge changes I4981c061,Ifc1ca446 into alps-trunk-q0.basic
...
* changes:
[ALPS04383536] debugfs_tracing_debug allow rule
[ALPS04383536] AEE: add some new rules
Change-Id: I2fc6397bbdecfa58abec7702838f461560082fb7
MTK-Commit-Id: 1c3d1f9a790848826c31aef5ccfc23c410d90686
2020-01-18 10:11:17 +08:00
Huaiming Li
6572ac2fa3
[ALPS04383536] AEE: add some new rules
...
add some new rules for not exit files in basic/non_plat/,
allow dumpstate to open/read files
MTK-Commit-Id: 7d8021e582f9c10b7f9574f4fcdadee0be5d3c99
Change-Id: Ifc1ca446ce6cd40e36835acaf52ca5a12efedcdb
CR-Id: ALPS04383536
Feature: Android Exception Engine(AEE)
2020-01-18 10:11:11 +08:00
Denis Hsu
50ed5a3026
[ALPS04348647] Implement lazy hidl for nvram
...
Implement lazy hidl for nvram
MTK-Commit-Id: da2bab99d1bd0f9e68f97a24242828e47a79d3b5
Change-Id: Ie8723938223349b19a697d1f367327181eee5f6a
CR-Id: ALPS04348647
Feature: NVRAM Partition
2020-01-18 10:11:01 +08:00
Hongxu Zhao
74a77e408a
Merge "[ALPS04392816] sensor: add hidl 2.0 architecture" into alps-trunk-q0.basic
...
Change-Id: I72e3e71787669fa648d6ebd16b78f8538809b2b1
MTK-Commit-Id: 6ceb53687c0959b82ea3827e52f60c3b22862642
2020-01-18 10:10:14 +08:00
hongxu.zhao
dd0eaad9fd
[ALPS04392816] sensor: add hidl 2.0 architecture
...
add hidl 2.0 architecture
MTK-Commit-Id: b0365c02b90b073ac85a1a4ed350967c3f1b1187
Change-Id: I4b17f59113f3085ef6df16814524353862f7d8b5
CR-Id: ALPS04392816
Feature: Sensor Hub
2020-01-18 10:10:09 +08:00
andrew.yang
b8f0e2db69
[ALPS04385961] RTC: add permission for power-off alarm
...
Allow alarm manager to access /dev/alarm for power-off
alarm function.
MTK-Commit-Id: 01de6e5669b8e97c12818256915885dc32c45b9f
Change-Id: I5e3759e9d11357c3f302aa2557dc71de80476262
CR-Id: ALPS04385961
Feature: Power-Off Alarm
2020-01-18 10:10:03 +08:00
Huaiming Li
62b7308528
[ALPS04362997] AEE porting
...
modify file_contexts, remove "mtklog"
MTK-Commit-Id: 8199b206c4b429921a7ffdf742deb4ccb9bc5c06
Change-Id: Iaa02b89ab3469f236da7898f0adc1a196840346e
CR-Id: ALPS04362997
Feature: Android Exception Engine(AEE)
2020-01-18 10:09:24 +08:00
Shan Zhang
7d9696260e
Merge "[ALPS04357701] Move Widevine sepolicy from basic to bsp" into alps-trunk-q0.basic
...
Change-Id: Ibd04cdf937511b74bab011397ba1f891018606a7
MTK-Commit-Id: 08601256bf56659a911a20843cfc0e7df1b39438
2020-01-18 10:08:57 +08:00
Jackie Lin
410508d3ed
[ALPS04357701] Move Widevine sepolicy from basic to bsp
...
Move Widevine sepolicy from basic to bsp
MTK-Commit-Id: 53ecfeae7dc2f032423ebcfa1af522fc8aeafa60
Change-Id: Ie8250dbca503830464f90a0f1642fac86c3bc8e2
CR-Id: ALPS04357701
Feature: Google Widevine Level3
2020-01-18 10:08:55 +08:00
Michael Hsiao
314a261d1d
[ALPS04283974] Audio: HIDL 5.0
...
[Detail]
Sepolicy for audio HIDL 5.0
MTK-Commit-Id: b49b562f833468bd225ac08e64e88ba0b379be04
Change-Id: Idfe85b3c04798e2f03d1c39420a4e38e7cdf4a1f
CR-Id: ALPS04283974
Feature: [Module]Audio HAL
2020-01-18 10:08:54 +08:00
Howard Ho
6ea35358f7
[ALPS04219582] mmservice 1.2
...
1. update mmservice to 1.2
2. BlitStream for MDP & PQ func
MTK-Commit-Id: b56c9af2d24bde8bb8c754adde31b9aa1741ab1f
Change-Id: I30e9912260342a227595a0a05de124b810c6b4e7
CR-Id: ALPS04219582
Feature: [Module]MDP Driver
2020-01-18 10:08:52 +08:00
Shane Chien
25fb796fea
[ALPS04237702] Audio: Add permission for audio scp device
...
Add permission for audio scp device, instead of only
SCP SmartPA.
MTK-Commit-Id: 479293f8195469648aba65860920128fe85fa3f0
Change-Id: Ic33320ae0c8f36217da2aae0afba763609608af3
CR-Id: ALPS04237702
Feature: DSP SmartPA
(cherry picked from commit 1dfd94a4058c3d960539066bfe61d5032ca95c9d)
2020-01-18 10:08:26 +08:00
Ian-Y Chen
098ee2fd8a
[ALPS04328846] power: add IMtkPower and IMtkPerf
...
[Detail]
1. Remove IPower extension
2. Add vendor.mediatek.hardware.mtkpower
MTK-Commit-Id: edad60cd659da32631fb8ef2da9a74ad21231d8a
Change-Id: Id65adb8625f89805fbb94c472b4b6ca744fa1943
CR-Id: ALPS04328846
Feature: [Module]PowerHAL
2020-01-18 10:08:24 +08:00
Jason Su
a0d704855e
[ALPS04092649] GNSS HIDL v1.1 feature support
...
GNSS HIDL v1.1 feature support
MTK-Commit-Id: 4571763d450b2049200f512042ad547e15dc0bbc
Change-Id: Ie96577d39e08d2960200ef7a8d6b58892bc6a73f
CR-Id: ALPS04092649
Feature: Location AOSP
2020-01-18 10:08:14 +08:00
Juju Sung
12bc2025e2
[ALPS04239425] Sepolicy: fix undefined type declration
...
[Detail]
Unknown type:untrusted_v2_app,alarm_device,qtaguid_proc,mtd_device
Duplicated type:proc_slabinfo
MTK-Commit-Id: 11ccfcffb994452eb58a697e94a8da748ac73933
Change-Id: I2e847041d14d6b6613044cfaa98f242b7fd9381a
CR-Id: ALPS04239425
Feature: Build System
2020-01-18 10:08:05 +08:00
ILEX Lin
2abdf3da9a
[ALPS04190424] NFC : W48p0 - Fix SELinux for factory mode
...
[Detail]
Factory mode tool for NFC only works with SElinux disabled.
[Solution]
Update NFC stack to latest release W48p0.
Create the communication socket into data/vendor and apply
a specific SElinux label.
MTK-Commit-Id: 910948f163c96cac14494e5951c504e63a3334ee
Change-Id: I9b89e828e344041ef5bb464cc872f442490a6e2a
CR-Id: ALPS04190424
Feature: NFC Chipset Capability
2020-01-18 10:07:59 +08:00
Howard Ho
d57995a915
[ALPS04079180] update mmservice to 1_1
...
1. update mmservice
MTK-Commit-Id: c09031fc7aaa5ffc5795821fc3e5009a194fa4c0
Change-Id: I53416377f866771a268d1f94938055ac35e93b4d
CR-Id: ALPS04079180
Feature: [Module]MDP Driver
2020-01-18 10:07:35 +08:00
Dian Wang
ffd6ff26c0
[ALPS03888283] Remove pre_meta
...
[Detail] Reboot to meta mode feature phace out. Delete pre_meta sepolicy file
MTK-Commit-Id: 4cefbdeb30fb0ed41ab95c6e948d83fc5268f3c4
Change-Id: I9ffb24357845cef52d9f5f2a01187864baabe806
CR-Id: ALPS03888283
Feature: SP META Tool
(cherry picked from commit 17aa8a2b9aece817b4fca241f0fa63c0454fa7e3)
2020-01-18 10:07:31 +08:00
Vink Shen
ba4748577f
[ALPS04087631] Trusty: Keymaster 3.0 HIDL service
...
Add Trusty Keymaster 3.0 HIDL service to replace the legacy HAL
MTK-Commit-Id: 4acd1a3c87012bbf678dd59d74764481aceab5ae
Change-Id: Ib6b300c6a5fe3cd709896b31daa8a684d6b8b795
CR-Id: ALPS04087631
Feature: Google Trusty
2020-01-18 10:07:11 +08:00
Mark Hu
50e4268f54
[ALPS04079884] FRHandler P0 migration
...
[Detail]
1) device/mediatek/sepolicy/[basic|bsp]
--> /dev/gz_kree SELinux rule enabling
2) device/mediatek/mt6771
--> gz_kree file-mode, FRHandler package add-on,
FRHandler manifest.xml
3) vendor/../hardware/interfaces
--> add IFRHandler hal
4) [mtkcam]
--> FRHandler CA
5) device/mediatekprojects
--> enlarge k71v1_64_bsp_as GZ-img to 24MB
6) [geniezone]/prebuilts/libs
--> put empty-model FRlib to avoid GZ-img >16MB,
need to manually update FRlib for testing
7) [geniezone]/trusty/app/fralgo
--> FRHandler TA part
8) [geniezone]/trusty/device/arm/mediatek
--> use project-name to include fralgo or not
[Solution]
as detail
MTK-Commit-Id: b451be02f7f719bc8490d2343d9dc67cc9c8f122
Change-Id: I34a380691b8a2b10b1b5c26581cc4a38e96f1251
CR-Id: ALPS04079884
Feature: [Android Default] Camera Application Basic Functions
2020-01-18 10:07:02 +08:00
Code Lin
9bf1ac91f3
[ALPS04085997] NP: Add SP-HAL property to Interpreter shared library
...
Add SP-HAL property to Interpreter shared library.
MTK-Commit-Id: 665f3223cafb06915bda2eff65ede43fe6a5b3ce
Change-Id: I0c6a0db1be59b18dc71a3a841fb02eaee809ac8f
CR-Id: ALPS04085997
Feature: NeuroPilot
2020-01-18 10:06:55 +08:00
Howard Ho
48dab28731
[ALPS03988168] mdp hidl-device/sepolicy
...
mdp_copybit hidl-device/sepolicy
MTK-Commit-Id: 78b6aa3c250b7acab7c541bb34c6f87afdedb82e
Change-Id: Iebb0221c77ccbf8973dc7133ba350c078e907950
CR-Id: ALPS03988168
Feature: [Module]MDP Driver
2020-01-18 10:06:46 +08:00
mtk12101
54917c1838
[ALPS04080007] Remove sepolicy rules for new Android P device
...
1.move-widevine-data.sh is for OTA upgrading from android O
to P, new android P device dont need this rules
2.Google cts/gts/vts will check data_between_core_and_vendor_violators,
add the rule on P device, the test case will fail
MTK-Commit-Id: d4e56774e28b4a5efab572c9c8b25e134988244b
Change-Id: I04c0233ea6cc1dff9b3fdd35441f95605519b454
CR-Id: ALPS04080007
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:06:44 +08:00
mtk12101
f20ee5e7ab
[ALPS04017619] SELinux policy rule optimization
...
Spending more bootup time after label kernel interface node
in file_contexts, there is another way to label kerner interface
node on genfs_contexts file. When move the label rule to
genfs_contexts file, the bootup time will speed more than 500ms.
MTK-Commit-Id: e237c9367e74f2953b843cc9224a98b4e7cfddbc
Change-Id: I1a1e369c3eaaf359c3bf7c051793a3ffba4c71fc
CR-Id: ALPS04017619
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:06:36 +08:00
Dom Lin
e72359ca8a
[ALPS04013153] Implement android.hardware.secure_element@1.0 for UICC
...
Implement android.hardware.secure_element@1.0 for MTK UICC.
MTK-Commit-Id: d47f7e07b9396583e71a51c4b5da0282d9abf73b
Change-Id: Ib5ebb2543a100f95d9fb2cab8f5aef9c511d463d
CR-Id: ALPS04013153
Feature: NFC Open Mobile API
2020-01-18 10:06:13 +08:00
mtk11285
7f6df66a44
[ALPS04056497] cts testVendorTypeViolators case fail
...
[Detail] aee_aedv_exec is defined in system.img, and when AOSP system.img
is replaced, cts will fail if aee_aedv_exev is referenced in vendor.img.
MTK-Commit-Id: 178b71c788561cea1336d2c62b67dd324ecf6e8b
Change-Id: I200ff7cd55597de05d5412677b140809e941a192
CR-Id: ALPS04056497
Feature: Android Exception Engine(AEE)
2020-01-18 10:06:12 +08:00
Chang-An Chen
26f6c80d00
[ALPS04056547] partition: remove unused policy
...
Remove policy for sysenv_daemon, which is removed in Android P
MTK-Commit-Id: adbf02af5663fc468c7b892a33b4a03ec53a948f
Change-Id: I1653bef4c9b0f9a2b7022f8895b89de0c3373148
CR-Id: ALPS04056547
Feature: [Module]Partition
2020-01-18 10:06:08 +08:00
mtk09691
5db24820f7
[ALPS03900752] Speech: hifi3 speech
...
[Detail]
[Solution]
MTK-Commit-Id: d5ca7645533965bdb2db1d72e551cbbec817bec3
Change-Id: I3ecdeeda86a8386cab2cd5e69b786cd04e0d67a9
CR-Id: ALPS03900752
Feature: Phone Call Voice Enhancement in Open DSP
Signed-off-by: mtk09691 <ting-ni.chen@mediatek.com>
(cherry picked from commit e8d468d395494a71582ae54f741435613d535101)
2020-01-18 10:06:08 +08:00
mtk12101
583196d1e8
[ALPS03982747] Add widevine sepolicy rules
...
Widevine provides a script in /vendor/widevine/
libwvdrmengine/move_widevine_data.sh that copies
the data files from /data to /data/vendor. Some
sepolicy rules are required to enable the device
to run this script.
MTK-Commit-Id: f7aba378699fc68e4e10ed2ed2b812c1e502e66f
Change-Id: I2731ad21da180a1a5f927c5631dcc579da1dc314
CR-Id: ALPS03982747
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:05:59 +08:00
mtk11515
380dc6fda1
[ALPS04027106] add vendor log hal service in context.
...
[Solution] add vendor service in context.
MTK-Commit-Id: 79eafc060e7449cab40cf51af27418b540987eec
Change-Id: I6b1f22ef78368bad5b4463d0a9aac0ad58eea021
CR-Id: ALPS04027106
Feature: MTKLogger
(cherry picked from commit 8f32ec974488eaf62502f40b1d89a57c17218206)
2020-01-18 10:05:38 +08:00
Stephen Chen
246e5b5057
[ALPS03738758] Audio: Add Hifi3 adsp device info
...
[Detail]
Add sepolicy access right for Hifi3 adsp device.
Mobilelog and AED will need these access right.
MTK-Commit-Id: 06ac39d7cebbab2bcb3468fcf14f19b7e1489819
Change-Id: Ic834ac687b4423500ef6036824a6d6f75e57ccb3
CR-Id: ALPS03738758
Feature: [Module]Audio OpenDSP
2020-01-18 10:05:34 +08:00
Robbin Chiu
8ef11ef3fe
[ALPS03951556] WMT: Move stp_dump to system image
...
[Solution]
Move stp_dump to system image to follow SEPolicy rules
MTK-Commit-Id: f3e5e4f43b6c506109caf2e01d1a61ee0223300e
Change-Id: I1252c1e5b682f97ff36a66d070b33368be05fd0f
CR-Id: ALPS03951556
Feature: [Module]WMT Driver
Signed-off-by: Robbin Chiu <robbin.chiu@mediatek.com>
2020-01-18 10:05:30 +08:00
Josh-YC Liu
2b842de393
[ALPS04021258] PQ: Add interface for ccorr matrix setting
...
Update PQ HIDL to V2.2 for new interface
MTK-Commit-Id: e60153d9d5671fcdd20fd1cec41f7ae7e44a6a44
Change-Id: Ia4bacd07084508b87b8ab5e1f24d3b5c93383079
CR-Id: ALPS04021258
Feature: Display Quality Enhancement
2020-01-18 10:05:13 +08:00