Commit graph

348 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Ted Wang
e540f7b737 Bluetooth: Raven BT SAR tables for JP (mmwave) and ROW
Rename raven BT SAR tables for US and EU

Bug: 197368550
Test: make
Change-Id: I1a69308be75ffe8c40232cebfc428392075e988e
2021-08-23 14:33:49 +00:00
Yanting Yang
6da40a602b Update regulation e-label for Oriole am: b7ec16d6ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640410

Change-Id: I72653540b87f6319dadf0e580fe98cdd07509f51
2021-08-23 11:47:33 +00:00
Yanting Yang
20e3e82792 Update regulation e-label for Raven am: f9ead5e36e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640412

Change-Id: If80d81769b6f6480debdb7c8b279090b1c39a65e
2021-08-23 11:47:30 +00:00
Yanting Yang
7a754f9f30 Update regulation e-label for Oriole
Update the e-label of GR1YH and add the e-labels for GB7N6 and G9S9B.

Fixes: 187845531
Test: visual
Change-Id: I82bc0468167f9734442e90790ffe1b78d5e5979e
2021-08-23 11:29:54 +00:00
Yanting Yang
c1583a90f6 Update regulation e-label for Raven
Update the e-label of GF5KQ and add the e-labels for GLU0G and G8V0U.

Fixes: 187846268
Test: visual
Change-Id: I76bf53297abf4d00051beda670d847477444f7b6
2021-08-23 13:34:59 +08:00
Bill Lin
72d9258aa8 Adjust 0.5dp padding for KeyguardStatusBarView am: 86fc105032
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582267

Change-Id: Ifb7a11479bf225d63fec74f8fe2f2f49ebea009d
2021-08-23 00:50:32 +00:00
Bill Lin
9b61605560 Adjust 0.5dp padding for KeyguardStatusBarView
There's still 2px offset when transitioning from
KeyguardStatusBarView to PhoneStatusBarView.
To make the visual perfect, we can adjust more 0.5dp.

Test: Visual
Test: atest SystemUITests
Bug: 195670442
Change-Id: I84d10f2dad665fcbdb01665f5056d08b3c20e0d7
2021-08-23 00:37:20 +00:00
Robert Lee
79e3cc1904 init.raviole.rc: chmod for speaker.cal am: ba0d4bea8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15634498

Change-Id: I8f8f1c5b5af747bfde5d4d686d4822b938b77717
2021-08-20 12:33:27 +00:00
Robert Lee
bedf39fb89 init.raviole.rc: chmod for speaker.cal
The speaker calibration step is changed in factory and the speaker
calibration file's permission is incorrect. Then audio hal cannot read
speaker.cal file to apply it and only apply default cal value.

Correct the file mode when init.

Bug: 197039088
Test: push the script into device and check file mode after rebooting device

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I1339f006f4477288cb41d07cb32caba0921b6e09
2021-08-20 04:17:17 +00:00
wenchangliu
2dcf4d2b03 oriole: enable media performance class 12 am: cc31b7ab5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15597929

Change-Id: I7828a1e8c5d04b6165a9fea3733ba89c8a16f086
2021-08-18 08:00:53 +00:00
wenchangliu
0e8a67f822 oriole: enable media performance class 12
Bug: 196768374
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest
Test: atest android.filesystem.cts.RandomRWTest
Test: atest android.filesystem.cts.SequentialRWTest
Test: atest CtsVideoQualityFloorHostTestCases
Change-Id: I9eaa78c23b6e9645ea5a344b9da0de3cacf21e17
2021-08-18 11:02:49 +08:00
George Lee
0b436334f8 bcl: Put OCP_WARN back to original level am: 32487364ec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15584250

Change-Id: I4ff768e82286106188897dbc368d2821968d6692
2021-08-17 16:38:07 +00:00
George Lee
d337a06e1b bcl: Put OCP_WARN back to original level
Bug: 196833426
Test: Boot and confirm proper level set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iff9e77c39de546c53fd2404d3a0e15408b0e856d
2021-08-17 16:21:12 +00:00
Beverly
b03fc73cf1 Add config for brightness sensor using prox
Binned brightness sensor on R4O6 don't use the
prox sensor.

