Commit graph

539 commits

Author SHA1 Message Date
Jia-yi Chen
20dc7f6da6 thermal: Update thermal config for charging am: faf677ffa1 am: 62db8d93ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15722388

Change-Id: Ic068aa992cd5d324ef27dd474861e190d5f7832a
2021-09-16 22:06:01 +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
49fb30dc6a Update SVN to 2 am: 050c3b4416 am: befdefe70a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15841970

Change-Id: I917c6fe678c858ea48ce99f943b5907c37b12f94
2021-09-16 14:48:51 +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
37bbfa6c18 Remove doze_brightness_uses_prox config am: 303b6fbe2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15747468

Change-Id: I8e7909a27585ead555e3f964518e02f55533aa78
2021-09-15 11:34:12 +00: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
2692884200 thermal: Update thermal config for charging am: 700b9a826a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15788926

Change-Id: I939a654f23b45649ce998a1ba38b953d28ba84d8
2021-09-10 04:03:52 +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
2036527074 audio_usb: Enable ASRC in USB voice call path am: 18b3ec8f86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15782861

Change-Id: I8ee6d7468426230028aa62f3af445bb2d3853ed5
2021-09-09 05:33:59 +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
Vince Leung
63d0be6f7e haptics: add raviole actuator model
Bug: 195894512
Test: verified actuator model config propogated and handled properly by
vibrator HAL

Change-Id: I17eae6e05b51e1e0065546b9c841e92c30e2af72
2021-09-03 23:44:04 +00:00
Jia-yi Chen
060aaa9427 Adjust PID loop parameters to relax GPU throttling for MODERATE am: 6bd9dadb42 am: d7756938c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15727767

Change-Id: I9b2daeb0601b0006f7a374fc527083cbce847fee
2021-09-03 22:28:53 +00: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
e60ba10e86 Adjust PID loop parameters to relax GPU throttling for MODERATE
Test: Boot
Bug: 198291571
Change-Id: I606d4342fc92bc2d2c5552ea5e0ced1603e972fa
2021-09-03 21:55:52 +00:00
Petri Gynther
718c656d11 raviole: clean up kernel variables am: 83b8bef3e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15749498

Change-Id: I47dec91f5e626e0fcb65d636ef9f324580cb3985
2021-09-03 12:58:43 +00:00
Petri Gynther
b058000fcf raviole: clean up kernel variables
1) make TARGET_KERNEL_DIR assignment conditional
2) add TARGET_BOARD_KERNEL_HEADERS

Bug: 198682676
Change-Id: Ica7d816bb421341f3620e156796ef611f437d688
2021-09-03 12:35:16 +00:00
Jasmine Cha
e5c4e347ba audio: update music playback volume curve am: b116b57820 am: 58fa93c992
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743308

Change-Id: I1b75ed4389dd943357261e17feea67f420f63dbc
2021-09-03 07:07:00 +00:00
Jasmine Cha
346f793bce audio: update music playback volume curve am: b116b57820
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743308

Change-Id: I8017b50862f15075b07f9300e6f058e998e3c162
2021-09-03 06:53:41 +00:00
Jasmine Cha
7ebc080458 audio: update music playback volume curve
- changes volume 1,2,3,4,5 (due to a sound quality noise floor issue)

