118 Commits

Author SHA1 Message Date
lena wang
2759cfde98 [ALPS04288147] Sepolicy:SIM On/off feature
Add property access right for APP usage.

MTK-Commit-Id: f01ca106779bea2c9699fbecbc4c3de94e0ab3e9

Change-Id: I1652ead60b4b517a3a3d04aabe1d61bb7a49933c
CR-Id: ALPS04288147
Feature: SIM
(cherry picked from commit 620f4ace14bc12b95e9345b8f73dcffc372b2171)
(cherry picked from commit d447535fbc6e972fb64696481de5cb8bf3dfc546)
2020-01-18 10:08:39 +08:00
Josh-YC Liu
985027f9bf [ALPS04306526] AAL: add AAL vendor partition property
Add vendor property for AAL.

MTK-Commit-Id: a7d55ae905f951254aab9e902be4b7ec09e8a04f

Change-Id: I1c651cb5657cdbeb2b91960f90f9c02508fa2364
CR-Id: ALPS04306526
Feature: Ambient Light Adaptive Luma
(cherry picked from commit 0fbccdc8421acd6544153f2527c492220979cade)
2020-01-18 10:08:23 +08:00
Juan Rong
ae82eac4a3 [ALPS04202940] Xcap: use raw url
set/get property for whether xcap use raw url

MTK-Commit-Id: d6f9cdb5a6752582a5effd143ea77e6ca44c2ca6

Change-Id: I093c419181606cd8adb41449b02ff9c5cfa42b51
CR-Id: ALPS04202940
Feature: IMS SS
(cherry picked from commit 8e45ece0df6b2d8619f461afde28dcbb163dbab2)
2020-01-18 10:07:53 +08:00
Che-Jui Chang
8b4db85b56 [ALPS04115707] vow: add voice recognizes property in sepolicy
add policy so that can get property

MTK-Commit-Id: b94dbc087fd5d1b50ea27bd23f968b19c1f85eae

Change-Id: I36523eaf9db7379500ac8fbd700f3d92dfb2a77e
Signed-off-by: Che-Jui Chang <che-jui.chang@mediatek.com>
CR-Id: ALPS04115707
Feature: MagiEar-Voice Wakeup
2020-01-18 10:07:27 +08:00
Tim Chang
7df888a9d5 [ALPS04056430] WMT:Move coredump mode property to system partition
Allow system process to set the property,
"persist.vendor.connsys.coredump.mode"

MTK-Commit-Id: c066127efb1903b15e97498ae32b28af2efc091e

Change-Id: Ia818c7e517e4da479bb7ad1c4fdbc382a1423659
CR-Id: ALPS04056430
Feature: [Module]WMT Driver
2020-01-18 10:07:23 +08:00
dengwei.xu
19c5ed689f [ALPS03992559] EM hidl V1.1 selinux
Add the selinux labels

MTK-Commit-Id: 924bb82662abe532ec2e7d883e944547eda8efb2

Change-Id: I9a1e602f33dd1f76970f4d128cd6e25bb9643aea
CR-Id: ALPS03992559
Feature: Engineering Mode
2020-01-18 10:07:11 +08:00
Juju Sung
8326dd2700 [ALPS04085967] AGO: System property error
[Detail]
It has restriction in properties used by system and vendor,
we add property context to let system/vendor can read it.

MTK-Commit-Id: fbc82035b5138ce6c7a0db51281bb96251409982

Change-Id: Ie69f589782a430fa583311764c0a0029b54162fa
CR-Id: ALPS04085967
Feature: Memory Optimization
2020-01-18 10:06:50 +08:00
dengwei.xu
dbd6c0abd4 [ALPS04083174] EM telephony RF reset - selinux
Add the selinux support

MTK-Commit-Id: 31d37971bece408a6fa08d20009db9bb9bb94346

