Commit Graph

187 Commits

Author SHA1 Message Date
basamaryan
7bf15f5b1b Revert "sm6150-common: Import missing qcriNvOpt radio dependency"
This reverts commit 350d3fb4c8df85e57438c764411557d5934a7f72.

Reason for revert: RIL does not work on longcheer devices with libril-qc-hal-qmi.so from sweet_k6a

Change-Id: I07d8fd46ed9262319d0251e9b801a3dbf598163f
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Yung Ti Su
7bd3a629c4 sm6150-common: Enabling sound trigger V2_3
Bug: 139071862
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4123b0af64fc7bed934026540136e3811fab32f3
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Tyler Wear
1a5ad0d93d sm6150-common: tetheroffload: Version 1.1
Update tetheroffload to version 1.1.

Change-Id: I004e44e416a88a1b39a4c80366df9008722f096b
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Malathi Gottam
9ac6fc09ec sm6150-common: media_profiles: Edit profiles xml in accordance with schema
Export of Video Editor codec profiles & levels and
configuration of Video editor capalibilies,
these two entries are no longer needed hence removed.

Original-Change-Id: I8252415f37f2b1089e7281eec32deda9fd6e98cf
Change-Id: Ib8b4f52b4b83a0a31a66d118c75005ac9945a4e9
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
basamaryan
4e04a9498d sm6150-common: media: Import media_codecs.xml
From b2d81d3d10/media_codecs.xml

Change-Id: Ia3905329085e72a55c9e964e07ecd8a000a913f0
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
basamaryan
f9863b5810 sm6150-common: Update public.libraries.txt
Add new libraries from sweet V14.0.9.0.TKFMIXM

Change-Id: I3b9b1195198f975bc19a6618b13b8b6d8db0160a
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Tim Zimmermann
d192a7813b sm6150-common: Uprev audio HAL to V7
Updated audio policy by running:

'hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
device/xiaomi/sm6150-common/configs/audio/audio_policy_configuration.xml 7.0'

with some manual intervention.

Change-Id: Iede32c176742e89577365341732a86f6ecaee514
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
wenchangliu
d380b640a0 sm6150-common: add "can-swap-width-height" for video codecs
[VSR-4.2-004.002] MUST support identical size ranges horizontally
as vertically (for example, support portrait videos of the same size
if they support a landscape video size.)

Bug: 322453106
Test: atest android.mediav2.cts.CodecInfoTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:aa514b3779b94a7dc40dab302c84ab8ae97becfa)
Merged-In: I6918bc926964c8dd398d686ee3e7713d4f023ff2
Change-Id: I6918bc926964c8dd398d686ee3e7713d4f023ff2
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
dianlujitao
adae1ea661 sm6150-common: remove OMX
* OMX HW video codecs are no longer used after enabling Codec2
 * OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
basamaryan
6e2d634d89 sm6150-common: media: Import Codec2 configs
From sunfish TQ3A.230805.001.S1

Change-Id: Ie2ecfa912e0fe0892a2e6b8ddc3a6b6aa3213d40
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Kumar Anurag Singh
26ed2b1e60 sm6150-common: audio: remove direct flag for VOIP RX
remove direct flag for VOIP RX.

Change-Id: I9ee6f300b7a891afd1ad06c063424509d16d271e
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
basamaryan
eb689dc9f4 sm6150-common: Import missing qcriNvOpt radio dependency
Required after using libril-qc-hal-qmi.so from sweet_k6a

Change-Id: I5e2edbe279177a62bd7db114e2345f8222dd8783
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
basamaryan
d0cac07a5c sm6150-common: Bring back QCOM WFD
This reverts commit 4a838e1a9b and d5d80a5347.

Change-Id: Ib6b2ffc341fc22511ebacdd6b716257090209b3b
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
basamaryan
740e65c61d sm6150-common: media: Sync features with stock
Change-Id: I25d74d95eabe384d2cb209c3c6b5894871207d0f
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Paras Nagda
0cf1cdc0a1 sm6150-common: media: Tune perf xml as per results
Updated fps values for mpeg4 decoder.

