Commit graph

614 commits

Author SHA1 Message Date
vincenttew
fa1f5094d1 Revert "Update: audio tuning table"
This reverts commit 4bfaa9f2f3.

revert reason: the AoC prebuilt MBDRC seems not working after pick
prebuilt ag/16234618, the bug tracking on b/205934425, will apply
this tuning back once the MBDRC can work correctly on sc-v2-dev

Bug: 205934425
Change-Id: I24e2805675360d59d70cd2b5a9095aaf1c8a5875
Signed-off-by: vincenttew <vincenttew@google.com>
2021-11-11 18:20:25 +08:00
vincenttew
93a1176824 Update: audio tuning table am: 4bfaa9f2f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: Ief9126fed491ec9893761ad3a61563b4f368fadf
2021-11-10 03:13:57 +00:00
Rios Kao
7b87bd2241 audio: add support for aec recording path
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: Iabe372e7fe91e557ba9125af14bfb61606c09ea0
2021-11-09 13:05:24 +00:00
Gaurav Sarode
59a71ba972 Support Oriole for automotive builds
bug: 205158078
Test: Local build and test aosp_oriole_car
Change-Id: I31fd5e2e6bf262f72ffc086cebdefdbd1f76b6ed
2021-11-05 21:49:02 +00:00
Tomasz Wasilczyk
3d30571078 Support automotive builds.
Bug: 187195661
Bug: 205158078
Test: build aosp_raven_car-userdebug and flash R4
Change-Id: I20decb81c3a7993ce75f807e26c2bc903d333340
Merged-In: I20decb81c3a7993ce75f807e26c2bc903d333340
2021-11-05 21:49:02 +00:00
vincenttew
4bfaa9f2f3 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
2021-11-05 16:41:47 +08:00
Victor Liu
c636f58192 uwb: update AoA capabilities
remove has_elevation_support since it's not supported

Bug: 202900376
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9bcd1ea20379fa6d2d6731bed0709fd54117eaf0
2021-11-04 23:06:36 +00:00
Krzysztof Kosiński
65b7d3d708 Configure Lyric camera IQ tuning for O6/R4.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: If99c56fb4d41a86916b6d21289c5b34ce7446e20
Merged-In: If99c56fb4d41a86916b6d21289c5b34ce7446e20
2021-11-04 21:58:06 +00:00
Victor Liu
9fbe2c86e4 uwb: update ccc calibration value
Bug: 195755847
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9a144cbccdb089b1cc03c677ba26071488138b91
2021-11-03 06:17:38 +00:00
Jasmine Cha
e303cad342 audio: waves: add test file for unit test
Bug: 204272480
Test: atest audio_waves_halcontroller_tests

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I7aa5205c7443692c95b96ac6537d404e0e15d165
2021-11-02 06:18:13 +00:00
Victor Liu
5533a4afdb uwb: update hal offset timer
Bug: 203119045
Change-Id: I347a7bd89f4404ad553ed3179662c114a0d0a02d
2021-10-28 23:54:05 +00:00
Robin Peng
9506f1181d [automerger skipped] [DO NOT MERGE] Jump SVN to 7 for VZW EMR am: 2bc9d4dab1 -s ours am: b2bf7cacdf -s ours
am skip reason: subject contains skip directive

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

Change-Id: I98c6ccfaa3b402e7bdb10dcc76fc1787691f5cf7
2021-10-28 08:00:51 +00:00
Robin Peng
8cc8181eca [automerger skipped] [DO NOT MERGE] Jump SVN to 6 for Non-VZW EMR am: 1845dfddbc -s ours am: 50ac2e257d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6c3016d767cd7c87f99b4201494d977e9bc8d3fc
2021-10-28 08:00:50 +00:00
Robin Peng
b2bf7cacdf [automerger skipped] [DO NOT MERGE] Jump SVN to 7 for VZW EMR am: 2bc9d4dab1 -s ours
am skip reason: skipped by user robinpeng

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

Change-Id: I3e61e4a1d1bd8de38b024356ea8433bcafaf495a
2021-10-28 07:42:29 +00:00
Robin Peng
50ac2e257d [automerger skipped] [DO NOT MERGE] Jump SVN to 6 for Non-VZW EMR am: 1845dfddbc -s ours
am skip reason: skipped by user robinpeng

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

Change-Id: Ib70d3c3e7bc97ce255c861abff4d708cd66e4fa3
2021-10-28 07:42:28 +00:00
Victor Liu
49d231b50d uwb: remove device name from gs101
Move device uwb calibration into device specific folder

Bug: 203746316
Test: build, on device files exist
Change-Id: Ic7a46ea7150d2723747b8d943d80f53c84215b93
2021-10-28 06:29:35 +00:00
Robin Peng
2bc9d4dab1 [DO NOT MERGE] Jump SVN to 7 for VZW EMR
Bug: 204262119
Change-Id: I02bc60f4e3aad3e83db7ef0d2e471b82d9d13a34
Merged-In: I2b2cb7e6564b9633ce2055e2de59ba9de2fdc006
2021-10-28 06:20:19 +00:00
Robin Peng
1845dfddbc [DO NOT MERGE] Jump SVN to 6 for Non-VZW EMR
Bug: 204262150
Change-Id: Idb329167c988188f5c499bc580d5ba0be0a3a1f5
Merged-In: I2b2cb7e6564b9633ce2055e2de59ba9de2fdc006
2021-10-28 06:19:56 +00:00
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