Commit graph

483 commits

Author SHA1 Message Date
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
3928424f98 audio: update R4 camcorder tuning 06/17 am: 38b7d5d03b am: 7425f7e925
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15013232

Change-Id: I1ab4edf1533d9c3e1fb99040b903bfdb1070879e
2021-06-18 08:18:22 +00:00
Carter Hsu
355a995d6f audio: update R4 camcorder tuning 06/17 am: 38b7d5d03b am: c8ad977f4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15013232

Change-Id: Ia2b1069d7c54b6f8394eb5f8ada99b7f570d4f6c
2021-06-18 08:14:45 +00:00
Carter Hsu
d0d8064dfe audio: update R4 camcorder tuning 06/17 am: 38b7d5d03b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15013232

Change-Id: I3bafa4955197fec86ef274c05aaec97cafd34525
2021-06-18 08:05:50 +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
80fa47dc6b audio: update speaker protection bins am: a1c318718b am: e40e4de69e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15005620

Change-Id: I035402ec2e71b71343355f88bbc93a57611cbc30
2021-06-18 06:11:07 +00:00
Robert Lee
714162a796 audio: update speaker protection bins am: a1c318718b am: 88dc450b93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15005620

Change-Id: Id43c4528cf4b07079ed679b25fdff613a4517f08
2021-06-18 06:10:55 +00:00
Robert Lee
88b55d8468 audio: update speaker protection bins am: a1c318718b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15005620

Change-Id: I01c1e10dbcfba5f8b6a30e37c118ba4661234621
2021-06-18 05:53:46 +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
7dce7fdb1e Remove two APKs from vendor blobs list am: ddfe1d779a am: aca99dfe4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14966924

Change-Id: I8e2cca3fa74bdaf74d82517a5fcc4b0557f0cbf6
2021-06-18 00:17:20 +00:00
Bill Yi
f412d2d341 Remove two APKs from vendor blobs list am: ddfe1d779a am: 22d4f84a38
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14966924

Change-Id: I386dd78caed847ac7a5a192c10f7e90cb6590f2c
2021-06-18 00:07:58 +00:00
Bill Yi
2cf1174963 Remove two APKs from vendor blobs list am: ddfe1d779a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14966924

Change-Id: Ib3d797871eca2050b6c2189e169b8726386e02b6
2021-06-17 23:59:02 +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
a665b3a5ab audio: update Raven/Oriole mixer path to V2.2 am: 0fb967db93 am: fd4f17fc1a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14966358

Change-Id: I32cb532e01b085d4d648e7ef5b0c23636f708957
2021-06-17 05:46:45 +00:00
Rios Kao
4e6e89eb95 audio: update Raven/Oriole mixer path to V2.2 am: 0fb967db93 am: e37a6c6eaa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14966358

Change-Id: Ie3cab270d79a2d482090c1f8bdb53781c4bee642
2021-06-17 05:46:28 +00:00
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
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
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