Change-Id: I5f095948ba7be2eb4f446db884982da7979d50b1
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Bruno Martins
41ebde2e72 sm6150-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-09-16 14:16:53 -04:00
Aaron Kling
940cae663a sm6150-common: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-16 14:16:53 -04:00
Yumi Yukimura
5f487d9349 sm6150-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-09-16 14:16:53 -04:00
basamaryan
caf4fd3282 sm6150-common: Use the common excluded-input-devices.xml
Change-Id: I22da0119acb1df87eb093ab311fa86369817ca8a
2024-06-22 17:27:09 +05:30
basamaryan
c41438c851 sm6150-common: Use the common Xiaomi FCM
Change-Id: I0ca395bc5c23c26e1546d3dd1839592530cc0e3f
2024-06-22 17:26:47 +05:30
Bruno Martins
83a0bcef55 sm6150-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-04-10 13:26:46 -04:00
Adithya R
98d7265fbe sm6150-common: Switch to full IWLAN mode
[basamaryan: This is needed to fix RIL on Android U]

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
2024-04-10 13:26:45 -04:00
Josh Wu
6735f03614 sm6150-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2024-04-10 13:26:45 -04:00
Sebastiano Barezzi
bb60b16ec9 sm6150-common: Uprev bluetooth audio HIDL impl to 2.1
* We get free LC3 support, isn't it poggers?

Change-Id: I0f1713ee542102374183ef8088bcad62d3859c2f
2023-06-04 10:55:32 +02:00
Roger Liao
f9aae1686c sm6150-common: Update kernel target level
Updating kernel target level to Android R

checkvintf Error
checkvintf E : files are incompatible:
    Runtime info and framework compatibility matrix are
    incompatible: Kernel FCM version is not specified, but kernel version
    4.19.95 is found. Fix by specifying kernel FCM version in device
checkvintf E : manifest. For example, for a *-r kernel:
checkvintf E : <kernel target-level="5"/>
checkvintf E : INCOMPATIBLE

Bug: 148823278
Change-Id: Ia30013045b0fe15abc859dda503aed790aaeeb76
2023-04-11 15:22:57 +02:00
Arian
3719d185b0 sm6150-common: hidl: Add xiaomi framework compatibility matrix
Change-Id: I6c8e4ecfc6391ea1d59c68ddb43bdca9f6180826
2023-04-11 15:22:06 +02:00
llololo
849e237ae3 sm6150-common: Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2023-04-11 15:20:23 +02:00
Arian
a3ee287d54 sm6150-common: audio: Don't advertise aptX TWS in audio policy config
Android 13 QPR1 does not seem to like advertising unsupported codecs here.

Change-Id: I23a7f626a268a0c89199aaa5899df9b812d85ae2
2023-01-29 21:30:37 +00:00
basamaryan
598ab2e3be sm6150-common: audio: Drop 24 and 32 bit recording support
* This unfortunately causes some applications from Meta
  to record low volume audio in calls and voice messages.

Change-Id: I7e9ea6faa2ddbb5cf5f44bbf5060b41edd7bf1e9
2023-01-27 01:32:59 +00:00
Paras Nagda
f24c8337d7 sm6150-common: media: Fix VTS issue.
Arrange the tag limit and feature in-order.

Change-Id: If8b9e10e56c36e995cbc3f438b4fa113e1cbe806
2023-01-27 01:32:59 +00:00
Malathi Gottam
49549d6cf9 sm6150-common: media: Add swap width and height feature
In case any codec of target supports width & height swap,
then this feature needs to be advertised in media_codecs xml
otherwise newly added strict dimension checks in framework
fail hw codec instantiation considering codec cannot handle
format leading to sw fallback despite codec capability.

Change-Id: Ief2c9d6dc4ee05a6798a58a0427b75e8c0a2dedb
2023-01-27 01:32:59 +00:00
Giovanni Ricca
d172ae494c sm6150-common: gps: Revert PROXY_APP_PACKAGE_NAME OEM change
Change-Id: Ia13ce8d80233a493aa90723a1e974871ddce641b
2023-01-27 01:32:59 +00:00
Tyler Wear
92fe0b3663 sm6150-common: IFactory 2.3
Up IFactory version to 2.3.

