Commit graph

602 commits

Author SHA1 Message Date
Xin Li
605793b34f Merge SQ1D.211205.017.
Merged-In: I68825bf96c8b94dc63ebc096c57b9f7c680be090
Change-Id: I686001cbb0fe446fd3389d3c267d64fd9763bd3d
2021-12-20 14:10:51 -08:00
Evgenii Stepanov
e0f04e3fcc Add aosp_(oriole|raven)_hwasan products.
Test: lunch aosp_oriole_hwasan && m
Test: lunch aosp_raven_hwasan && m
Change-Id: I3a411357c5618008daf35a971b65a0365fef6858
2021-12-03 15:47:40 -08:00
Android Build Coastguard Worker
f47c96ac2f Merge cherrypicks of [16357746] into sc-qpr1-d-release.
Change-Id: I7b63ae6f2c04b8536349a44ed9444a56e2febea9
2021-11-30 13:47:42 +00:00
Robin Peng
cf9f57fe8b Update SVN to 10 for O6R4 December QPR 2021
Bug: 208388283
Change-Id: I68825bf96c8b94dc63ebc096c57b9f7c680be090
(cherry picked from commit 43ce3a4014)
Merged-In:I68825bf96c8b94dc63ebc096c57b9f7c680be090
2021-11-30 13:47:28 +00:00
Android Build Coastguard Worker
ef8d375767 Merge cherrypicks of [16331586] into sc-qpr1-d-release.
Change-Id: I79890d9c1e0bd61a89103bd9e10cc91602bd2e98
2021-11-24 09:59:56 +00:00
Robin Peng
5a299cc55b Update SVN for O6R4 December 2021 (EMEA/AU)
Bug: 207569882
Change-Id: Ied3cef713a7d7a34faea30255fb5e11e0d1deb22
(cherry picked from commit 00d1ed2b06)
Merged-In:Ied3cef713a7d7a34faea30255fb5e11e0d1deb22
2021-11-24 09:59:32 +00:00
Android Build Coastguard Worker
fb18cc9f1d Merge cherrypicks of [16191708] into sc-qpr1-d-release.
Change-Id: I71fbaad5cb9b1049c7130d6aa2802cde25316d08
2021-11-11 08:38:19 +00:00
vincenttew
5dd2bd2639 Update: audio tuning table
Change list:
Update recording.gatf, templete file for modifying parameters to fit
the change of dynamic range compressor(DRC)(b/200794903), the DRC has
been changed from 1 band to 3 band.

Bug: 204745396
Test: build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ic0962536e50b310a159af15e7e191f130d41e969
(cherry picked from commit 4bfaa9f2f3)
2021-11-11 08:37:44 +00:00
Sasha Smundak
011b969d81 Replace foreach loops with the calls to copy-files
Bug: 190051051
Test: treehugger
Merged-In: I7e48ce741f6c9d0997f024e567daeec926fecb11
Change-Id: I7e48ce741f6c9d0997f024e567daeec926fecb11
2021-11-07 16:36:44 -08:00
Android Build Coastguard Worker
aaccedce4e Merge cherrypicks of [15987951, 16091655] into sc-qpr1-d-release.
Change-Id: Ic21397ede005d50caa4218f388142a32610a252a
2021-10-25 04:04:29 +00:00
Robin Peng
b3af5c1dbc Jump SVN to 8 for O6R4 Dec QPR1
Bug: 203740694
Change-Id: I2b2cb7e6564b9633ce2055e2de59ba9de2fdc006
(cherry picked from commit 336f8a5374096ff574f612da4f0224cbe72c768c)
2021-10-25 04:03:44 +00:00
Robin Peng
12d9dc08ac Jump SVN to 5 for VZW SU0
Bug: 202224700
Change-Id: Id5fb5daf7b75041212bfec50ef42dfaa89b76c89
(cherry picked from commit 7bf618fa39ae19e967d15250d2a290dfc71157cc)
2021-10-25 04:03:42 +00:00
Android Build Coastguard Worker
e298122882 Snap for 7825665 from 9ffad2b4bb6b9c95c26a54c067f20125234398b6 to sc-qpr1-d-release
Change-Id: I04083222b64b9fe789ddb0cdd85532409cb07074
2021-10-15 01:00:57 +00:00
Rios Kao
2c35c05408 audio: add support for aec recording path [DO NOT MERGE]
Add Audio Capture Eraser Enable to switch
    Eraser for recording path.
    For gain of this path, we shouldn't apply
    software gain, because the input source is
    from hotword pipeline.

