Commit graph

611 commits

Author SHA1 Message Date
Rios Kao
e537b06099 audio: update Raven/Oriole mixer path to V2.2
<Change List>
For mixer_paths.xml to both O6 & R4,
1. Add default value for "MIC Record Soft Gain (dB)" control  to accommodate with b/189498328.
2. Update below path name to move compensation gain from "MIC HW Gain At High Power Mode (cB)" to "MIC Record Soft Gain (dB)" to fix recording concurrency issue(b/189294476).
     - <path name="handset-mic">
     - <path name="speaker-mic">
     - <path name="camcorder-mic">
     - <path name="voice-recog-mic">
     - <path name="unprocessed-mic">
     - <path name="unprocessed-dual-mic">
     - <path name="unprocessed-triple-mic">

<Validation Results>
All the regression are positive, which is validated based on SD1A.210614.001 build.
1. Built-in mic capturing with expected gain setup and active mic numbers in different mic source(mic/VR/unprocessed/camcorder).
2. Built-in speaker playout with expected gain setup in speaker & speaker-safe mode.
3. Both uplink & downlink for telephony works in HA/HH mode.

Bug: 174448901
Test: basic record pass
Change-Id: I3f7759e6998f419a3d7d87b032d8088f5bc7dac0
2021-06-17 05:12:46 +00:00
Daniel Mentz
dd798d1449 Remove BOARD_VENDOR_RAMDISK_KERNEL_MODULES_FILTER variable am: dc0864b620 am: b5daf62914
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14924335

Change-Id: Ibb3db163b7ce66d976650b3f671d059c7e2c017a
2021-06-17 04:39:59 +00:00
Daniel Mentz
bd74457869 Remove BOARD_VENDOR_RAMDISK_KERNEL_MODULES_FILTER variable am: dc0864b620 am: 2e272fda0b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14924335

Change-Id: Ieb615eeb6e6c3a05e2484304db3578e10f1b9d79
2021-06-17 04:39:39 +00:00
Daniel Mentz
3afb8acbe5 Remove BOARD_VENDOR_RAMDISK_KERNEL_MODULES_FILTER variable am: dc0864b620
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14924335

Change-Id: I205e1689c373ff6cf5ebe9d898f7edbd804fdbb8
2021-06-17 04:24:08 +00:00
Daniel Mentz
446baa8708 Remove BOARD_VENDOR_RAMDISK_KERNEL_MODULES_FILTER variable am: dc0864b620
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14924335

Change-Id: I84ee5e2853f7aad762fdcfcc3416bd7297adc103
2021-06-17 04:23:16 +00:00
Daniel Mentz
27b1c03c5b Remove BOARD_VENDOR_RAMDISK_KERNEL_MODULES_FILTER variable
Previously, we defined a list of kernel modules that should be
excluded from the vendor_boot image. (Those modules are loaded
from the vendor_dlkm partition during second stage init.)

Going forward, we import a list distributed by the kernel build that
explicitly defines the kernel modules to included in the vendor_boot
image.

Bug: 190652328
Change-Id: I8d67bfdaa121ddd82dc9e493c9b18cebdc05233c
2021-06-17 03:57:10 +00:00
David Li
79989eafc2 audio: add dynamics_processing to audio_effects.xml am: 73ca14a1a4 am: 2613a5c80a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14973991

Change-Id: I6fbf5c54ca270e4f4e0bb6a97cca5359598383e1
2021-06-16 04:18:55 +00:00
David Li
b1cac741c9 audio: add dynamics_processing to audio_effects.xml am: 73ca14a1a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14973991

Change-Id: Ib29fb0822facfc6baf9c59c45af1f97b708e0a6a
2021-06-16 04:01:34 +00:00
David Li
7a85fa4758 audio: add dynamics_processing to audio_effects.xml am: 73ca14a1a4 am: 25ae7b7523
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14973991

Change-Id: Id3cf71363d166008860bbf1749d557a77096bab4
2021-06-16 02:40:37 +00:00
David Li
68ef97a4de audio: add dynamics_processing to audio_effects.xml am: 73ca14a1a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14973991

Change-Id: I16b931a134e54d1f5eae8e5cc6d32577a2d90cf4
2021-06-16 02:12:27 +00:00
David Li
00eb5c2a60 audio: add dynamics_processing to audio_effects.xml
Bug: 187144478
Test: run cts --include-filter "CtsMediaTestCases android.media.cts.DynamicsProcessingTest"
Change-Id: Id3ca6f6ef76a00a94d72150bcf3c4873478626ea
2021-06-16 01:56:43 +00:00
Ted Lin
03e62bb228 Remove the attribute set from init.rc for debugfs am: 77bdeb939d am: bef49e70f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911636

Change-Id: I48a92bc6e29cc197c31c3d082c4c12ecbf2bdc0d
2021-06-15 03:17:21 +00:00
Ted Lin
77f6c10c0e Remove the attribute set from init.rc for debugfs am: 77bdeb939d am: 084268791b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911636

