Commit Graph

86 Commits

Author SHA1 Message Date
Bruno Martins
2ce7a1c21e sm7250-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-10-15 11:28:53 +10:00
Akash Srivastava
03ab6f8bd3 Revert "sm7250-common: Switch to AIDL WIFI HAL"
This reverts commit f202cb1387.
2022-10-14 19:43:22 +10:00
mikairyuu
0bf8ffd1d6 sm7250-common: Build missing bt libs 2022-09-05 18:03:58 +03:00
mikairyuu
13b34afdc3 sm7250-common: switch to stock liba2dpoffload.so
we don't support source built liba2dpoffload lib anymore
2022-09-05 18:03:58 +03:00
mikairyuu
1fe339de60 sm7250-common: Build android.hardware.bluetooth.a2dp 2022-09-05 18:01:08 +03:00
mikairyuu
01f7e7b227 sm7250-common: Build vendor.qti.hardware.btconfigstore@2.0 interface 2022-09-05 18:01:08 +03:00
mikairyuu
ead945de68 sm7250-common: Build audiohalext interface 2022-09-05 18:01:08 +03:00
Sebastiano Barezzi
1b19711be7 sm7250-common: Switch to prebuilt secure_element stack 2022-09-04 18:20:57 +03:00
mikairyuu
a914903ade sm7250-common: Switch Health HAL to AIDL 2022-08-22 15:06:45 +03:00
Akash Srivastava
f202cb1387 sm7250-common: Switch to AIDL WIFI HAL 2022-08-21 20:28:21 +03:00
tarsin
79ad3d7105 sm7250-common: Make shim for com.mi.node.watermark.so
Signed-off-by: Kujou Yuko <i@779.moe>
Change-Id: I47fea33432692a7a76d71db91676cb3a58ac19c7
2022-08-21 19:30:11 +03:00
mikairyuu
6268953703 sm7250-common: Build Pixel Thermal HAL 2022-08-20 15:52:26 +03:00
mikairyuu
5d983c08ba sm7250-common: Uprev audio HAL to 7.1 2022-08-20 15:52:26 +03:00
Josh Wu
79fba8b135 sm7250-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-08-19 18:49:24 +03:00
mikairyuu
d7397d77ef [TEMP] Switch to mock thermal 2022-08-19 12:22:21 +03:00
Etienne Ruffieux
a79fb6ac72 sm7250-common: Removed audio A2dp from common.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I300369d36399ffb558b98bafc2478b872d09faba
2022-08-17 18:11:09 +03:00
Joey Huab
1d38427c4e sm7250-common: Remove gsi_keys
* Removed in b30a23cca2.
2022-08-17 18:10:23 +03:00
mikairyuu
e3b00395fc Revert "sm7250-common: rootdir: provide fstab.qcom"
This reverts commit ef1eb99e5c.
2022-08-03 20:38:20 +03:00
xSylla
ef1eb99e5c sm7250-common: rootdir: provide fstab.qcom
* Move from fstab.default to fstab.qcom for better compatibility
* Xiaomi hardcode androidboot.fstab_suffix=default in bootloader so let's force load qcom
* Also remove fstab.emmc and recovery.fstab as they're not used
* Inline fstab with sm8250
* Move qcom recovery init script to Android.bp
2022-07-23 18:25:02 +03:00
mikairyuu
0e1341faeb sm7250-common: clean parts remains 2022-07-17 11:20:02 +03:00
aswin7469
f11ba4a817 sm7250-common: Enable all codec2 components with their normal ranks
* remove OMX components also while at it

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-07-17 10:46:38 +03:00
Albert I
e4e88dd0a3 sm7250-common: Import QTI Codec2 HAL
* Enable Codec2 input surface
* Move QTI Codec2 media_codecs to where they actually belong
* Provides hardware-accelerated Codec2 decoding for most codecs

Signed-off-by: Albert I <kras@raphielgang.org>
2022-07-16 19:48:56 +03:00
mikairyuu
fad1fdd33a Revert "sm7250-common: Nuke FM radio"
Turns out people still use it
2022-06-24 00:33:24 +10:00
Subbaraman Narayanamurthy
ccaf40fbc3 sm7250-common: Add QTI health implementation
Add QTI health implementation so that it waits for battery power
supply for a max timeout of 5 seconds. This is to ensure by the
time health HAL service starts, battery power supply device is
available. Without this, health HAL couldn't find battery power
supply sometimes because of the time taken for battery charger
driver to probe on platforms where it can happen only after the
remote subsytem is bought out of reset.
2022-06-20 15:01:41 +10:00
mikairyuu
dfb5a8e37f sm7250-common: remove non-existent los overlay folder 2022-06-17 22:27:09 +10:00
mikairyuu
b9118ce1b2 sm7250-common: Nuke FM radio 2022-06-17 18:49:41 +10:00
mikairyuu
8e6c6a2f49 sm7250-common: Remove WFD jar 2022-06-17 18:49:41 +10:00
Akash Srivastava
f0a6977227 sm7250-common: Include ipacm makefile
* No need to populate device tree with its package. Just include its makefile

