Commit graph

694 commits

Author SHA1 Message Date
TeYuan Wang
bf198b780e thermal: optimize trigger sensor settings
1. Reduce the polling time to 60s to reduce the lantancy when ThermalHAL
miss the trigger sensor's notification.
2. Adjust the trigger sensor's threshold to lower temperature.

Bug: 191971470
Bug: 191795038
Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default

Change-Id: I2559944dfdef684ee93867a15dea257ee5f435b9
2021-06-24 23:52:31 +00:00
Chris Kuiper
68ad838775 auto-brightness: Change light debounce for R4/O6 am: 1510fb15df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15089874

Change-Id: If4b8a1a83ca5a455d5a0e0f94de4e25265fd4eab
2021-06-24 16:10:18 +00:00
Chris Kuiper
dab5283046 auto-brightness: Change light debounce for R4/O6
This reduces the brightening and darkening light debounce
configuration to match R3 and earlier Pixel devices.

Bug: 185770517
Test: Verified "dumpsys display" shows correct config values.
      Verified brightness transitions are similar to R3 now.

Change-Id: I6bd47cb52c28c63ece6b5247344a6cf062eb31ea
2021-06-23 22:52:45 -07:00
Android Build Coastguard Worker
406276aa71 Snap for 7487213 from 2e16f978440bdf27ade3ffdb676451d917070ff5 to sc-v2-release
Change-Id: I1ad5ce562270480c8aa94556d34995eb9b3fd975
2021-06-24 01:06:44 +00:00
TeYuan Wang
948d4f3bfa thermal: update thermal table am: a01dfbc327
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911642

Change-Id: Ia8eb63ff94208c5ecb6971ebb188b30c343ddbfe
2021-06-23 23:25:27 +00:00
TeYuan Wang
be012113bb thermal: update thermal table
1. Update charging throttling policy according to the new kernel change
2. Adjust the virtual sensor formula for 5G cases.

Bug: 182970733
Bug: 183559513
Bug: 190449889
Bug: 190450703
Test: Verified by emul temp
      adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: Ieb859c93cdfa7486ad199af21b57db0732c24006
2021-06-23 23:09:44 +00:00
Gil
e76e1b571f [Display] Re-mapping the Default Brightness am: c1dae64908
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14516641

Change-Id: Ie00b3b7f66f2005577d9c6766ba8adee82c2b491
2021-06-23 07:58:05 +00:00
Gil
9dd59a9dda [Display] Re-mapping the Default Brightness
Update the Default brightenss to 0.17429718 for mapping to 140 nits

Bug: 187917731
Test: Dump the display log and check mScreenBrightness
Change-Id: I9836a2dd0127c881b0eceb4d2c908bb52ea709e7
2021-06-23 07:41:19 +00:00
Long Ling
3457a0b9cc display: add O6 golden calibration profile am: f40c2c4641
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15054748

Change-Id: I4cde0ce50f76517692162c868e429a6b2680c77b
2021-06-23 02:38:03 +00:00
Long Ling
aaf6f6360a display: add O6 golden calibration profile
Bug: 189988531
Change-Id: I9e502c3927cd3f686e3ca8e4b52f867cef900b2e
2021-06-23 02:18:35 +00:00
Android Build Coastguard Worker
a7fdbd4421 Snap for 7482035 from 05f46ca6bcb11d4e23c017c85c51398c44b957ac to sc-v2-release
Change-Id: Ie3644be4cd17ab60b3fd904964360c4fbdcf36fc
2021-06-23 01:02:27 +00:00
Lais Andrade
9bdc487b12 Set audio haptic channel amplitude limit am: 3b45692265
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15063343

Change-Id: I7922fe1e09de9e180a9ad61738f42d35c5c21605
2021-06-22 17:28:53 +00:00
Lais Andrade
354c1e7fad Set audio haptic channel amplitude limit
Bug: 188025353
Test: manual
Change-Id: I9609d812c11f08990c68d73cff20bc1a738f4174
2021-06-22 17:02:18 +00:00
Carter Hsu
9623890081 audio: add echo reference input am: 564914bd1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14526743

Change-Id: I44e2067ab95fcf640adf922bd0c0da98bcf0b028
2021-06-22 12:32:42 +00:00
Carter Hsu
3f93716b7c audio: add echo reference input am: 0020451548
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14840192

Change-Id: I5cab2e165565bfe2075aea17bd3c6550246e38a9
2021-06-22 12:32:41 +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
a1e4f7bb71 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: Id31165351a470510c2043d1539b326026d3a35e1
2021-06-22 08:44:45 +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
android-build-team Robot
2848fc9982 Snap for 7479185 from 506c75506735945d1c4eb3214637d81f4c6e8ce6 to sc-v2-release
Change-Id: Ie3749bc3f7e828152b746c601b0fa5ab26580a99
2021-06-22 01:02:33 +00:00
Jimmy Shiu
60c116b7be 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: Ib3cbb7d4062006bf379b9567fb09ba13f88582b6
2021-06-21 11:56:03 +00:00
Ilya Matyukhin
c9c0946e9a raven, oriole: overlay UDFPS illumination transition time am: 141922bebe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15023487

Change-Id: I3588fbbf9409af3b2cb8fb90afd6ebd2cb8f530b
2021-06-21 11:51:52 +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
android-build-team Robot
682d02dab5 Snap for 7472272 from 7425f7e9258c44ac3e2e0f4257f118cf2ad0974f to sc-v2-release
Change-Id: I6b1dbc6a33ca13182b064be6ffa615ef8c3cebbe
2021-06-19 03:02:30 +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
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
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
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
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
android-build-team Robot
e97fd7874e Snap for 7468788 from e37a6c6eaa55732d8d444a4ba3cc269c17a89d3c to sc-v2-release
Change-Id: Ia8e69107424115193117ffe22cf57d3a691ea20c
2021-06-18 01:02:44 +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
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
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
android-build-team Robot
400afb4f1d Snap for 7464306 from 2613a5c80ab5f71d3fd6cdefdad72d980e60472a to sc-v2-release
Change-Id: I12605f934916035654f92b40fde3c4f9fa68e3e1
2021-06-17 01:02:31 +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
android-build-team Robot
cd1ccbd498 Snap for 7460045 from 084268791b517740ad4d779f4774cbcb346d690c to sc-v2-release
Change-Id: I06c9eab2b22fef6b76a95619c51425b2434dc0cf
2021-06-16 01:02:25 +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
android-build-team Robot
a70128e149 Snap for 7453244 from 336c39a687b4c4d35f8685bc4236a8b79774459c to sc-v2-release
Change-Id: I6fd840e4dc1f3dc5ed402e458f82c75e66ae89b9
2021-06-13 23:02:03 +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
android-build-team Robot
c0811ec008 Snap for 7449603 from 331c502407531d11380add6b04a52a096cfb2db4 to sc-v2-release
Change-Id: Idb188cc8b154461dbc5393b07bf42040aeb51287
2021-06-12 03:01:38 +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