Test: build pass
Bug: 172266161
Change-Id: I2546e25c8ba428681fd778491cd66dca66051305
2021-10-14 19:17:10 +00:00
Jia-yi Chen
c434ec8764 thermal: Update thermal config
Change the CRITICAL setting of dc_icl in odpm-lo to 100mA.

Bug: 202368734
Test: Boot & verify the actions via logcat
Change-Id: Iec0850fe62ce841884ac9a2af9ee0aff77790223
2021-10-13 16:00:53 +00:00
Android Build Coastguard Worker
5555251ed6 Snap for 7808903 from 42ed6f18e0cad6977902907f2c1d85be1ee6efdc to sc-qpr1-d-release
Change-Id: I8c20e820adeb94a80d3ce096039f6479bbbf3ffa
2021-10-09 03:01:10 +00:00
David Li
65bb51f95f audio: Update tuning table for removing the risk of blocking rear microphone in 3rd party recorder use case
Reason:
-Change the microphone assignment from rear mic to top mic since there is a risk that the rear mic will be blocked when users put devices on the desk.

Change list:
Update recording.gatf file for changing microphone assignment in handset_mono_mic usecase

Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.026 (7772856)

Bug: 202467646
Test: forrest build
Change-Id: I3b0f8a7ba590925fc70f28bdd3bbb4b29938fd68
2021-10-09 00:46:29 +00:00
Jia-yi Chen
941224c845 thermal: update thermal config
1) Lower CRITICAL temperature of VIRTUAL-SKIN to 46.5
2) Update the virtual-sensor formula based on latest data

Bug: 201020972
Test: Boot
Change-Id: I5dd45635828932b4561ab1deafe10de66a924dcd
2021-10-08 17:28:10 +00:00
Carter Hsu
8852d7bcee audio: update O6/R4 Aaram volume curve
O6
Change:
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
        <point>0,-4800</point>
R4
Change:
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
        <point>0,-5200</point>

Bug: 201069348
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia5f82e06bc272d93172892692c7987993786b754
2021-10-08 12:02:04 +08:00
Eric Laurent
0800e891ec audio config: fix minimum alarm volume
The ALARM volume curve on SPEAKER device must have a lowest
point with abscisse 0 instead of 1 to prevent the stream from
being muted when lowest UI index is selected.

Bug: 201069348
Test: set alarm volume to min and play alarm
Change-Id: I29dda66002562e9ce889bd4f8b0154c2837f7be5
2021-10-08 12:01:03 +08:00
Android Build Coastguard Worker
0d828d73dd Snap for 7804438 from 753a76d11409aaaf499a1e96e01e53e5027df79b to sc-qpr1-d-release
Change-Id: Id23e6d10134348070adbff8806d0b730edffb5ec
2021-10-08 01:01:02 +00:00
Robert Lee
b571f4881a audio: update speaker protection bin
O6 Top Speaker "DOE2" Bin file changes:
- XMAX reduced by 0.05mm w/ Waves processing in circuit.
- TMAX reduced by 10degC w/ Waves processing in circuit.

sha1sum file:
315408679aa97caba462b4ba1290b2be514558ab  cs35l41-dsp1-spk-prot.bin

Bug: 202297689
Test: Build pass
Change-Id: I78252b9c0a02941601a0b13d9d2cb14661f3e102
Signed-off-by: Robert Lee <lerobert@google.com>
2021-10-07 01:54:27 +00:00
Android Build Coastguard Worker
3d0635fa5a Snap for 7796451 from 2d2b114244e269425f92f9edfe74b04d25bfc034 to sc-qpr1-d-release
Change-Id: Ie406e587753e8004082b8dcc7ea3a3aa0a07b2ae
2021-10-06 01:00:54 +00:00
Gil
b8b6426278 [automerger skipped] [AOD] R4O6 Modify AOD brightness setting am: 46e67d17ed -s ours
am skip reason: Merged-In Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094 with SHA-1 8aaa9f71b7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15938216

