5 Commits

Author SHA1 Message Date
Wei Fu
969ca69f47 [ALPS03861807] Revise code
Restore audio command handling back to atcid to
simplify code.

MTK-Commit-Id: d23f20fd117efde5d22ea8abcc467617cc5b0ab0

Change-Id: I0abb4f9a5cc0facf44a27107a1cd90ce575c389e
CR-Id: ALPS03861807
Feature: [Module]ATCI (AT Command Interface)
2020-01-18 10:04:01 +08:00
Lili Lin
56b7e390c4 [ALPS03959715] move audio-daemon to vendor
1. Per customer request, move audio-daemon to vendor partition.
2. Implement GetVolumeIndex

MTK-Commit-Id: 4f61171696528b80f9973cb1e3820c9f91116755

Change-Id: Id82b004a39b1217b543c42b9f66de72fb1f76a59
CR-Id: ALPS03959715
Feature: Audio Tuning Tool
2020-01-18 10:02:48 +08:00
Lili Lin
c5ef24d95d [ALPS03878175] Remove nvram policy
[Detail]
1. Since Android P, system and vendor cannot use
   on-disk files to communicate.
   Nvram is vendor_data_file, while audio-daemon is system process.
2. Actually since Android O, audio-daemon use
   AudioSystem::getParameters() to send command to audio driver who is
   the real one who touch the nvram. This is already a HIDL,
   In other words, audio-daemon does not touch nvram directly.

[Solution] Remove unnecessary policy, which may cause build break.

MTK-Commit-Id: ed37b24d8b1d939ee4d428e3ed49ba3155e953ec

Change-Id: I87c9cf8a6fb3952e24f0fb140b5cc65a59712350
CR-Id: ALPS03878175
Feature: Audio Tuning Tool
2020-01-18 09:35:08 +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
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