Commit graph

646 commits

Author SHA1 Message Date
Carter Hsu
07322dbd68 audio: change format of deep-buffer to float
Bug: 201593243
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I20ccdca02a134093846437fdc2f770935485853c
2021-10-26 03:35:38 +00:00
shawnlin
b7cc9eee54 Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: Ib2ebacbc3250a1c2a2ad2b26f92eda6651fec37a
2021-10-25 04:07:08 +00:00
Bill Yi
eed6ffebc3 Update android-info am: ec6ed3af0c am: ea58e66b76
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16095952

Change-Id: I28e2e236b091e3e48bae8840edd08303b6fdb048
2021-10-21 17:37:16 +00:00
Bill Yi
98d95ccc40 Update android-info am: ec6ed3af0c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16095952

Change-Id: I7372cf122511543322c4d0eae014f57ced707503
2021-10-21 16:49:29 +00:00
Robin Peng
e48c605cb3 Jump SVN to 8 for O6R4 Dec QPR1 am: 336f8a5374
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16091655

Change-Id: Idcc7cfe270d82c0ee38c4ab79b7e0a50999d9ef9
2021-10-21 15:41:00 +00:00
Robin Peng
ad1816b6a5 Jump SVN to 5 for VZW SU0 am: 7bf618fa39 am: 4526381bcd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15987951

Change-Id: I0988f985195dbc0cc41d1c6fbea6598c9793036c
2021-10-21 08:09:33 +00:00
Robin Peng
1f2dc18ead Jump SVN to 8 for O6R4 Dec QPR1
Bug: 203740694
Change-Id: I2b2cb7e6564b9633ce2055e2de59ba9de2fdc006
2021-10-21 16:04:34 +08:00
Robin Peng
e8a2c312f8 Jump SVN to 5 for VZW SU0 am: 7bf618fa39
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15987951

Change-Id: Idd7573f0b5dbb5db7e1804a5badcf5c4b080fa79
2021-10-21 07:46:57 +00:00
Robin Peng
09abab8ff3 Jump SVN to 5 for VZW SU0
Bug: 202224700
Change-Id: Id5fb5daf7b75041212bfec50ef42dfaa89b76c89
2021-10-21 07:30:19 +00:00
Bill Yi
81707531c4 Add two permission files am: f18654e81f am: 2eebc96bd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16091964

Change-Id: Ice0015b7797b781663153e9ecaae71f5cc7afac2
2021-10-20 22:24:25 +00:00
Bill Yi
5abecd5d1f Add two permission files am: f18654e81f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16091964

Change-Id: I62948ca19c4342eb414ac8378fe722f60acc2326
2021-10-20 22:09:01 +00:00
Bill Yi
4d3426fe72 Add two permission files
TEST: build
BUG: 201551519
Change-Id: Ib9adac90e801bd437efc03e03d2f9dd17b239e49
2021-10-20 11:23:47 -07:00
Rios Kao
98b99f40e8 [automerger skipped] audio: add support for aec recording path [DO NOT MERGE] am: 9ffad2b4bb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3bddbfd08c3b255f3c3ed3dfa383c9a7a993aeb4
2021-10-14 19:31:49 +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
e5e7a7c025 thermal: Update thermal config am: fd9d6c15dc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16033434

Change-Id: I7f17e0426042be97dc4f7a86e7299830861747ca
2021-10-14 15:52:01 +00:00
Jasmine Cha
0bc1dc0ae1 audio: waves: support custom action identification
Bug: 203029117
Test: build pass, LR mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib1e95efb8ea94bd187be7b681b6a94d53e0c5ce1
2021-10-14 06:56:03 +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
David Li
398917cf16 audio: Update tuning table for removing the risk of blocking rear microphone in 3rd party recorder use case am: 42ed6f18e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16013672

Change-Id: I36a88e8bd01889196a1733236b0ca858adbe7f85
2021-10-09 01:02:50 +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
b4ddd18b83 thermal: update thermal config am: e6d89b3331
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15925920

Change-Id: Ic7121b98b89d46f93314f06ac41eb4f897b7fab3
2021-10-08 17:41:14 +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
4d42f48baf audio: update O6/R4 Aaram volume curve am: e5484251ec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16005300

Change-Id: I1ef019c1be30e2fd4b65a70edce264b679d117ab
2021-10-08 08:07:01 +00:00
Eric Laurent
442155a8c8 audio config: fix minimum alarm volume am: d9f59c1496
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15958180

Change-Id: I09ca426b6aea65559fcc5e69ab354af6664b7449
2021-10-08 08:07:00 +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
Martin Liu
e0f6a5cd38 zram: add zram size property
Bug: 200899926
Test: check zram swap and backing device
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ife748938f5e7cfb34c343a3f568c93824f33e8fe
Merged-In: Ife748938f5e7cfb34c343a3f568c93824f33e8fe
2021-10-08 00:59:54 +00:00
Robert Lee
0116a23229 audio: update speaker protection bin am: 753a76d114
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15998330

Change-Id: I5bad70f67ebc00c944d714b041a201c3d46818a6
2021-10-07 03:47:13 +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
Gil
a3831f47b7 [automerger skipped] [AOD] R4O6 Modify AOD brightness setting am: 46e67d17ed -s ours am: 2d2b114244 -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: I59c10d3d980129582af16c5644143ed1b443d6fa
2021-10-05 18:24:06 +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
Gil
f5836d5d35 [AOD] R4O6 Modify AOD brightness setting am: 8aaa9f71b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15957761

Change-Id: Icc6b7868a3645bd17dff2fd9df9c149f5ae4c87f
2021-10-04 10:00:36 +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
Martin Liu
e084e23e3c Zram: set zram size
Apply 3G zram size settings

Bug: 200899926
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I94e9390719833ae54be56ca3c2aeba4bd9cd9d27
Merged-In: I94e9390719833ae54be56ca3c2aeba4bd9cd9d27
2021-10-01 07:14:36 +00:00
Daniel Solomon
7686fde923 [automerger skipped] display: Update O6R4 refresh rate limitations am: 536ff9ede8 -s ours am: 4178726482 -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: I3270fd602d3ff83ff8596cd35d2b80e851995369
2021-09-29 18:40:31 +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
f3ba1482bf Revert "thermal: update TPU SKIN policy" am: 00246ff28c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15938208

Change-Id: I1da3db07729e6dbaefa7a36a631dbf586bc909ee
2021-09-29 15:57:01 +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
7c389a3ebb display: Update O6R4 refresh rate limitations am: 1db3592cca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15938205

Change-Id: I0eee69b9bcf7d448dd0629d4ea9178adc1eae25e
2021-09-29 13:37:41 +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
1af45f8233 audio: Update tunings for SA-lite optimization and enhance audio zoom performance am: 664101a562
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15903132

Change-Id: Ic72f61f5fc21ceafddecfdf77f94e82924e1a554
2021-09-27 10:03:24 +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
2a999c4326 Jump SVN to 4 for SU0 am: 63f4e8a907 am: 812895297b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919063

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

Change-Id: I8e9bb90ed2aaf6a724bddf3e878ade49beb856da
2021-09-27 03:25:03 +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
4c87c94832 audio: changet the period size of VoIP Record am: 47a8acc5f1 am: f3e85379a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: I341ba5e4b200ef4b9d242a4a7fa66bd53dd47df3
2021-09-24 07:36:05 +00:00