Change-Id: Id5ab216b8c4a55074dff51ec218fad0c7166a5ba
2021-10-05 18:09:45 +00:00
Gil
8bd51be85f [AOD] R4O6 Modify AOD brightness setting
Modify High/Sun value to systme brightness format on 50 nits

Bug: b/184728677
Test: Dump brightness while entry AOD mode
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 216, br: 216
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 198, br: 198
Change-Id: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
Merged-In: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
2021-10-05 07:18:04 +00:00
Android Build Coastguard Worker
ff062064d2 Snap for 7792703 from 8aaa9f71b70843d134adf915a428481a1f1ce915 to sc-qpr1-d-release
Change-Id: I9972e3ade3360123f0f14b44067dbd528b2accba
2021-10-05 01:00:55 +00:00
Gil
da5a0267be [AOD] R4O6 Modify AOD brightness setting
Modify High/Sun value to systme brightness format on 50 nits

Bug: b/184728677
Test: Dump brightness while entry AOD mode
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 216, br: 216
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 198, br: 198
Change-Id: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
2021-10-04 03:16:58 +00:00
Daniel Solomon
cfb5797068 [automerger skipped] display: Update O6R4 refresh rate limitations am: 536ff9ede8 -s ours
am skip reason: Merged-In I2bebff0b5c0677e83a55168332bb2271a073bae1 with SHA-1 1db3592cca is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15927845

Change-Id: I6fe402c8a873c58d771d1cdad2da9599123f7951
2021-09-29 18:25:09 +00:00
Daniel Solomon
035d7b452f display: Update O6R4 refresh rate limitations
Limit high brightness mode for HDR to 60Hz on both O6 and R4.

Bug: 196691596
Change-Id: I2bebff0b5c0677e83a55168332bb2271a073bae1
Merged-In: I2bebff0b5c0677e83a55168332bb2271a073bae1
2021-09-29 18:11:41 +00:00
David Chao
dffd74885b Revert "thermal: update TPU SKIN policy"
This reverts commit 74188d76380e2227119659c2c0670490bb38e091.

Reason for revert: Breaks camera

It appears the new frequencies in these table are buggy hence breaking camera.

Bug: 201155685
Change-Id: Ib1b0fc7d865cd1e7ee8c0f5575a2211e4629f5a9
2021-09-29 15:43:51 +00:00
Daniel Solomon
2402decf7b display: Update O6R4 refresh rate limitations
Limit high brightness mode for HDR to 60Hz on both O6 and R4.

Bug: 196691596
Change-Id: I2bebff0b5c0677e83a55168332bb2271a073bae1
2021-09-29 06:33:51 +00:00
David Li
ec055fe259 audio: Update tunings for SA-lite optimization and enhance audio zoom performance
Reason:
- Optimize audio zoom quality in camcorder
- Add tuning parameters to fit single band DRC modification in AOC (b/198128358)

Change list:
Update recording.gatf file for modifing audio zoom tuning parameters
Update template.xml file to select single band DRC reference channel

Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.019.A7 (7719665)

Bug: 201031972
Test: forrest build
Change-Id: I45cf7dcb0edbd38d0041e3112d88ce29cefacb2f
2021-09-27 07:37:20 +00:00
Robin Peng
08642455ab Jump SVN to 4 for SU0 am: 63f4e8a907
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919063

Change-Id: I4d99f97d04b8bd3b255af42e3df9920460cc2ac3
2021-09-27 03:09:56 +00:00
Robin Peng
b5305769f8 Jump SVN to 3 for VZW Regression am: f9e4eda9bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919062

Change-Id: If9eaa9aa1abeb7cd7593b1aaa6f3cdd7c02b0fca
2021-09-27 03:09:56 +00:00
Robin Peng
221c80b231 Jump SVN to 4 for SU0
Bug: 201204693
Change-Id: I5851574e83e8abe1f219aa43aa5e51d8406e3880
2021-09-27 09:53:13 +08:00
Robin Peng
d465c7fccb Jump SVN to 3 for VZW Regression
Bug: 201204273
Change-Id: I6d6931d49cd89533da3bdf0cb9573a64f0034fa8
2021-09-27 09:52:49 +08:00
millerliang
5fb9498c64 audio: changet the period size of VoIP Record am: 47a8acc5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: I9051aef768a94eb34b32770dafe38ed25046007d
2021-09-24 07:14:38 +00:00
millerliang
a8c236c35c audio: changet the period size of VoIP Record
Change the period size of VoIP Record to 20ms.
Otherwise it will apply fast capture.
Fast capture timestamps are not supported yet.

