Commit graph

287 commits

Author SHA1 Message Date
Rios Kao
8c5eb5ffa9 audio: update Raven/Oriole mixer path to V2.2 am: 0fb967db93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14966358

Change-Id: I2e8892b31bb74282bf163023dd8677308bf64f2f
2021-06-17 05:32:25 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
f3caaf71bf Update gps currents based on the measurement.
Bug: 186995059

Test: manual
Change-Id: I7d4788af5cddb7d020b5d2188395cadc72bff144
2021-06-11 09:19:08 +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
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
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
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
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
26f5228bea audio: fm: update tuning table (20210608) am: 3a978d47d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880399

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

Change-Id: Ie34def7f4043a02a5f60d7c6be81af33ab87cb55
2021-06-09 08:08:15 +00:00
Jasmine Cha
10328be209 audio: fm: update tuning table (20210608)
//O6
1. HA NB/WB/SWB/FB : Mic blocked paramter temp disable
2. HH NB/WB/SWB/FB: Mic blocked parameter temp disable
3. HA FB EVT modification
4. HH FB EVT modification
=> Mic design change : FB TX pre-FdEQ
=> RX Distortion : FB RX TdDRC, FdEQ
=> Volume curve : FB SPK_VOL
5.  HE TTY VCO: sync the latest of HH TX
6. HE TTY HCO: sync the latest of HH RX
7. HE Headphone : sync the latest of HH TX
8  HAC TX: sync the latest of HA TX
9. HE blackbird: Modify TX operation mode, low-delay and Handfree
10. HE Condor: Modify TX operation mode, low-delay and Handfree
11. HE Condor-Certification1: Modify TX operation mode, low-delay and Handfree

//R4
1. HA NB/WB/SWB/FB : Mic blocked paramter temp disable
2. HH NB/WB/SWB/FB: Mic blocked parameter temp disable
3. HE TTY VCO: sync the latest of HH TX
4. HE Headphone : sync the latest of HH TX
5. HAC TX: sync the latest of HA TX
6. HE blackbird: Modify TX operation mode, low-delay and Handfree
7. HE Condor: Modify TX operation mode, low-delay and Handfree
8. HE Condor-Certification1: Modify TX operation mode, low-delay and Handfree

Bug: 174635995
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I55824022f4e15c9f62b8624d390febf1195499da
2021-06-09 08:07:44 +00:00
David Chao
0a57e6a96d thermal: Support thermal-hal to sent powerhint
Add prorperty so thermal-hal can sent powerhint.

Bug: 188579571
Test: thermal-hal can sent powerhint.
Change-Id: Ia38d7c56638d4ed88eedde1ed94ad8ac1e64e351
Signed-off-by: David Chao <davidchao@google.com>
2021-06-09 07:46:25 +00:00
Peter Liu
3eb30d05b7 camera hfr: add 720 high speed profile am: 6147513fad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14909861

Change-Id: I62568cc4259c80255f326a97c4816d0c5a553dda
2021-06-09 02:14:01 +00:00
Peter Liu
9894ef8b55 camera hfr: add 720 high speed profile
Bitrate refers to b/185145849

Bug: 190098711

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I00818dbbbe83157e009e61d15fbf6bd878b5d2be
2021-06-08 17:39:00 -07:00
Cyan_Hsieh
5fee3fa1a1 Set audio.camerasound.force for JP devices am: de4f625a53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880400

Change-Id: I5f3b7f3dd38a6a05a8e23d379457241ad1b14df8
2021-06-08 11:28:32 +00:00
Cyan_Hsieh
f3cb3c16fd Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 188396079
Change-Id: Ic89a150701de17fb29130206c2e25ec929972e25
2021-06-08 16:46:27 +08:00
Jasmine Cha
27a80ddd54 audio: update O6 Waves preset (20210603) am: f24020adb8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880397

Change-Id: I5252880ec293d9fd6d1cac2e4c8dffa5897896c4
2021-06-08 06:35:55 +00:00
David Li
809a6f96a8 audio: upgrade audio.usb.default from v1 to v2 am: e4c436d79a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14514151

Change-Id: I5026424d5bb5b9f8a7649b4ecc76fe125cf50322
2021-06-08 06:35:45 +00:00
Jasmine Cha
2797625cf8 audio: update O6 Waves preset (20210603)
O6:
 + improves loudness
 + improves clarity
 + incorporates landscape tuning with good left-right balance
 Tuning work will continue to improve transient performance at max volume,
 and incorporate feedback from UTD and PAE tests.

Bug:17908976
Test: playback/mute on,off/bypass/lr swap, mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib038235997abe417449dc9db96fe42a2700307fc
2021-06-08 06:25:41 +00:00
David Li
8132cc2f27 audio: upgrade audio.usb.default from v1 to v2
Bug: 187912470
Test: make -j128
Test: deep buffer and compress offload via speaker, USB headset, BT
earphone
Test: phone call via handset
Test: hotword detection