Change-Id: I7d965a3cd40e8526317596c188fb07acdb37b0f8
CR-Id: ALPS04083174
Feature: Engineering Mode
2020-01-18 10:06:50 +08:00
Junjie Hu
6e969c94aa [ALPS03907306] malloc debug unwind backtrace switch
[Detail]user can setprop by adb shell to switch unwind
backtrace runtime

MTK-Commit-Id: a2754d46b96648f748fde4677ec031dbe78ed984

Change-Id: Ida29eb32bdbb843593b3500eabc90c98e9278aea
CR-Id: ALPS03907306
Feature: Android Exception Engine(AEE)
2020-01-18 10:06:35 +08:00
yu.chen
5967cb46f7 [ALPS03894758] Enable Fullscreen modes systemproperty
[Detail]
enable ro.vendor.fullscreen_switch

MTK-Commit-Id: a8a6a1df9e4abd965da8524b04d54195a9e155c6

Change-Id: I81aedc738c173ed0540a6b1fadceb7919c482f1f
CR-Id: ALPS03894758
Feature: Fullscreen Switch
2020-01-18 10:06:24 +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
mtk14318
99dcd98d32 [ALPS04034495] Latch unsignaled buffer
[Detail]
Read latch unsignaled buffer by vendor property.

[Solution]
Read latch unsignaled buffer by vendor property.

MTK-Commit-Id: 62e601385bce5a890d9d46ce81318e4d5c19e643

Change-Id: I5737f589a3d3bb48ad5a30ee2ef670de602b30c3
CR-Id: ALPS04034495
Feature: [Module]SurfaceFlinger/HWComposer
2020-01-18 10:05:54 +08:00
mtk13799
a38199a49e [ALPS04030563] add antutu blocking property in selinux
[Detail] selinux permission denied for "ro.vendor.net.upload.benchmark.default"

[Solution] add "ro.vendor.net.upload.benchmark.default" property in selinux

MTK-Commit-Id: 67b0ca896cbaed21ecc0343528caa5829ec3a5e4

Change-Id: I6b0afee632d794dd1fc2138cf442c046a5b662d1
Signed-off-by: mtk13799 <xin.huang@mediatek.com>
CR-Id: ALPS04030563
Feature: [Android Default]Dedicated APN for Tethering
2020-01-18 10:05:50 +08:00
Dian Wang
463b53426b [ALPS03888283] ATM porting
[Detail] Add ro.boot.atm sepolicy

MTK-Commit-Id: 16037a392ffd3b08f48aafd95a75d37d0fcc1ecf

Change-Id: If6fc10a09449846703a364046ea3fcc49db8b581
CR-Id: ALPS03888283
Feature: SP META Tool
(cherry picked from commit 1164607d54a309472fbcb7bbb76cfd4a22eebbf4)
2020-01-18 10:05:39 +08:00
mtk13799
e70ad0b767 [ALPS03886692] add selinux rule for viarild
[Detail]add selinux rule for viarild

MTK-Commit-Id: 6181cc61cd3ee8a97c823b56f4e376a94179598f

Change-Id: I1c87b7d57519ac2a3468aa30af47dc583a8db411
Signed-off-by: mtk13799 <xin.huang@mediatek.com>
CR-Id: ALPS03886692
Feature: [Android Default]Dedicated APN for Tethering
2020-01-18 10:05:30 +08:00
yu.chen
054e883e20 [ALPS04014599] Enable App Resolution Tuner systemproperty
[Detail]
enable ro.vendor.app_resolution_tuner
persist.vendor.dbg.disable.art

MTK-Commit-Id: 6602d8315e245d601a27bb01f7f24685736a42c2

Change-Id: I1907fa852ce7c00a8349c3cf97587fee1bd037b3
CR-Id: ALPS04014599
Feature: APP Resolution Tuner
2020-01-18 10:05:29 +08:00
yu.chen
9611223a28 [ALPS04027708] Enable ANR systemproperty
[Detail]
Enable ANR systemproperty
persist.vendor.dbg.anrflow
persist.vendor.anr.
vendor.anr.autotest