Change-Id: I2365422cd2829adfeb1a0c591a0a128b4c6a7562
2021-06-15 03:17:04 +00:00
Ted Lin
0dc69519e1 Remove the attribute set from init.rc for debugfs am: 77bdeb939d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911636

Change-Id: I6d84e601ae3c7848dd46fd868b21311b24e8697b
2021-06-15 03:05:18 +00:00
Ted Lin
c702585dfa Remove the attribute set from init.rc for debugfs am: 77bdeb939d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911636

Change-Id: I8bf907ebc963c9c172302df9aa222d000933e4b4
2021-06-15 03:04:31 +00:00
Ted Lin
317f221521 Remove the attribute set from init.rc for debugfs
[    2.993897] audit: type=1400 audit(1623037840.652:4): avc:  denied  { setattr } for
pid=374 comm="init" name="registers" dev="debugfs" ino=9 scontext=u:r:vendor_init:s0
tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0

Bug: 190337297
Test: check bugreport
Change-Id: I0a2375bb5c3e1eef63eeaec65093ad53cf8fe02d
Signed-off-by: Ted Lin <tedlin@google.com>
2021-06-15 02:51:32 +00:00
Carter Hsu
6f50061220 audio: update audio capture tuning am: 6b982fdb4f am: 8aab1e18a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14701626

Change-Id: I987eda2b12c5a7adab56251effcd59817215d2bd
2021-06-13 02:28:03 +00:00
Carter Hsu
0e916cf891 audio: update audio capture tuning am: 6b982fdb4f am: 336c39a687
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14701626

Change-Id: I576d66c731e83a1c8f5e3d691e7099691ce973c9
2021-06-13 02:27:35 +00:00
Carter Hsu
b39f907fa4 audio: update audio capture tuning am: 6b982fdb4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14701626

Change-Id: Iaa4ab15214751de66041b53d0b8a5e89ec77baf2
2021-06-13 02:14:39 +00:00
Carter Hsu
6faab88218 audio: update audio capture tuning am: 6b982fdb4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14701626

Change-Id: Icba8a71835c85d4cdd5c0cb4784f2e4128993fea
2021-06-13 02:13:55 +00:00
Carter Hsu
f9d90fe79b audio: update audio capture tuning
1. Support more camcorder tuning with different channels
2. Update the latest params on WNR, SUR, Linear gain, MBDRC module.

Bug: 181869495
Bug: 186721091
Bug: 174448901

Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I969b9bbb6a3fd74206dfc0bf385d9ebc1fddf194
2021-06-13 02:00:07 +00:00
George Lee
00f5f9a72a thermal: add soc to thermal HAL monitoring am: ad4bda12d6 am: 66c3bd4007
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14939700

Change-Id: I029345ffe761801947a13a4ccdc23927a01c26dc
2021-06-11 16:25:39 +00:00
George Lee
14d36aa74e thermal: add soc to thermal HAL monitoring am: ad4bda12d6 am: 331c502407
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14939700

Change-Id: Ib6a0addc06fc97843103e43afdd66604ea8c3196
2021-06-11 16:25:24 +00:00
George Lee
182c1fdc3e thermal: add soc to thermal HAL monitoring am: ad4bda12d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14939700

Change-Id: I19f036c32221a12dcc503027e8ac8973e7b41ce2
2021-06-11 16:09:50 +00:00
George Lee
07ea2f4ceb thermal: add soc to thermal HAL monitoring am: ad4bda12d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14939700

Change-Id: I2feb350ce499f7cdc1ca25435b20c147b504bd19
2021-06-11 16:09:00 +00:00
George Lee
604aa67bcf thermal: add soc to thermal HAL monitoring
Oriole WHI A updated.

Bug: 188365095
Test: Confirm throttling based on criteria matched
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic3dcb7ed7af8aa40f56087fa72603e21c5c6b1ec
2021-06-11 15:51:48 +00:00
Edwin Tung
35b5a5c244 Update gps currents based on the measurement. am: 7914c92844 am: fd2bd50aff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911647

Change-Id: Iabfaa2e924422cc1a4f9b9377cc3ec1698de88b2
2021-06-11 09:43:04 +00:00
Edwin Tung
11fbf43edd Update gps currents based on the measurement. am: 7914c92844 am: 41b871d585
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911647

Change-Id: I0ed50a7012f5efdb86541bb9eab31e4b4886d78a
2021-06-11 09:42:37 +00:00
Edwin Tung
3d0f313514 Update gps currents based on the measurement. am: 7914c92844
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911647

Change-Id: Iad9e8dc90ee73139dd64e095f23f021bb03332af
2021-06-11 09:30:29 +00:00
Edwin Tung
3c69d4a61a Update gps currents based on the measurement. am: 7914c92844
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911647

Change-Id: I167cc5e0165d0cdc34bcd0df016fb25939a1a17a
2021-06-11 09:29:49 +00:00
Edwin Tung
f3caaf71bf Update gps currents based on the measurement.
Bug: 186995059