Change-Id: I80ec553797ff7955de0464b98046f879424d0fc5
2021-06-08 06:14:43 +00:00
Ching-Sung Li
ed5200bf06 Build Oriole default CMF color wallpaper am: a47c821238
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14692495

Change-Id: I605824e635a10ca25af3b0e8e442284db3d83ae6
2021-06-08 03:26:41 +00:00
Ching-Sung Li
05395df7df Build Oriole default CMF color wallpaper
Bug: 169538193
Bug: 181086817
Test: Build pass; Manual
Change-Id: I36e773f0623e5bf4303b832dd5a96d81b160d014
2021-06-08 03:07:42 +00:00
Jasmine Cha
2373820f65 Revert "audio: update waves preset tables (20210603)" am: 73845fb1d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880396

Change-Id: I69f509027d18aa8e30be647efab1d80aa2c04964
2021-06-08 02:05:27 +00:00
Jasmine Cha
5fdaa9607c Revert "audio: update waves preset tables (20210603)"
This reverts commit acc536dd2588d2f5c74733c82c02cb83f0a8278d.

Reason for revert: unexpected loud touch/unlock sound from b/190395012

Bug: 190395012
Change-Id: I1197e76487f2cd92e88cbc44c26d003149953b60
2021-06-08 01:46:51 +00:00
Carter Hsu
7255e54c11 audio: enable stereo AAC encoder am: c55963c231
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14782139

Change-Id: I2ef9b576ee8d17a2e062575487830a6f75e7de16
2021-06-07 07:46:49 +00:00
Carter Hsu
2981a45d6c audio: enable stereo AAC encoder
Bug: 180984359
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If44fb1012921e658dd2eb91771208c09fdff15cd
2021-06-07 07:25:51 +00:00
Jia-yi Chen
4d95346711 thermal: Update thermal config am: c1900d5be8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14804535

Change-Id: I9e76a9ab7212b95247b4b56d12607b50980f721d
2021-06-04 21:26:35 +00:00
Jia-yi Chen
79a3b702d4 thermal: Update thermal config
1) Update VIRTUAL-QI-GNSS formula for Oriole
2) Lower shotdown threshold by 1C for Oriole
3) Disable charging at SEVERE for Oriole & Raven

Bug: 189888812
Bug: 190201749
Test: Boot
Change-Id: Iffc42a6f90935a8f1361bc04aeb08743b839aadc
2021-06-04 21:08:15 +00:00
Blake Kragten
b82ac9ccbe Fixing Cellular-Emergency Hysteresis am: 65bc1a9c55
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14829178

Change-Id: I88b61aa7f3c674c83e5fd09742a31a554ffcc161
2021-06-04 19:34:53 +00:00
Blake Kragten
9d6c2d97ac Fixing Cellular-Emergency Hysteresis
Bug: 190115475
Test: On Device Testing
Change-Id: I9751d156c0edb14503748e2efd3ee5e8c9c6dad3
2021-06-04 19:15:39 +00:00
Joey Poomarin
8e71bb9c58 USB Audio: Enable HIFI on the audio HAL part on Raviole. am: 31db7eba86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13963658

Change-Id: Icc67c742381053d604de4789b06ccb35c096526f
2021-06-04 12:34:21 +00:00
Bill Lin
7b36aea2fa Enable One handed mode feature for Oriole and Raven am: ecb816ca30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14831512

Change-Id: Iff0d76cf8e525992f8bf3292340dda6cd08a7467
2021-06-04 12:34:16 +00:00
Joey Poomarin
6facc05f47 USB Audio: Enable HIFI on the audio HAL part on Raviole.
Kernel Change: pa/1887451

Test: N/A
Bug: 182996456
Change-Id: Ia62f8a0b8b0c57270a3c8ed82cb64a79fbcbfe79
2021-06-04 10:52:21 +00:00
Bill Lin
964bf23b74 Enable One handed mode feature for Oriole and Raven
Test: check settings > system > gesture > one handed mode
Test: make
Bug: 189926639
Change-Id: Ia6e51f05541e1ab31a3a98159fa805e4bc0412e1
2021-06-04 04:41:46 +00:00
David Chao
3a45f38093 thermal: update number of State2Power for thermal-hal am: 58893350d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14822212

Change-Id: I8da432e38ea1acd8fc4761da3121728edb397350
2021-06-03 18:14:38 +00:00
David Chao
b1fa4b7102 thermal: update number of State2Power for thermal-hal
Bug: 189488358
Test: thermal-hal init and works properly.
Change-Id: I10700fcd082df9b904f6f06eaedd536e8386633f
2021-06-03 17:51:40 +00:00
Jasmine Cha
fd27221ee3 audio: update waves preset tables (20210603) am: acc536dd25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14804142

Change-Id: Ic664bfffecdf80af4477cc1e4ff450bf5098e93a
2021-06-03 10:14:02 +00:00
Yu-Bin Chiu
690d021a56 [MFG_API] [audio] USB headset loopback functions don't work on ROM SD1A.210602.005 am: 0228636136
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14804136

Change-Id: I4b81f1982b88c61e253af2ec6484089993e3162d
2021-06-03 09:06:05 +00:00