MTK-Commit-Id: eb6a6e8f3803b41347567178f7649ef5c9d2f80e

Change-Id: Ibb530a1d9f5ceca67e39fe2c6980e6807e457b86
CR-Id: ALPS04027708
Feature: ANR Debugging Mechanism Enhancements
2020-01-18 10:05:22 +08:00
yuhui.zhang
3215feaff6 [ALPS04013705] EM: use wmt_prop for wcn core dump
[Detail]
Use default wmt_prop for EM wcn core dump settings

MTK-Commit-Id: f0442dcc10ce57fc961038e346cb442212d19dd8

Change-Id: I72f73131b32f382330df6178a0d388b11953c68a
CR-Id: ALPS04013705
Feature: Engineering Mode
2020-01-18 10:05:02 +08:00
mtk33201
5542a95d19 [ALPS03872441] Adding ro.vendor.mtk_exchange_support to property_contexts
Sepolicy denied reading the System property ro.vendor.mtk_exchange_support "Access denied finding property "ro.vendor.mtk_exchange_support""

Adding this property to property_contexts in sepolicy/basic/non_plat as per the guidelines for property defined in PRODUCT_PROPERTY_OVERRIDES.

MTK-Commit-Id: df2d79e0b9c73fe974073a94f02eb27678546043

Change-Id: I10daf364fd044249a2467520d87e8ec49c4829f7
CR-Id: ALPS03872441
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:04:58 +08:00
mtk13858
d7105292b6 [ALPS04013134] CCCI:fix android p selinux issue v2
[Detail]
fix code defect to avoid vts fail

MTK-Commit-Id: 8910b5c642fd4ebb0910eda3f6b49c38f91f4483

Change-Id: I95cd0a11b4bc9d8145b7017ffbf4b171751ef32c
Signed-off-by: mtk13858 <derong.liu@mediatek.com>
CR-Id: ALPS04013134
Feature: Modem Interface Driver
2020-01-18 10:04:57 +08:00
mtk13858
d2412a883b [ALPS04013134] CCCI:fix android p selinux issue
[Detail]
1.add label to property init.svc.emdlogger1
2.allow ccci_mdinit access get sys boot mode

MTK-Commit-Id: bc7ec844660c91ba7bb5bdc25ec176d3d2a2ec14

Change-Id: I32df4b62b474eca193f9a719e9b559597acc1ab6
Signed-off-by: mtk13858 <derong.liu@mediatek.com>
CR-Id: ALPS04013134
Feature: Modem Interface Driver
2020-01-18 10:04:45 +08:00
Chunlan Wang
9a7b03369b [ALPS03972298] Meta Mode: Add permisson to get RSC version
[Solution]
Meta Mode will support to query RSC version

Conflicts:
	non_plat/property_contexts

MTK-Commit-Id: db231d2c6ea5ed34f20cc93b135925b117bd98f3

Change-Id: Ib9fb54bbd7355bfd50c5a3527e835ff63693c38d
CR-Id: ALPS03972298
Feature: Factory Mode
(cherry picked from commit a504e618d593ef19cfd0738048db935289515fc1)
2020-01-18 10:04:45 +08:00
Josh-YC Liu
1990000501 [ALPS04010443] AAL: add set property in SELinux
Add new AAL API for set function with property.

MTK-Commit-Id: 9fa5437f96066104e04ebb655e39d24db2935080

Change-Id: Iab58a2ecd919ceadd9b8586d2b52720c176ded01
CR-Id: ALPS04010443
Feature: Ambient Light Adaptive Luma
2020-01-18 10:04:41 +08:00
Juan Rong
de37c93d5f [ALPS03886705] EM:hardware-testing property hild
hardware-testing usb/uartusbswitch need hild to set property

MTK-Commit-Id: 18147a06185f3315cfa6bd0790b7539063910c4a