Bug: 196912510
Test: Build pass
Change-Id: I6434a7596880712efa7cbfa03b3480efb5e2c2aa
2021-09-24 10:41:15 +08:00
Xinhui Zhou
923b3af81f audio: deep buffer to floating point pcm data [DO NOT MERGE] am: ee3bc4db89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15799241

Change-Id: I4ca8af2b8270665bd447859b010ad33ddbcd692e
2021-09-21 22:10:44 +00:00
Xinhui Zhou
411cd28a78 audio: deep buffer to floating point pcm data [DO NOT MERGE]
Bug: 199157246
Test: build pass
Signed-off-by: Xinhui Zhou <zxinhui@google.com>
Change-Id: I331d55403daadda3bb6699b3dfff0e759f782b95
2021-09-21 21:58:32 +00:00
David Chao
568ea8e346 thermal: update TPU SKIN policy
Update TPU SKIN thermal throttling to supports the full DVFS state table
to match TPU hardware DVFS capabilities.

Bug: 198679654
Test: Verified by emul temp
Change-Id: I8ddc588ad4fe48c9def78a180c5ff43b4a4203de
2021-09-20 21:23:33 +00:00
Jia-yi Chen
04cce01ad0 thermal: Update thermal config for charging am: faf677ffa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15722388

Change-Id: Icef862e43e5c33e6ddb9cdbccbaf43a5ba02e846
2021-09-16 21:46:48 +00:00
Jia-yi Chen
110e5b2181 thermal: Update thermal config for charging
Add a new virtual sensor VIRTUAL-SKIN-CHARGE dedicated for charging
and lower the temperature threshold for thermal severity.

Bug: 195619668
Test: Boot
Change-Id: Ia8901e55d161a9d989a3d8450b62efe844900765
2021-09-16 21:25:19 +00:00
Robin Peng
f4156c08f8 Update SVN to 2 am: 050c3b4416
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15841970

Change-Id: I32a28e8f13d4217aeb4ed2dc60f5187ec6eca8ee
2021-09-16 14:30:12 +00:00
Robin Peng
9b6c2f066f Update SVN to 2
Bug: 200108214
Change-Id: Ia47b376781f6d7ca9f10a7825a3e097dd6e10250
2021-09-16 13:45:13 +08:00
Beverly
80e3da7342 Remove doze_brightness_uses_prox config
Moving forward, binned brightness will not
use prox. Let's get rid of this unnecessary config.

Test: manual
Bug: 194151347
Change-Id: I3352a3007138232c32aeb43ce4ec3ce97dad239d
2021-09-13 16:07:09 +00:00
Jia-yi Chen
4a41faabc8 thermal: Update thermal config for charging
Add a new virtual sensor VIRTUAL-SKIN-CHARGE dedicated for charging
and lower the temperature threshold for thermal severity.

Bug: 195619668
Test: Boot
Change-Id: I5e90762f2eb6e2ee55c78a23aec64102586f0143
2021-09-10 03:49:03 +00:00
Roger Fang
be2bde46ba audio_usb: Enable ASRC in USB voice call path
Telephony downlink ASRC should be enabled for USB. See b/173577733.
Otherwise the downlink ring buffer will underflow or overflow

Bug: 199230403
Test: Local build + Telephony test for five minutes: No glitch observed.
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ifbcd9252c97a7f794e0b142e69faf1b0f3041098
2021-09-08 15:06:00 +08:00
Jia-yi Chen
8abd1d8f64 Adjust PID loop parameters to relax GPU throttling for MODERATE am: 6bd9dadb42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15727767

Change-Id: Ifad8dc8205cd927be38a1374045064f4870296bf
2021-09-03 22:11:48 +00:00
Jia-yi Chen
7d67ec7981 Adjust PID loop parameters to relax GPU throttling for MODERATE am: 6bd9dadb42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15727767

Change-Id: Ifd40ee9ef7d1737b334fce3fbc7859dea3429977
2021-09-03 22:10:58 +00:00