Commit Graph

1247 Commits

Author SHA1 Message Date
Arian
cfe2ce333c sm8350-common: Decommonize NFC configs
Change-Id: I49d0bb5fc61d40eec3d218f5cebabea0217fc621
2022-04-02 00:00:58 +02:00
Arian
d90172a404 sm8350-common: Add power HAL extension and use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2022-04-02 00:00:58 +02:00
Giovanni Ricca
a0ec4101e4 sm8350-common: sepolicy: Label more wakeup nodes
* Required for lisa

Change-Id: Iec55564b8a8d22dd80b81431edf7e606c68d7ea1
2022-04-02 00:00:58 +02:00
Arian
5600780c4b sm8350-common: sepolicy: Label more wakeup nodes
Change-Id: Ifcdfebf840b125666b634c504d52a727278e9193
2022-04-02 00:00:58 +02:00
Arian
ffe4f5367d sm8350-common: sepolicy: Allow bluetooth hal to read bt.mac
nv_mac stores the mac address in /data/vendor/mac_addr/bt.mac
and the xiaomi bluetooth HAL reads it from there.

Change-Id: I4469befffdcefa76a989020d617089dfb3e26673
2022-04-02 00:00:58 +02:00
Arian
0b7ee41b13 sm8350-common: sepolicy: Label xiaomi MAC address tool and data dirs
Change-Id: Ibb5a71bd753e5de2d3a8de0490a344a907dbd923
2022-04-02 00:00:58 +02:00
Erfan Abdi
577f097951 sm8350-common: sepolicy: Allow perf hal to read hal_camera_default dir
Change-Id: Ibd32be56e24325a6f349a7418835472f828f74ba
2022-04-02 00:00:51 +02:00
Erfan Abdi
7055015a16 sm8350-common: sepolicy: Add mlipay rules
Change-Id: I1023e481d49ed5ec0ae15a513c65133987d6f556
2022-04-02 00:00:44 +02:00
Erfan Abdi
5d25df15c4 sm8350-common: sepolicy: Add mius rules
Change-Id: I4ebc9561ae7e0700c7937e615688b5b71b1a0a82
2022-04-02 00:00:35 +02:00
Erfan Abdi
124e1c3210 sm8350-common: sepolicy: Replace mfp rules with hal_fingerprint_default
Change-Id: Ifa560592bcab7bc76155a1addde81c5ff0af147e
2022-04-02 00:00:23 +02:00
ItsVixano
9f4b8dbac2 sm8350-common: vibrator: Add support to aw8624_haptic node
Change-Id: Iff112c8ffa4462cfc30d06252b9cb5912f06f99a
2022-04-01 23:43:34 +02:00
Arian
5ae87ffe5c sm8350-common: vibratoreffect: Read vibration effects fifo data from vendor
Change-Id: I58c74f01d75e8616fdb03c27e3dc4c4df6838faa
2022-04-01 23:43:34 +02:00
Arian
b9612a44d0 sm8350-common: Rename qti vibrator effect
Change-Id: I15286cbcd12b22467c07672924724c3278f3cf52
2022-04-01 23:43:34 +02:00
Arian
7349e1a167 sm8350-common: Import qti vibrator effect
Change-Id: Icf81eaa4419240007e63727c1fd5717920e2d677
2022-04-01 23:43:34 +02:00
Arian
cab4afd2f1 sm8350-common: vibrator: Make the usage of effect stream optional
Change-Id: I45f15112b16b04a9a012bf26e366aaebaa3a3bef
2022-04-01 23:43:34 +02:00
Arian
8463e24d5c Revert "sm8350-common: vibrator: remove unused effect stream handling"
This reverts commit 1e781f9173.
2022-04-01 23:43:34 +02:00
Arian
ca6948ba5b sm8350-common: Move vibrator HAL to aidl subdir
Change-Id: I398d0e597f979b294d3208643d94d05094b84e74
2022-04-01 23:43:34 +02:00
Erfan Abdi
269452e009 sm8350-common: Add lineage.dependencies 2022-04-01 23:43:34 +02:00
Erfan Abdi
8d47162ae2 sm8350-common: Add manfest entry for IR hal service
Change-Id: I1641bec53087986fa4135ac7be29c97a2db31eaf
2022-04-01 23:43:34 +02:00
Arian
1a7b42f716 sm8350-common: Drop remaining pieces of qcom system daemon
Change-Id: I4353249682aaa0c08b5af462656974bcb6fdf14a
2022-04-01 23:43:34 +02:00
Arian
bc6dd3758c sm8350-common: Cleanup qti_whitelist
Remove all packages that we don't ship.

