14 Commits

Author SHA1 Message Date
Miles Chuang
1609d21594 [ALPS04125055] Set SBP ID to nvdata for CCCI requirement
[Detail]
From android P, CCCI will not wait for the data partition ready
for the nvram data, so that CCCI cannot read the persist property
during the boot up phase.

[Solution]
Carrier express set SBP ID to nvdata for CCCI requirement.

MTK-Commit-Id: 2c460ca4aadbd0b130a5478337b8eb8ad6cbdb3c

Change-Id: I1bc3f8f012cb5e2bf2ef1b1d72d9543c7554bbd0
CR-Id: ALPS04125055
Feature: Regional Carrier Express Pack
2020-01-18 10:07:41 +08:00
Youxiu Wang
621240d3cc [ALPS04130289] Restrict rild access to sdcard
Restrict RILD access to sdcard:
Change access permission from sdcard_type to sdcardfs

MTK-Commit-Id: a2a8dca8bb51197bc3388fdcb59ff94d99003d82

Change-Id: Ifb921bd31db7db183934f287d606201206625415
CR-Id: ALPS04130289
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 10:07:36 +08:00
louis.peng
83cba54243 [ALPS04055044] Set supplementary service vendor property through HIDL
[Detail]
Add API to set vendor property in RILD

MTK-Commit-Id: 48b137c317e4baf195b87f767702b1b4956e7696

Change-Id: I4d03c4affb0f1a2a96b8a8cea867b46750d2132a
CR-Id: ALPS04055044
Feature: IMS SS
2020-01-18 10:06:16 +08:00
Miles Chuang
2555c134f1 [ALPS03873734] Follow Android P new property rules
[Detail]
Android P add new limitation for property access between
system partition and vendor partition:
1. SET and GET only by system
2. System cannot SET the property which SET/GET by vendor.
3. Allow system and vendor GET the property which SET by vendor.

[Solution]
Add new CXP HIDL to set the vendor property in vendor layer.

MTK-Commit-Id: 9a2ec20bc8a60761ed0ff15f897f67b3883f8486

Change-Id: Icaea3afb2743108d7c78eea2b6e4dad363a8052d
CR-Id: ALPS03873734
Feature: Regional Carrier Express Pack
2020-01-18 10:04:27 +08:00
mtk12101
722798a334 [ALPS03982747] Remove unused sepolicy rules
Some rules is no need any more, need to remove it.

MTK-Commit-Id: 49685f1299d990a7195a2d54b955517d8f2cc699

Change-Id: I4a590ad781589cf94989ce72c88751ac10b82eae
CR-Id: ALPS03982747
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:02:25 +08:00
Allen Chu
561fad2a70 [ALPS03804621] [P migration] Remove old property label
We never use persist.ril.* at Android P. So, remove it.

MTK-Commit-Id: 6a1943658ce7647e6efd65234252d69e83be1a47

Change-Id: I49d35e81192dfd9707687400bc3f0885cde16940
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 10:00:38 +08:00
Allen Chu
64d6f4722e [ALPS03804621] [P migration] Add property context
[Detail]
Add the following prefix property to vendor_radio_prop:
vendor.ril.
ro.vendor.ril.
vendor.gsm.
persist.vendor.radio

And declare permission at te file.

MTK-Commit-Id: 2754547c48d8cb78008c8b59e01d43e8d242813a

Change-Id: I593d7d1cdaf0caa5a92c65d0f7b03591cc8cbac8
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 09:39:37 +08:00
Lili Lin
59f0ec9f6e [ALPS03881723] Workaround build error
[Detail] enable PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE = true, will cause build error

[Solution] Mark rules that violate AOSP neverallow rules

MTK-Commit-Id: c850c6f1fcb8de76235ea2be51becb7a2ccc6190

Change-Id: Ib9a80f4495d6db588133f929c9ea70e7215ad2aa
CR-Id: ALPS03881723
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:35:54 +08:00
ming-pei.hsu
9fcff12f5c [ALPS03875603] Relabel telephony switch property
Relabel global telephony configuration properties.

MTK-Commit-Id: 2666cdeb888a5c7c0e87358766d60857cd3dc896

Change-Id: I317dd786e6ea32087a6866adeb415e35bc5017e1
CR-Id: ALPS03875603
Feature: Telephony feature switch dynamically
2020-01-18 09:34:04 +08:00
Weilun Liu
099ce766c2 [ALPS03861873] rename system property
[Detail]
1. rename ril.mux to ril.vendor.mux
2. rename ril.ipo to vendor.ril.ipo

MTK-Commit-Id: 78bc6ff5295857d43026874250bf19005601f04f

Change-Id: I11f24cfb470db4ca4ed9108bce66a6bf956095fd
CR-Id: ALPS03861873
Feature: [Module]Telephony power on
2020-01-18 09:32:27 +08:00
Allen Chu
6c3fdf8a05 [ALPS03804621] [P Migration] Fix SEPolicy violated
[Detail] Remove read/write system_data and radio_data
         declaration

MTK-Commit-Id: 35a543208e84f95989f7f01f9c2ed766c5aab457

Change-Id: I135686e96cf214ca67523256aaa21e96f4fca3f0
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 09:30:03 +08:00
Bo Ye
5849c224e3 [ALPS03825066] P migration selinux build failed fix
1. Mark polices which accessing proc/sysfs file system
    2. Add violator attribute to modules violate vendor/system rule.

MTK-Commit-Id: 3954cad7a1428cda694d8428c2235a78aa6e7cc8

Change-Id: I401ae5b87eb9a03f324bef83c6678149606b15a8
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:29:36 +08:00
mtk12101
bbecfaa68b [ALPS03825066] Resolve vendor violates
[Detail] Google add new neverallows rules on android P,
some rule violate the rules

[Solution] Remove the rules which violate google new rules

MTK-Commit-Id: ff683b4eee0a6dd95ff25fbb6c7d1fc3a79c604d

Change-Id: Iead494212c6adcec234eaef14c83d1f8c7a49deb
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:29:34 +08:00
Chunyan Zhang
37e0caa36e import from mediatek/master to mediatek/alps-mp-o1.mp1
Change-Id: Ic78db8195c5c51f85c9c6fd3ef8333489afd6e79
MTK-Commit-Id: 848bf57127be9d01fd1df4aab95737855456afee
2020-01-18 09:29:32 +08:00