Change-Id: Id2bafe2df4ef44d1b0e4eaac2fe5b10483a080ab
CR-Id: ALPS03886705
Feature: Engineering Mode
2020-01-18 10:04:36 +08:00
dengwei.xu
4f6395a554 [ALPS04001212] EM telephony system write property
Add the system write and system read property selinux rights

MTK-Commit-Id: 432c666c3d1275c3c7d7f0d88b4fcf69650314bf

Change-Id: I835af9bfdf0b0ac039a4b04498b36f3feb791a12
CR-Id: ALPS04001212
Feature: Engineering Mode
2020-01-18 10:04:30 +08:00
lena wang
3f037eeb36 [ALPS03856250] SIM:add policy for system set prop
Config property "vendor.gsm.sim.operator.default-name" as:
1. system image could set but vendor image cant.
2. System could read.

MTK-Commit-Id: 79e9cc75b8937a0eeb1e0a34af2095fad7182388

Change-Id: Ib14716449080c17dbd98e681215e1d89d96029a8
CR-Id: ALPS03856250
Feature: SIM
(cherry picked from commit ef7ae758c93dc94fec1f7f23c877d86a254d035d)
2020-01-18 10:04:28 +08:00
dengwei.xu
12c8c8e1f4 [ALPS03992559] EM HIDL - selinux
Add selinux support for HIDL

MTK-Commit-Id: f58b6fd1c6c053780475ad44ac648f6231af0d94

Change-Id: I77a9bdffbcb8b837e78055ef8bfb9b9d328232b2
CR-Id: ALPS03992559
Feature: Engineering Mode
2020-01-18 10:04:08 +08:00
chien-wei hsu
f7e5d73400 [ALPS03902666] Sepolicy: add prop to audiohal_prop
[Detail]
because some prop need set permission, so it need to
be audiohal_prop.

add:
persist.vendor.audiohal.
persist.vendor.vow.

MTK-Commit-Id: aae5137ad5c16096557f7cd5d44697e9d6274486

Change-Id: I8a4e2d6e8462d980e5c933e9469c3043461233de
CR-Id: ALPS03902666
Feature: [Module]Native AudioFlinger
2020-01-18 10:03:23 +08:00
mtk11285
eb025d3be3 [ALPS03948310] vendor/system property split
[Detail]
1. vendor/system property split
2. add selinux rule about aee hidl service

MTK-Commit-Id: 4e654c789c95ca8851d8aaae2c643a08a00bb4e0

Change-Id: Ifc8eed74558a3ae83789798e99e21eafead2089b
CR-Id: ALPS03948310
Feature: Android Exception Engine(AEE)
(cherry picked from commit 8b81da18cfa29378d01ebf5be9b39e641a202c64)
2020-01-18 10:03:12 +08:00
Lili Lin
590d94440a [ALPS03934986] Remove vendor.sys.boot.reason
vendor.sys.boot.reason is set by system process, not vendor_init
thus remove it from mtk_default_prop

MTK-Commit-Id: f0df9ebeb7cff07aa134559b4e4dedef66417302

Change-Id: I39b14ee6863396eb5296b1a0a4e171a369dd994b
CR-Id: ALPS03934986
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:02:31 +08:00
Dengwei Xu
3a55affee9 Merge "[ALPS03914002] EM: remove unused sepolicy rules" into alps-trunk-p0.basic
Change-Id: I94b512b901b9ea9b4f78367e93b3d990f8cd3bd1
MTK-Commit-Id: 000f7d6d882c408fe8b5d8bc82f003cb8acb060a
2020-01-18 10:02:12 +08:00
yuhui.zhang
51e62850d5 [ALPS03914002] EM: remove unused sepolicy rules
[Detail]
1. Remove mnld_prop for using hidl
2. Remove bt ssp debug mode for function removing

MTK-Commit-Id: 7b69d50028b1f3543596c1cb7c55f3e0bf43d5a4

Change-Id: I34618a2f4347e56d825fe86ef7084aeaa95b0ebc
CR-Id: ALPS03914002
Feature: Engineering Mode
2020-01-18 10:02:10 +08:00
mtk13799
15ff7150ff [ALPS03886692] property rename for Android P
[Detail]property rename for Android P