Signed-off-by: Joey Huab <joey@evolution-x.org>
2022-06-17 18:49:41 +10:00
Haoran.Wang
b05559daf5 sm7250-common: Grant android.permission.WRITE_DEVICE_CONFIG to gms
Grant android.permission.WRITE_DEVICE_CONFIG to com.google.android.gms
package.

TEST: run gts -m GtsDeviceConfigTestCases -t
com.google.android.deviceconfig.gts.DeviceConfigApiPermissionTests#testWriteDeviceConfigPermission

Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
Reviewed-on: http://androidsource.ap.freescale.net/project/13666
Reviewed-by: guoyin.chen <guoyin.chen@nxp.com>
Reviewed-by: Tian Yang <yang.tian@nxp.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
2022-06-17 18:09:45 +10:00
mikairyuu
2989264ed6 sm7250-common: Declare high performance VR support
Needed for daydream etc to work
2022-06-17 18:09:45 +10:00
mikairyuu
1f04cc785d sm7250-common: Build Pixel Thermal HAL 2022-06-17 18:09:45 +10:00
mikairyuu
a9b018a266 sm7250-common: import configs from snow 2022-06-17 18:08:49 +10:00
Mikhail Naganov
525035cbd7 sm7250-common: Switch audio HAL to V7
Updated audio policy manager configuration files to comply
with the changes in the XML schema.

Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: I55d3728c809d27e58d5d496a1c7d637050dde53a
2022-06-16 13:02:53 +10:00
johnmart19
3a625d8bda sm7250-common: Apply latest supported deqp levels for Vulkan & OpenGL
Device uses drivers OpenGL ES 3.2 V@502.0 Date: 10/04/2021, Vulkan v1.1.128, which fully support this versions

Signed-off-by: Joey Huab <joey@evolution-x.org>
2022-06-16 13:00:10 +10:00
kondors1995
0d8b31cf3e sm7250-common: Add Livedisplay 2.1 2022-06-16 12:56:26 +10:00
Sebastiano Barezzi
3bf10fed5d sm7250-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-06-05 14:29:58 +02:00
Sebastiano Barezzi
898e641b18 sm7250-common: Drop atrace HIDL
Change-Id: Iaaaf62e9dda26dd15d51f5975d9f21fe1037d2eb
2022-06-05 14:29:58 +02:00
Sebastiano Barezzi
35c9ecbc6e sm7250-common: Stop explicitely building netutils-wrapper-1.0
* Built by default

Change-Id: Id6666535bb8d0b84d2d0a8d19411fafa49df3d68
2022-06-05 14:29:58 +02:00
xSylla
aaaf91f031 sm7250-common: We already have USB audio policy configuration so don't pick AOSP one
Change-Id: I92056d03df54abcfec42fcc6781ba1ae3651a4e5
2022-06-05 14:29:25 +02:00
Sebastiano Barezzi
f52759c8e1 sm7250-common: Implement UDFPS handler
Change-Id: I7afff305140639d38ebb8bc51fbe790a1636db9e
2022-06-05 14:29:13 +02:00
SebaUbuntu
a6624039b5 sm7250-common: Move to common Xiaomi fingerprint HIDL
Change-Id: I6c29a831e985ee440c92a98aad8d33f25b9e5b2d
2022-06-05 14:29:13 +02:00
Sebastiano Barezzi
a10f85a8f4 sm7250-common: Build mtdservice interface lib from source
Change-Id: Ie739f283c4be1b77d57aaee1941ed46957da1d1a
2022-06-05 14:29:13 +02:00
Bruno Martins
78150a3f1e sm7250-common: Switch to source-built mlipay interface
Change-Id: I7daaaffd9fe7a870e42c1d882b52dc93b3231120
2022-06-05 14:29:13 +02:00
xSylla
76225f1e92 sm7250-common: Update blobs from MIUI V13.0.2.0.SJIMIXM
Change-Id: Ie65bb522086e1ee099423ca6d4d9cd9f2ebbefe7
2022-06-05 14:28:33 +02:00
Sebastiano Barezzi
55c2763845 sm7250-common: Move to common IfaaService
Change-Id: I71bfdacc4626d75d56aa12ec384f0f116d6d6ff2
2022-06-05 14:27:56 +02:00
Timi Rautamäki
746e3abd5a sm7250-common: Drop Snap
It's not included in 19.1

Change-Id: Ie3f908234cf7a3d94d33ad0e9d170d3738bb9752
2022-06-05 14:27:26 +02:00
LuK1337
c2c12192bd sm7250-common: Remove trust HAL from product packages
USB 1.3 HAL now provides the same functionality and even more.

Change-Id: Idda908a90d3b935e1065eb41abec4babeefc4fd0
2022-06-05 14:27:05 +02:00
Albert Wang
bfee3fe144 sm7250-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-06-05 14:27:05 +02:00
xSylla
aa3f49ebd5 sm7250-common: Move media configs to proprietary-files
Change-Id: If6c11d5a775e717e6bf5146a9a29880e02d0e48d
2022-06-05 14:26:20 +02:00
xSylla
e4aba27c5b Revert "sm7250-common: Add KeyHandler to handle an goodix FOD key"
This reverts commit 11b649960c.

Change-Id: Idc9f5b41f1223a0e681b378dbb674d179af84977
2022-06-05 14:26:05 +02:00