Change-Id: Ifdfdd7fcff30711c686e4e50073b734863dc729e
2022-04-01 23:43:34 +02:00
Arian
29e5b0c186 sm8350-common: Import qti_whitelist
Change-Id: Ic7dc5fecf3d2fc041acdb3c3472f519f3ad573da
2022-04-01 23:43:34 +02:00
Arian
481d55d8a3 sm8350-common: Add telephony system-ext privapp permissions
Change-Id: Iaaab0ff52cd22b3095b56501189d55a68cfdc32b
2022-04-01 23:43:09 +02:00
ItsVixano
da2b8fb66e sm8350-common: media: Import yupik configs
* From odin V12.5.12.0.RKMCNXM

Change-Id: I4282da5b3555e648e1544c91bc4e1f6b6fb284dc
2022-04-01 17:52:48 +02:00
Arian
1f07b44542 sm8350-common: Set ro.media.xml_variant.profiles to choose media profiles
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.

[1]: eaac82f33f#

Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
2022-04-01 17:51:57 +02:00
Arian
2fac1fd14d sm8350-common: media: Cleanup init script
Drop unsupported platforms, simplify target_variant setup and drop qssi
and build codename checks.

Change-Id: I392c09587bfbf15c0bd3af84cc12d1bdb8e269d6
2022-04-01 17:51:57 +02:00
Arian
e315cf2178 sm8350-common: Import qti media init script from odin V12.5.12.0.RKMCNXM
Change-Id: Iab9a821bb7135b76205ce1a28ddc950ce852a42b
2022-04-01 17:51:57 +02:00
Arian
668fcdbe28 sm8350-common: Import shima_v1 media profiles from odin V12.5.12.0.RKMCNXM
Change-Id: I3a47a0cff5ab167e9295b76e3be839e092e9acd0
2022-04-01 17:51:57 +02:00
Arian
e0d174ca26 sm8350-common: media: Update lahaina media_profiles from odin V12.5.5.0.RKMCNXM
lpcm is intentionally added back because it is no longer required to
remove unsupported profiles.

Change-Id: I3e90541c0d94fe4a518bb97c0b31deb65c1f83c9
2022-04-01 17:51:57 +02:00
Arian
b7de517a22 sm8350-common: Add target specific lahaina media profiles
The lahaina media profile is the default profile too, so
copy it to media_profiles_vendor.xml too.

Change-Id: I8ffe04ca1b294f3e5404ef833ce770d970bf1c0e
2022-04-01 17:51:57 +02:00
Arian
9cd39bbe40 sm8350-common: Drop unused google video media codecs
Change-Id: Ia77ac73b89494a00a88038239f7023c1041894e4
2022-04-01 17:51:57 +02:00
Arian
b0ecaf4dca sm8350-common: media: Import shima_v1 media codecs configs from odin V12.5.12.0.RKMCNXM
Change-Id: I6631222c1522a5e6845b6efc12ed0b5bef2ef341
2022-04-01 17:51:53 +02:00
Arian
f7c1d550c3 sm8350-common: media: Drop media_codecs_c2_audio include
This file does not exist on stock, remove the include
to silence the warning at boot.

Change-Id: I0c8e470d06f8807b40dcb9c784b4162ca1929b98
2022-04-01 17:51:33 +02:00
Arian
9d02c50e3a sm8350-common: Update lahaina media configs from odin V12.5.12.0.RKMCNXM
Change-Id: I9481501c325a49d70ce28214c7a2ad9926c4e036
2022-04-01 17:51:33 +02:00
Arian
bbe0bcac9e sm8350-common: Always use lahaina vendor media configs
AOSP loads media_codecs_lahaina by default and CAF will
fallback to media_codecs_lahaina if the lahaina_vendor
variant does not exist.
The vendor variant works on AOSP too, so no need to
duplicate this.

