Commit graph

490 commits

Author SHA1 Message Date
Carter Hsu
b9fecd5107 audio: add echo reference input am: 564914bd1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14526743

Change-Id: Ib341441491ce85f4da5f51e86d46ee220a47d12a
2021-06-22 12:30:10 +00:00
Carter Hsu
f574eba70f audio: add echo reference input am: 0020451548
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14840192

Change-Id: I38d01f6818d0698e3b24d8cc23ab396a8486df99
2021-06-22 12:30:08 +00:00
Carter Hsu
12f1ede6b1 audio: add echo reference input
Bug: 188005303
Test: capture the echo reference
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I28c6ceb2e3f719bbd7d24e4301704742933042a4
2021-06-22 12:13:19 +00:00
Carter Hsu
fb03700852 audio: add echo reference input
Bug: 188005303
Test: capture the echo reference
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie7e69b7c56801395e03280dd2415842b7f22f898
2021-06-22 12:13:19 +00:00
YB Chiu
09bb6c428c FBF:mixer_table: mic soft gain config for O6/R4/W3/Slider am: c7aa583d5e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14981558

Change-Id: I8feab16654da27cc6d2f802a1774af978db8b3d9
2021-06-22 08:43:50 +00:00
YB Chiu
8ae9e16235 FBF:mixer_table: mic soft gain config for O6/R4/W3/Slider
Add mic1 ~ mic4 soft gain configuration

    <path name="mic1-sw-gain">
        <ctl name="MIC Record Soft Gain (dB)" />
    </path>
            :
            :
    <path name="mic4-sw-gain">
        <ctl name="MIC Record Soft Gain (dB)" />
    </path>

Bug: 190822301

Test: build pass

Change-Id: Ia5f35fff6cea22d6dfafa8c76e50d3e16cacbbcf
2021-06-22 08:29:42 +00:00
Jimmy Shiu
76899534de adpf: set adpf.rate to device max refresh rate am: f7e9d79f53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15019755

Change-Id: I384e78f24bfebd5d8b5f33060a37ef7280ec070b
2021-06-19 04:17:38 +00:00
Jimmy Shiu
7700cf01b9 adpf: set adpf.rate to device max refresh rate
For raven, set the set vendor.powerhal.adpf.rate to 8.3ms
For oriole, set the set vendor.powerhal.adpf.rate to 11.1ms

Bug: 177493042
Test: build
Change-Id: I1f535105f66d6bf34025f3c11d94c83d69c730da
2021-06-19 04:00:51 +00:00
Ilya Matyukhin
06fd6068b0 raven, oriole: overlay UDFPS illumination transition time am: 141922bebe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15023487

Change-Id: I866f383fd83490cc6207f5ca477b0a92f329faa7
2021-06-18 20:09:45 +00:00
Ilya Matyukhin
de356bd0af raven, oriole: overlay UDFPS illumination transition time
Bug: 189130534
Test: perfetto
Change-Id: Iec7fe726197a2b23547739a8e96824362aa76fc4
2021-06-18 19:52:48 +00:00
Carter Hsu
ab3403768c audio: update R4 camcorder tuning 06/17 am: 38b7d5d03b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15013232

Change-Id: I049e38a74a3f89120650800adab42743693853be
2021-06-18 08:03:58 +00:00
Carter Hsu
d138225fcf audio: update R4 camcorder tuning 06/17
Change list:
Tuning parameters for surround module were updated in gatf file

Bug: 186721091
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I2e86c2e95d603fa3adcf500423734fc7f8f5837f
2021-06-18 07:48:23 +00:00
Robert Lee
7b7d103489 audio: update speaker protection bins am: a1c318718b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15005620

Change-Id: I42e713aeba4fd595601b0ab98ad00c40bdc2da3b
2021-06-18 05:52:49 +00:00
Robert Lee
22a0ab12df audio: update speaker protection bins
Bug: 179534284
Test: Audio hardware verified
Change-Id: Iacbcca51ba787dd4e213b91922c940df5e2d6b5f
Signed-off-by: Robert Lee <lerobert@google.com>
2021-06-18 05:36:24 +00:00
Bill Yi
03c4f9f975 Remove two APKs from vendor blobs list am: ddfe1d779a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14966924

Change-Id: I7a77695ce7b81cfcee437a8cdeb4ef16f3dca7b4
2021-06-17 23:58:21 +00:00
Bill Yi
f4c78e58df Remove two APKs from vendor blobs list
Change app to priv-app for ShannonRcs
Add owner

BUG: 182332166
TEST: generate blobs
Change-Id: I92dd30d3eea0d173418a8d06872cb4ac25b9d668
2021-06-17 23:41:54 +00:00
Rios Kao
f9cc39915f 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: I6ee6871a5fa0110f2173403cd1c1d6cd5cfdd183
2021-06-17 05:31:40 +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
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
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
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
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
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
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
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
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
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
7b67eb0bc0 audio: fm: update tuning table (20210608) am: 3a978d47d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880399

Change-Id: Ib27d7d3bafb149a9996203f6e62c7c98812d7481
2021-06-09 08:13:04 +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
c8b6213b50 thermal: Support thermal-hal to sent powerhint am: 0eb2861d7a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14701922

Change-Id: Ic35c31e7fb41a1e28abfa8a02637e54259b873a1
2021-06-09 08:06:26 +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
a9edb4297e camera hfr: add 720 high speed profile am: 6147513fad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14909861

Change-Id: Iedf12bedf96b5615c8428ad7ae7f25416aa3d660
2021-06-09 02:12:56 +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
e0018f426a Set audio.camerasound.force for JP devices am: de4f625a53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880400

Change-Id: Id9c03ef149eaae6f84abb144228cdf6fddb3315d
2021-06-08 11:26:03 +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
426d49f5ea audio: update O6 Waves preset (20210603) am: f24020adb8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880397

Change-Id: Ib38d87a43db36890b95256b2eaabb39b109ed2bb
2021-06-08 06:34:56 +00:00
David Li
ad78c35f08 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: I55e87d871a0871edaca284bfc7cc05af7918724b
2021-06-08 06:34:47 +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
86090577aa Build Oriole default CMF color wallpaper am: a47c821238
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14692495

Change-Id: I51a182cd919be352720071bdc17a6e27d23db4db
2021-06-08 03:25:02 +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