Add new AAL API for set function with property.
MTK-Commit-Id: 9fa5437f96066104e04ebb655e39d24db2935080
Change-Id: Iab58a2ecd919ceadd9b8586d2b52720c176ded01
CR-Id: ALPS04010443
Feature: Ambient Light Adaptive Luma
Add the system write and system read property selinux rights
MTK-Commit-Id: 432c666c3d1275c3c7d7f0d88b4fcf69650314bf
Change-Id: I835af9bfdf0b0ac039a4b04498b36f3feb791a12
CR-Id: ALPS04001212
Feature: Engineering Mode
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)
[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
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
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
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
[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
[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
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)
[Detail] Change persist.bootanimation to persist.vendor.bootanimation
in property_contexts file
[Solution] As we have renamed the system property name to
persist.vendor.bootanimation.xx , we need to make changes in
property_contexts file to ensure effect of this renaming and to
avoid vts fail.
MTK-Commit-Id: 42a2213dcbd87a6acb5823a5b64b89d7207579cf
Change-Id: Ie7ea4a9df3fc1607c648288c527e94660fbea50e
CR-Id: ALPS03870695
Feature: Boot Animation
1. We have too many config properties set by PRODUCT_PROPERTY_OVERRIDES,
and these properties usually are not sensitive and allow all processes to read.
2. Since Android P, properties should follow naming rule to add "vendor",
and then this will cause properties to be labeled as vendor_default_prop.
By default, coredomain is not granted to read vendor_default_prop.
Actually these properties are read widely from system/vendor processes.
3. So we introduce "mtk_default_prop" type that grant read access to
all processes, including system and vendor.
MTK-Commit-Id: 18077a2cb14b7b1ddadb7000e8abb565f0fd49e3
Change-Id: Ia378db3dbb9d0bf388139be3419e013228c79d6e
CR-Id: ALPS03934986
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
[Detail]
1.Property new change
neverallow coredomain from writing vendor properties
(allow audioserver_28_0 audiohal_prop (property_service (set)))
(allow audioserver_28_0 mtk_thermal_config_prop (property_service (set)))
audio_hal property which prefix is af. use to audiodump.
it will replace by the audio_prop which property prefix is vendor.af
before, mtk_thermal_config_prop use to set powerhal.
And we use it by HIDL now, so this permission can remove.
[Solution]
remove violate properties setting.
MTK-Commit-Id: 2942812bb4a57655898d407f84162fbdae9c3fc9
Change-Id: I1a01ddd8b83fa7eb0c499f67400660b738e9b986
CR-Id: ALPS03902666
Feature: [Module]Native AudioFlinger
Change property name for new rule in P branch
MTK-Commit-Id: f6085b301d89b12bf36fd0d8fe2cea8144204bad
Change-Id: I0b9945db11eae1a1a59d201389ba001a18a3fc50
CR-Id: ALPS03934599
Feature: Connsys Log Tool