MTK-Commit-Id: b3bfff5f029e5e71dc9c47cd37102f81dd484d69

Change-Id: I2d1cbc4f2efcf554198b442b3e5a39311ed07e85
Signed-off-by: mtk13799 <xin.huang@mediatek.com>
CR-Id: ALPS03886692
Feature: [Android Default]Dedicated APN for Tethering
2020-01-18 10:02:05 +08:00
Yuru Zhu (朱禹儒)
d6cf9b5e92 Merge "[ALPS03866092] Add FP for ConnSYS Log" into alps-trunk-p0.basic
Change-Id: I5c011916e81a73c7341f2940de689a4908d07463
MTK-Commit-Id: 8853626ae5990a9f9ae5d4d58ab1c29bc4d06cce
2020-01-18 10:02:05 +08:00
Peng Qi
5391d4ae6c [ALPS03866092] Add FP for ConnSYS Log
Need to apply selinux access right for connsys
log feature system property

Test: make, read check by MTKLogger

MTK-Commit-Id: cabc0581448be6b267e44f87b36e216905fd4045

Change-Id: I2fb5ea65dad6ba87dc63f7922eb3384cfb96b485
CR-Id: ALPS03866092
Feature: MTKLogger
2020-01-18 10:02:02 +08:00
Lili Lin
2197275e79 [ALPS03934986] Remove un-renamed properties
Since Android P, all properties under non_plat/property_contexts
should follow naming rule to add "vendor" prefix, otherwise
VTS will fail.

MTK-Commit-Id: 4563796d8ea83f170097b1ad8fdc3bae0cbae5a1

Change-Id: I0315ae6beefc6f4dd97bf79d217c82b4b7c281e5
CR-Id: ALPS03934986
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:01:54 +08:00
Weilun Liu (劉維倫)
90e11a04ce Merge "[ALPS03861873] rename service name" into alps-trunk-p0.basic
Change-Id: I25fb8056917297544c93cc6e79ca45031f37f4ab
MTK-Commit-Id: 971c4dbb943e5fa40457f1745d72127b0224f2f9
2020-01-18 10:01:48 +08:00
Weilun Liu
d03eacc0d3 [ALPS03861873] rename service name
[Detail]
We use system property to start service,
follow android P rules, we should add prefix "vendor."
into the property name

MTK-Commit-Id: fbd0d1e60f45d93dd0402747afd0a91624f7e0cf

Change-Id: I02d8dace8d0445b3adf8c4044e15fed3f5fe95ab
CR-Id: ALPS03861873
Feature: [Module]Telephony power on
2020-01-18 10:01:46 +08:00
Weilun Liu (劉維倫)
a076bea25a Merge "[ALPS03804621] [P migration] Re-name property" into alps-trunk-p0.basic
Change-Id: I7d93965159193730f106a9c1267e74559dcdd8f7
MTK-Commit-Id: 60bab7e6c90807410d8680a023fbcac470987f21
2020-01-18 10:01:35 +08:00
Allen Chu
1bd3084a41 [ALPS03804621] [P migration] Re-name property
Add prefix "vendor" to property

MTK-Commit-Id: 6de1a2d7b7e019425fed6ad8c6b0aa4d380d8257

Change-Id: Ied75e3dc657fd71938c287f5eb7689cb8ec1a728
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 10:01:34 +08:00
Hu Wang (王胡)
3148dea42f Merge "[ALPS03875759] SELinux for dynamic enable AMS log" into alps-trunk-p0.basic
Change-Id: I28567a7a307e393757d7ab1d6a8cc7fcd2102724
MTK-Commit-Id: 53ce53eb531f2078d7ac1f1d425a9a8b8cd9a63c
2020-01-18 10:01:32 +08:00
Hu Wang
b196f4708e [ALPS03875759] SELinux for dynamic enable AMS log
Dynamic enable AMS log is blocked by SELinux.
Add ams log property policy in SELinux.