Bug: 198224217
Test: manual power test (b/198224217#comment21)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ied7e88ad941e8a13e2080da6e2897b9541966dd0
2021-09-03 05:32:23 +00:00
Jack Wu
6f51c2af19 raviole: enable WirelessCharger
Bug: 198221475
Test: WirelessCharger can work
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I7e89c22bb4271c0da1512ef9a3ab5f7b38a86b06
2021-09-02 06:48:22 +00:00
Yanting Yang
c924888b8b Update regulation e-label for Oriole am: 05fc0b2ca9 am: a30293d012
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743482

Change-Id: I7fc36c21f52b726343a46bc45bc76bf47c0d30c5
2021-09-02 02:51:53 +00:00
Yanting Yang
4533fcbfe6 Update regulation e-label for Oriole am: 05fc0b2ca9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743482

Change-Id: I60270893a251b08febfea932442b33af33a6407d
2021-09-02 02:33:44 +00:00
Yanting Yang
528d915a9e Update regulation e-label for Oriole
Update the e-label of GR1YH and GB7N6 for SAR number.

Fixes: 187845531
Test: visual
Change-Id: Iaa8bb2e754181e8f3682a633b5e4f289920ab275
2021-09-02 01:47:23 +00:00
leohsieh
85d8c0baab raviole: Add GOODIX_CONFIG_BUILD_VERSION to device mk
Move GOODIX_CONFIG_BUILD_VERSION to device mk.
Fixes "There is no fp HAL on factory build".

Bug: 197213960
Test: lunch oriole-userdebug
Test: lunch factory_oriole-userdebug
Test: lunch bluejay-userdebug
Test: lunch factory_bluejay-userdebug
Test: lunch oriole_hwasan-userdebug
Change-Id: I79b4fc7e5a15ebf3a186149b94f63b9f2b7d9d0c
2021-08-31 11:23:29 +00:00
Ted Wang
703da8a96a Bluetooth: Raven BT SAR tables for US and ROW for FRC am: b2c5a815e8 am: f690a1e08c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15683941

Change-Id: I0fd11306d5343c9c700e487ff35b3b0ddf6d0c4a
2021-08-27 12:43:42 +00:00
Ted Wang
2ac6dc0a21 Bluetooth: Oriole BT SAR tables for US for FRC am: e5d0d027e4 am: 6ce4c978a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15683940

Change-Id: I2ec9b33b53330bc934c458b7e39ace908e343f5c
2021-08-27 12:43:38 +00:00
Ted Wang
6cd704db63 Bluetooth: Raven BT SAR tables for US and ROW for FRC am: b2c5a815e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15683941

Change-Id: I1179edaf248f75154053f44cefd35fa00fdd0702
2021-08-27 12:31:40 +00:00
Ted Wang
1f5a53f33a Bluetooth: Oriole BT SAR tables for US for FRC am: e5d0d027e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15683940

Change-Id: I1bfb9e9321f80777aa900b8179170c3910fd4fd9
2021-08-27 12:31:37 +00:00
Ted Wang
fcef52d17d Bluetooth: Raven BT SAR tables for US and ROW for FRC
Bug: 197871261
Test: make
Change-Id: I4d0f8a90485aeff75f81090385a07566f9ddb61c
2021-08-27 12:18:01 +00:00
Ted Wang
1e8d0d77d8 Bluetooth: Oriole BT SAR tables for US for FRC
Bug: 197871408
Test: make
Change-Id: I577e5ba00956fe843118886f66260c51908cc996
2021-08-27 12:17:47 +00:00
David Li
cc5e5c31cf audio: update Media Record Tuning Files am: 748d19776f am: 156157aa24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659825

Change-Id: I3dece48244068e695982a08a9021fac7de1f7914
2021-08-27 02:27:03 +00:00
David Li
f590a05416 audio: update Media Record Tuning Files am: 748d19776f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659825

Change-Id: I1b31168d5f5ebf8adf4154f47dca05a67ca07217
2021-08-27 02:13:27 +00:00
David Li
b82bc02526 audio: update Media Record Tuning Files
R4O6
Update camcorder tunings files for FRC

Reason:
- The SA-lite pipeline is used for 3rd party camcorder/recorder and
    need to be updated tuning for audio quality (b/185293492)
- There is e-Noise issue could be noticed when using 3rd party
    camcorder/recorder

Change list:
Update audio_platform_configuration.xml file so that parameters in
    SA-lite pipeline can be loaded correctly
Update template.xml file to enable feature swapping microphone
    assessment in SA-lite pipeline
Update recording.gatf file for modifing tuning parameters

Validation:
3rd party camcorder/recorder function are good and validation was
    used SD1A.210817.007 (7665414)

Bug: 197492283
Test: forrest build passed
Change-Id: Ifc66519c92935dc4bd14d68a85a491f96429272a
2021-08-27 01:57:46 +00:00
Jasmine Cha
fea66a296e audio: update FM tables (20210729_v540) am: 95268bbff1 am: e47bfa628c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15671192

Change-Id: Iee89f1c82d63decff1d4412eee7a5f6481b45dfc
2021-08-26 08:59:48 +00:00
Jasmine Cha
03e3dc073a audio: update FM tables (20210729_v540) am: 95268bbff1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15671192

Change-Id: Iac62e8e86ac006cb622d26684243dfc505c44bc7
2021-08-26 08:46:05 +00:00
Jasmine Cha
254cdef7be audio: update FM tables (20210729_v540)
///R4
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

///O6
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

Bug: 197716271
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6376ce7da579dcda09c6077182cd82c6fb2c2efb
2021-08-26 08:31:05 +00:00
Jasmine Cha
da8c351676 audio: update tuning tables (20210826) am: 7516c91bc3 am: b2df94dc2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15674429

Change-Id: I2f1ef45533e78576b4e348660765744348ab44bb
2021-08-26 02:41:41 +00:00
Jasmine Cha
9448a090af audio: update tuning tables (20210826) am: 7516c91bc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15674429

Change-Id: I894746e395eda337690d10ac111cfdbe8be0cbb8
2021-08-26 02:26:41 +00:00
Jasmine Cha
f21fa1b132 audio: update tuning tables (20210826)
Release Notes (R4):
- Retune top volumes for more balanced sound, less harsh
- Heavy emphasis on vocals, both depth and clarity
- DTMF volume curve reduced to better align w/ O6, F2, C2, B9
- SYSTEM volume curve reduced to better align touch sounds
- SYSTEM volume curve copied into AUDIBLE volume curve

Release notes (O6):
- Camera shutter (system sound) decreased volume curve to better align w/ R4/B9 and F2/C2
- Slight adjustment at min vol point for DTMF
- SYSTEM volume curve reduced to mitigate loud camera shutter
- SYSTEM volume curve copied into AUDIBLE volume curve

Bug:190960105
Test: High level tuning validation (b/190960105#comment15)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Icf0c9e921017b5e06ec950452a78a9d89acf86f2
2021-08-26 01:15:23 +00:00
Michael Ayoubi
adcaf475db Move dck.eligible_wcc back to 3 for R4
Move ro.gms.dck.eligible_wcc back to 3 for R4 for QPR2.

Bug: b/192409856
Test: Build and test on R4

Signed-off-by: Michael Ayoubi <mayoubi@google.com>
Change-Id: I27c59fb69e99b426e82a4054cb97f175c7e2953a
2021-08-26 01:13:47 +00:00
George Chang
63a6e46c56 Allow NFC polling disable by system apps am: 40e1218f96 am: 41374e026f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659822

Change-Id: I8d7dd1cf31293fd5c2b236dee40069d8b53f2975
2021-08-25 06:18:44 +00:00
George Chang
8cfdea1128 Allow NFC polling disable by system apps am: 40e1218f96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659822

Change-Id: I2136855a1aef6c177fba09def72575effe79e281
2021-08-25 06:02:18 +00:00
George Chang
675c8f7b6e Allow NFC polling disable by system apps
Bug: 195429557
Test: manual
Change-Id: Ib2a67580ffd5716e6b6b371c4502b8d377952568
2021-08-25 05:50:10 +00:00
Robert Lee
8dd0500a45 init.raviole.rc: remove world writable on speaker.cal am: 1d75fb3ce6 am: 81b0c41f8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659823

Change-Id: I59b20cc26132000ba8832dc0148799254586715d
2021-08-24 06:14:25 +00:00
Robert Lee
e63d2cb4eb init.raviole.rc: remove world writable on speaker.cal am: 1d75fb3ce6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659823

Change-Id: I39bd0613b39b37a2e7c494bffce7f2770b0665c7
2021-08-24 06:01:17 +00:00
Robert Lee
40b3941f80 init.raviole.rc: remove world writable on speaker.cal
Bug: 197039088
Test: do re-calibration and check the speaker.cal is updated.
adb shell crus_sp_cal -d -s -a --device 5 --ambient 27 --num-speaker 2 --verbosity 7

Change-Id: I7d8c43c5feaab4d0337590f268f0b59aa7f3e6fd
2021-08-24 03:35:33 +00:00
Ted Wang
befa77410c Bluetooth: Raven BT SAR tables for JP (mmwave) and ROW am: 1bc1e0511d am: 34c5e51426
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640405

Change-Id: I3a0b209a7529ab4095f7a522d3244018ecb2f468
2021-08-23 15:01:22 +00:00
Ted Wang
186f81bb16 Bluetooth: Raven BT SAR tables for JP (mmwave) and ROW am: 1bc1e0511d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640405

Change-Id: Idb882e3a370dcfdb6c8bd6bfc50c7ab8bf3e7a2b
2021-08-23 14:48:12 +00:00