Change-Id: I558f96edbf2ecb94d3e0c5126f2c55c3534e4a96
2023-01-27 01:32:59 +00:00
pramod kotreshappa
22d38c36d2 sm6150-common: Bluetooth: Bluetooth Audio HIDL up-rev to 2.1
Change-Id: I396d2a28b8146a7c2018c15fa77452f7011fbac8
2023-01-27 01:32:59 +00:00
pengfeix
b319e820d5 sm6150-common: Uprev ImsRadio version to 1.7
Change-Id: I03f24fd9eac8995ad565218b342503ef7bf3129e
CRs-Fixed: 2855616
2023-01-27 01:32:59 +00:00
Avinash Nalluri
6dd0fc1ad4 sm6150-common: manifest: Update IQtiRadio with v2.6
Change-Id: I37d462028a7a82925b12b0e9f8a16a395a629fa2
CRs-Fixed: 2854788
2023-01-27 01:32:59 +00:00
qiongz
32f927e941 sm6150-common: Uprev QtiRadio version to 2.5
Uprev QtiRadio version to 2.5.

Change-Id: Icd74a9a895ad18ce2cb2c42caf4b746faf05a92c
CRs-Fixed: 2795130
2023-01-27 01:32:59 +00:00
Gary Jian
69285c102b sm6150-common: Upgrade IRadio version to 1.5
Bug: 147070523
Bug: 154066681
Test: manually
Change-Id: I765a0822dabf206391d19037f971a46281758b3f
2023-01-27 01:32:59 +00:00
Bruno Martins
53b6eec2be sm6150-common: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2023-01-27 01:32:59 +00:00
Arian
e0b57d8fa6 sm6150-common: Update blobs from sweet V13.0.8.0.SKFMIXM
Change-Id: Icd49e5186f0385d412d0bdc59e0956a09298f4bd
2022-07-13 17:54:03 +02:00
Arian
c59c8ee2f1 sm6150-common: wifi: Update from sweet V13.0.8.0.SKFMIXM
Change-Id: I0fb87ac8d9b8cfae99f1b1c1fce8ac13810af8fc
2022-06-28 00:41:08 +02:00
Arian
8165447971 sm6150-common: gps: Update configs from sweet V13.0.8.0.SKFMIXM
Change-Id: I44bcd03b00d9b829ab8a86ef46ee1bcd580f7511
2022-06-28 00:41:07 +02:00
Mike Cailean
4242a98d17 sm6150-common: gps: Comment out ANTENNA_INFO_VECTOR_SIZE by default
The values provided in gnss_antenna_info.conf are
for illustration purpose only and should not be
used in production

Change-Id: I29afd24893e95b918126c4dc7b94e064b39920b7
CRs-fixed: 2967039
2022-06-28 00:41:07 +02:00
Hoss Zhou
553228f127 sm6150-common: gps: Add nmea tag block grouping feature
Tag Block grouping is used to report more than 12 SVs in GSA.
It is controlled by item NMEA_TAG_BLOCK_GROUPING_ENABLED in
gps.conf and only applicable to GSA.

Change-Id: Id9b89af96419c179554ce9f5c8d702f19153ed32
CRs-Fixed: 2813599
2022-06-28 00:41:07 +02:00
Shawn Shin
3ade89d769 sm6150-common: qcc-tr: define new AID for qcc-trd
Change-Id: I47c9b034600c9b31a17de2808030af38f69e10e0
2022-06-28 00:41:07 +02:00
Anver sadhique
30b6244575 sm6150-common: audio: Set valid and supported channel mask for earpiece
For earpiece to be properly enumerated as a output device,
set valid and supported out_ channel mask.

Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83
2022-06-28 00:41:07 +02:00
Anver sadhique
ee19f52144 sm6150-common: audio: Fix copyright
Reverting LF copyright year back to original.

Change-Id: Ia8b69b705f17727d9ae6ba29c6154b5fef36a292
2022-06-28 00:41:07 +02:00
Anver sadhique
c58c4b845b sm6150-common: audio: Remove dynamic attributes from APS config
Remove dynamic attributes from APS config since it
is not supported.

Change-Id: I48e232b831cfb0aa8ba9ab875aa92119140008ef
2022-06-28 00:41:07 +02:00
Lakshman Chaluvaraju
7426fb1713 sm6150-common: audio: Add Stereo config channel support to usb surround sound
Adding stereo config channel support to usb surround sound proflle
to address CTS-V failure issue seen due to mismatch in channel mask
support for record usecase

Change-Id: Ib50511d2fa6df24b3aa4764553cd48726129b2c2
2022-06-28 00:41:07 +02:00
Weiyin Jiang
e365753bab sm6150-common: audio: Add compress recording configurations
Add compress recording configurations

CRs-Fixed: 2764160
Change-Id: I8e8b1f89d7f28d997342c5946d0a35111e941ec1
2022-06-28 00:41:07 +02:00