Change-Id: I6583c900c22bf277075393ddf49d95a687a6771a
2022-04-01 17:51:33 +02:00
Arian
ee68b68e58 sm8350-common: Move lahaina media codecs configs to subdir
This is a preparation to add more media codecs variants.

Change-Id: I6a7a3e3ff8e23db7393fc6d99822a0238d81ff53
2022-04-01 17:51:33 +02:00
Arian
2257bcb986 sm8350-common: Unset media target, xml variant and netflix properties
These are set by init.qti.media.sh already with the correct values

Change-Id: I0ae5faa92127682b98607b254d2125a8b8419da8
2022-04-01 17:51:33 +02:00
Giovanni Ricca
64b4d24a57 sm8350-common: Copy audio configs to sku_yupik
Change-Id: Ic60f6c60d83a5fed6b563624524218effd325ef7
2022-04-01 17:51:33 +02:00
Arian
61ee6d4f68 sm8350-common: Copy audio configs to sku_shima too
These scripts are common between lahaina and shima.

Change-Id: Ied6252408afd5186019cf5bec0705e89d0f6f034
2022-04-01 17:51:33 +02:00
Arian
1c56ed3a29 sm8350-common: Import qcv init scripts and unset sku property
Change-Id: I28dbc3821c52f850b8425afcd1f5589bf31806df
2022-04-01 17:51:33 +02:00
Arian
3c53ea05ed sm8350-common: Drop sensorscalibrate hal
Change-Id: Ia5aa523516df4ffdbebbabd84459b8fbf9c92bda
2022-04-01 17:51:33 +02:00
Arian
e03484028d sm8350-common: Drop unnecessary manifest entries
We don't ship these.

Change-Id: Ifa43bfbd8f787b13ac08ef9976340abd0ffb25eb
2022-04-01 17:51:33 +02:00
Arian
4865e34003 sm8350-common: Add mlipay to framework compatibility matrix
Change-Id: I5933619ad3189e4903dbf82d5b539997ad9d219a
2022-04-01 17:50:52 +02:00
Erfan Abdi
fdc931f14c sm8350-common: Build audioadsprpcd
Change-Id: Ib7a323c7d29ae768ced71f9f43395422e1204021
2022-04-01 17:50:45 +02:00
Arian
76ba94d989 sm8350-common: Build qti camera postproc interface to vendor
Change-Id: I7c90727e85455323c8f9fb2229fe414ba74379e1
2022-04-01 17:50:45 +02:00
Arian
420ef3f638 sm8350-common: Build ant interface to vendor
Change-Id: I8fd532b91be5a008383e35a87cc423cc6e33625e
2022-04-01 17:50:45 +02:00
Arian
d6dae53636 sm8350-common: Build 2.2 qti perf interface to vendor
Change-Id: If7f36b34c1422dd36b3aa8a43ea1189711042d1e
2022-04-01 17:50:45 +02:00
Santhosh Behara
d15e57ef72 sm8350-common: media: Add and publish Codec2 HAL service
* Add 2 codec2 relates libs to PRODUCT_PACKAGES in order to copy
them to /vendor/lib/

Change-Id: I56da6b774cf0f9b9e628886d7bfe22f5ccae4258
2022-04-01 17:50:45 +02:00
Michael Bestas
acdabcae2f sm8350-common: Remove android.hidl.base@1.0 shims
* Patch the 2 remaining blobs that depend on it.
* They already need libhidltransport.so so there's
  no real need for the shims anymore.

Change-Id: I00f185fd4d1d8798893cf82abf9d64fcb68c3301
2022-04-01 17:50:45 +02:00
Michael Bestas
74a4a720ff sm8350-common: Remove dummy android.hidl.manager@1.0 libs
* Not used by anything

Change-Id: I08cf70c9b880fd098136f7107d340b610bb9ee49
2022-04-01 17:50:45 +02:00