Test: manual
Bug: 194151347
Change-Id: I339a4a4612c7eb5f90196835ef9121b114cdece3
2021-08-17 13:53:56 +00:00
TeYuan Wang
db159344f0 thermal: optimize CPU thermal throttling am: 6c1703e4bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15580671

Change-Id: Ic8d97afc292e19a10daf0f9fc785846a439f65c4
2021-08-17 01:32:01 +00:00
TeYuan Wang
b7b48bb1e9 thermal: optimize CPU thermal throttling
1. Avoid integral and derivative computation when thermal > MODERATE
2. Adjust cdev weight to make LC throttling become more aggressive

Bug: 195459720
Test: test burn8

Change-Id: I2d40e8cd95f6c67ff48574b2b8405c9545a67611
2021-08-17 01:18:38 +00:00
Robert Lee
55b0e74e55 audio: update audio_policy_volumes.xml am: 81c8066e4b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582262

Change-Id: I0dfe622a295abf4631671d2c5d01fea7d1805fcd
2021-08-16 14:21:37 +00:00
Robert Lee
09c3fd343f audio: update audio_policy_volumes.xml
Update below stream's volume curves to refine system sound output
from speaker too loud in the lowest volume.

  <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">

Refine audio-tables.mk location to make sure the xml is updated.

Bug: 195387287
Test: QMC verified
Test: Local built and verified vendor/etc/audio_policy_volumes.xml is correct one

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I13188d7470092448a2660f89d43cf13a56c22edc
2021-08-16 11:27:19 +00:00
wenchangliu
5624d9686f raven: enable media performance class 12 am: 94ac6e31e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15552527

Change-Id: I6d20bd67172e76f14597592b415c6fdcdaebf201
2021-08-16 04:06:36 +00:00
wenchangliu
a768e6f4ae raven: enable media performance class 12
Bug: 187191316
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest
Test: atest android.filesystem.cts.RandomRWTest
Test: atest android.filesystem.cts.SequentialRWTest
Test: atest CtsVideoQualityFloorHostTestCases
Change-Id: Ia6f335e81f6157a5abde7d33a5576762303b2379
2021-08-16 03:52:17 +00:00
Beverly
85e704d9d1 Don't have an alpha-in fade for the auth ripple am: 166e72e1e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15546909

Change-Id: I2538a7418bfdad37ed9d14db9b51828bb5439c27
2021-08-13 20:54:45 +00:00
Beverly
a7db0950b2 Don't have an alpha-in fade for the auth ripple
Since R4O6 ripple comes from UDFPS, we don't need
to fade it in.

Test: manual
Bug: 196006323
Change-Id: If7e41bfe87823a763a8247a9125f8cc54ba769a6
2021-08-13 20:41:18 +00:00
TeYuan Wang
6d836b0d82 thermal: optimize CPU/GPU throttling am: be20378239
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15516273

Change-Id: Ib61fc40e7aec5d606534350db9aab9f25eabce7f
2021-08-13 20:18:37 +00:00
TeYuan Wang
7a9216673c thermal: optimize CPU/GPU throttling
Bug: 195459720
Test: test burn8 and manhattan
Change-Id: Icb65cda2f9370069ac701cc1d15c6cc8661af0ba
2021-08-13 20:00:42 +00:00
linpeter
d96305faa3 display: disable hbm dimming am: 85227c2576
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15557087

Change-Id: I9d2b3b6e653b215f93c385d8b553ddaf57a339a9
2021-08-13 14:17:59 +00:00
linpeter
2d18527195 display: disable hbm dimming
Bug: 194656170
test: no panel dimming
Change-Id: I5907697c546bd11d6e8ca67b4fde2a67b3ab8764
2021-08-13 14:04:28 +00:00
Daniel Solomon
ffa26ddb17 display: override Oriole set_idle_timer_ms am: 16dc7e0226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15484344

Change-Id: Iac7f44570e5c51545c6ebae7ea745f6e8feffc15
2021-08-13 05:42:10 +00:00
Daniel Solomon
7494ecc094 display: override Oriole set_idle_timer_ms
Bug: 195699802
Change-Id: I6d707b1630d26e0c2018c12566f2a294c4dadd10
2021-08-13 05:26:26 +00:00