MTK-Commit-Id: f145a5c2c798d1a93e0c448108c0b476edb39b95

Change-Id: I0ef3c17af2f1e5ed4e7f3cd3b4a93f4436faf6a7
CR-Id: ALPS03875759
Feature: [Module]ActivityManager
2020-01-18 10:01:30 +08:00
Aroha Lin
19669f18b8 Merge "[ALPS03952241] rename property_contexts" into alps-trunk-p0.basic
Change-Id: If753a48d661f492da54ebe8cc2378a810b2c0eec
MTK-Commit-Id: 4adae32bc2be89b20309171098166008a170c782
2020-01-18 10:01:28 +08:00
Aroha Lin
64bcf2a1af [ALPS03952241] rename property_contexts
[Detail]
Android P property_contexts need to rename
the original property

[Solution]
to rename the property

MTK-Commit-Id: ede7c62b1c35ebc0a7904758dd443a013c9b8350

Change-Id: Ia0136368510d8da03bb6a91c6fbd0217bd87018b
CR-Id:ALPS03952241
Feature:[Android Default] Camera Application Basic Functions
2020-01-18 10:01:26 +08:00
Youxiu Wang
08da39faff Merge "[ALPS03878056] Rename mtk system properties" into alps-trunk-p0.basic
Change-Id: I07430a1d6d901ac3bcf606d7da36e83efc7b2eea
MTK-Commit-Id: 3b2eae727472a6fe52e274b8f0cc0ff86bd965e9
2020-01-18 10:01:10 +08:00
Youxiu Wang
5d374974d1 [ALPS03878056] Rename mtk system properties
1) Due to new vendor system property rule, rename:
"ro.mtk_md_mims_support" to "ro.vendor.md_mims_support"
2) Remove unused property:ctl.viarild

MTK-Commit-Id: 0196b9a913c715908b9c0b2027d793d8085d531d

Change-Id: Ic0b7bc07000fbd9c079f743e5f1e998daafb1468
CR-Id: ALPS03878056
Feature: DSDS (Dual SIM Dual Standby) Framework
2020-01-18 10:01:03 +08:00
Nan Zhao (赵楠)
cfce19b40d Merge "[ALPS03809072] Set rat config property permission" into alps-trunk-p0.basic
Change-Id: Idb4b7276b07ae40d7969e52978e9f70bd1b1b04b
MTK-Commit-Id: 7a1b52200cf44f84cd64078eaba2558ae5244dc5
2020-01-18 10:00:57 +08:00
Muyi Lan
40d70a34e7 [ALPS03809072] Set rat config property permission
[Detail]
Set permission for property "ro.vendor.mtk_disable_cap_switch".

MTK-Commit-Id: 253c3301a18932b0b262668bd5cf9c5c1b9d2230

Change-Id: If741b4a391407d1b712fecf8e67e277fbdbbb8aa
CR-Id: ALPS03809072
Feature: SIM Switch
2020-01-18 10:00:55 +08:00
Light Hsieh
e6ff16fef8 Merge "[ALPS03810368] Sepolicy: define rule for ro.vendor.mtk_emmc_support" into alps-trunk-p0.basic
Change-Id: I7c10e951d1dec4814710124e3cc61a79d1610099
MTK-Commit-Id: 902e7c029f21d97da238d48e30b097e643570a05
2020-01-18 10:00:49 +08:00
Xihou Li
2291d42fbc [ALPS03974117] Move md_mims prop to volte group(selinux)
[Detail]
Move "ro.vendor.md_mims_support" property to
"mtk_volte_prop" group(selinux).

MTK-Commit-Id: f1df6ee4b33dffa4ab82913aa347af36095d4e45

Change-Id: I4c8fed9e9b462633efaf4916b66b41c338b75614
CR-Id: ALPS03974117
Feature: VoLTE (Voice over LTE)
2020-01-18 10:00:49 +08:00