Commit Graph

176 Commits

Author SHA1 Message Date
Sarthak Roy
db17f42555 sm6150-common: audio: Use DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE for earpiece speaker
Signed-off-by: Sarthak Roy <sarthakroy2002@gmail.com>
Change-Id: Ifbd54257d339b8e9b5fbcebf4b1fc1ef9104ae5e
[basamaryan: Import from android-14.0.0_r67 and guard it]
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
46bd645cd4 sm6150-common: audio/media: Conditionally bring in changes from sweet V14.0.9.0.TKFMIXM
Guarded with TARGET_USES_DOLBY

Change-Id: Ie8d215fa37a9258cfec5522360a4c0215c7d37b0
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Adithya R
4d23c0af8a sm6150-common: Drop soundtrigger HIDL impl
* breaks google voice match with pixelpropsutils as
   we don't have hotword enrollment support

Change-Id: I213626f9729e5ff47ce7e6c990d605ed669b97e3
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
eb4cef57ab sm6150-common: Update public libraries from sweet V14.0.9.0.TKFMIXM
* Retain changes made in 3476ddfcaf and fe82d2824b

Change-Id: Ic94896b9d16918bd318a9807701267cc617bfc06
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08: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
Arian
b09191563e sm6150-common: media: Drop media_codecs_c2.xml
Change-Id: Ic4f7e078538d6c362d07669d77ed0083528e25f1
2022-06-28 00:41:07 +02:00
Paras Nagda
c777f2dcab sm6150-common: media: Add Attribute name for SW encoder
Change-Id: I81637e78262f7c36a8a8da44247f2cacd96b8f79
2022-06-28 00:41:07 +02:00
Vasantha Balla
8b0924327f sm6150-common: media: Update max resolution from True4k to UHD.
Update max resolution of encoders on sdmmagpie(sku verion1)
target as per spec.

Change-Id: I894ed2aa111419e97d5d9a4215c440edaf5ab150
2022-06-28 00:41:07 +02:00
Paras Nagda
a6f04db0a2 sm6150-common: media: Finetune performance xml
Fine tuned the performance xml based on the
CTS results for C2 HW codec

Change-Id: I375e2abe927be456d1493bea063bf47992f4799e
2022-06-28 00:41:07 +02:00
Pavan Kumar M
ac437d967b sm6150-common: hidl: Update uceservice HAL to 2.3
Change-Id: I780fef79b6b370d2058a45a08230de19cce4a0af
2022-06-28 00:41:07 +02:00
Manoj Basapathi
7a23256ee8 sm6150-common: hidl: Update factory version to v2.2
Change-Id: I67c80b81f46c692b0107d86615f2ca97c58d25fa
2022-06-28 00:41:07 +02:00
Marc Bourgoin
d5d80a5347 sm6150-common: Drop QCOM WFD
Change-Id: I3dd591444dc54ebe3a32e0385cbfc3db6bfc5e1f
2022-06-22 16:23:58 +02:00
Arian
565809d0b5 Revert "sm6150-common: fingerprint: Allow to build without fingerprintextension"
This reverts commit a8c1391091.

Change-Id: I78244b2491b8ba824907cf1cb056c2f26bffbc72
2021-12-29 10:13:58 +00:00
Wei Wang
fe82d2824b
sm6150-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2021-06-18 18:37:26 +02:00
LuK1337
907ff515f3
sm6150-common: audio: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2021-06-18 18:34:31 +02:00
dianlujitao
548f696fba
sm6150-common: audio: Disable audio ULL mode
* fixes crackling noise while playing some sounds

Change-Id: I9cd1d63fbd1f55a034944f419ae42121bae9c51d
2021-06-18 18:34:31 +02:00