Test: manual
Change-Id: I7d4788af5cddb7d020b5d2188395cadc72bff144
2021-06-11 09:19:08 +00:00
linpeter
2352b725ba oriole: update blocking zones am: 4309e03e2f am: 58c9c15fa2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14831520

Change-Id: Iba2349f7e8c9db0f875290f2194f1b7ffe753e96
2021-06-11 04:49:18 +00:00
linpeter
cac3a55ee4 oriole: update blocking zones am: 4309e03e2f am: e1b1159930
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14831520

Change-Id: Ib23b38463562e114a07fa1b8186433f2715579d9
2021-06-11 04:45:19 +00:00
linpeter
604c0c9e6d oriole: update blocking zones am: 4309e03e2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14831520

Change-Id: I317424f9f4b21de12fc33666bd1a81eb37226b44
2021-06-11 04:33:05 +00:00
linpeter
2a995bc5e2 oriole: update blocking zones am: 4309e03e2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14831520

Change-Id: I00d9be72b4f4329e4fd4d975fa038f7637185237
2021-06-11 04:32:15 +00:00
linpeter
c4a2ca604d oriole: update blocking zones
Set Zone 2: < 30 Lux and UI brightness 45%. Lock 90Hz
Set Zone 3: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz

Bug: 187929149
Bug: 190018500
Test: no refresh rate chagne in the blocking zone
Change-Id: Iffe10c76cfff1c8eac9361e68a10377d26b48d10
2021-06-11 04:19:03 +00:00
Jasmine Cha
687d41af7a audio: update FM table (20210610) am: 518d70ad7e am: e32b687452
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14928655

Change-Id: I0c9c2303c7e4f06971138be83ba7c20e8fd14561
2021-06-10 09:25:46 +00:00
Jasmine Cha
4278d6c39e audio: update FM table (20210610) am: 518d70ad7e am: d9ff3fa93b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14928655

Change-Id: I7acd7a5ff11fc41f02733aea39e4738e2ffc7e1a
2021-06-10 09:19:22 +00:00
Jasmine Cha
59d3c79f3e audio: update FM table (20210610) am: 518d70ad7e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14928655

Change-Id: Ia2085efe27f3bb44a32b9e08d8780e57c5131e4d
2021-06-10 09:08:04 +00:00
Jasmine Cha
557b5c285a audio: update FM table (20210610) am: 518d70ad7e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14928655

Change-Id: I5c9bcca5f00e0cddc4a04831d939ef305281c742
2021-06-10 09:06:44 +00:00
Carter Hsu
24c90ce1fa audio: fix xml tag name am: c733b4b018 am: f6a6c181fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880401

Change-Id: If4bf3b639d4956438bda68cc2ade585bd23cdf6c
2021-06-10 07:03:11 +00:00
Carter Hsu
106ab29aac audio: fix xml tag name am: c733b4b018 am: 96d8a16702
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880401

Change-Id: Iac0d02675d1ff497ae7fa8307dd1bc54c2b72153
2021-06-10 07:02:20 +00:00
Carter Hsu
ee75fd8d6d audio: fix xml tag name am: c733b4b018
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880401

Change-Id: Iee8d9fb2b8d4d48cd1b128467ff1c762a92ba4b5
2021-06-10 06:36:35 +00:00
Carter Hsu
42036360ba audio: fix xml tag name am: c733b4b018
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880401

Change-Id: Ib45462b9d5c029f575a7ebb97af4a493db97f670
2021-06-10 06:35:16 +00:00
Jasmine Cha
eee11aea25 audio: update FM table (20210610)
remove
- HA ECNS_off-FB / EC_off-FB / NS_off-FB
- HH ECNS_off-FB / EC_off-FB / NS_off-FB

Bug: 174635995
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6f3295f63022695fec778ccf8993ea4954541db3
2021-06-10 14:26:51 +08:00
Carter Hsu
221629670f audio: fix xml tag name
Bug: 188606492
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I6fbc2e17bc11c19b224e472b868627ee9d110369
2021-06-10 06:22:22 +00:00
Jasmine Cha
91d7d6f302 audio: fm: update tuning table (20210608) am: 3a978d47d9 am: 0e40ea71ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880399

Change-Id: I36b18a3eee7db7857f0dde74eba1e46eae5b865e
2021-06-09 08:27:18 +00:00
David Chao
ad9325ecd0 thermal: Support thermal-hal to sent powerhint am: 0eb2861d7a am: 2db10fa85e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14701922

Change-Id: I5d67989629d0f42b9bd469c22a605dc05169b5b0
2021-06-09 08:27:11 +00:00
Jasmine Cha
198d1f292f audio: fm: update tuning table (20210608) am: 3a978d47d9 am: 4895c04395
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880399

Change-Id: Iee63a8a84285df4c2efe104e3b4b461c27fb5cb4
2021-06-09 08:21:22 +00:00
David Chao
ba891cc9c0 thermal: Support thermal-hal to sent powerhint am: 0eb2861d7a am: 49668da64b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14701922

Change-Id: Icd28eaaddc904d509173f857ceb108c353b7b844
2021-06-09 08:21:15 +00:00