Commit graph

519 commits

Author SHA1 Message Date
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
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
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
Jasmine Cha
ee213f3952 audio: update music playback volume curve am: b116b57820
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743308

Change-Id: I0e08ecff1d9386e7db2cde213149e263d403401b
2021-09-03 06:52:51 +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
3c5ef14f3a Update regulation e-label for Oriole am: 05fc0b2ca9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743482

Change-Id: I54781401ad4d8ef9825a2087a2985fd5c7154207
2021-09-02 02:33:14 +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
772ccae961 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: I0650286129ef98a6e27871eba8f312f010497a64
2021-08-27 12:29:44 +00:00
Ted Wang
84380194d1 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: I284538ed1c8454274052fdc81a8c8b28bc50c4d6
2021-08-27 12:29:39 +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
177ca102eb audio: update Media Record Tuning Files am: 748d19776f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659825

Change-Id: Ie24b6c73b06f570b09dc898f9f888acff4765791
2021-08-27 02:12:11 +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
c80f141a1f audio: update FM tables (20210729_v540) am: 95268bbff1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15671192

Change-Id: I0d511da483e62994ce34143da14f43d34d8717d0
2021-08-26 08:45:15 +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
259035a784 audio: update tuning tables (20210826) am: 7516c91bc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15674429

Change-Id: I778174e3198c61a71c4a1dfc77eac73646419ef8
2021-08-26 02:25:51 +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
7de7b9b373 Allow NFC polling disable by system apps am: 40e1218f96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659822

Change-Id: Ic51c5b9209b1510bb9b16d329f7b7d13e94363d5
2021-08-25 06:01:30 +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
33a9e102d4 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: Ic932edd2d1864919eb2756e31b362f28e60b57a7
2021-08-24 06:00:30 +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
2061d5bb1b 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: I223feac96e2e428c0273e87ce4220eb63b8f4f6b
2021-08-23 14:47:24 +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
d6754068b8 Update regulation e-label for Oriole am: b7ec16d6ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640410

Change-Id: I4cc32f0d57ec6a77ff9ead395cf8338f057c5849
2021-08-23 11:46:49 +00:00
Yanting Yang
e2aa310431 Update regulation e-label for Raven am: f9ead5e36e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640412

Change-Id: Ibe849c8eff035eebd676ce9f4e54afaf34792ce1
2021-08-23 11:46:44 +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
fc8ce39ff3 Adjust 0.5dp padding for KeyguardStatusBarView am: 86fc105032
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582267

Change-Id: Iaf0e4b3860ddc49816174830279296253a8f877e
2021-08-23 00:49:42 +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
1dfc7e55fe init.raviole.rc: chmod for speaker.cal am: ba0d4bea8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15634498

Change-Id: I87b4ce3567689915478464d3ed72b0243bc0fa0c
2021-08-20 12:32:39 +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
b8e73f7b05 oriole: enable media performance class 12 am: cc31b7ab5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15597929

Change-Id: I69bfa2cc002945a487cc16f66715829b281386bc
2021-08-18 07:59:51 +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
493c8b0910 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: I21f5329a909521f43cbe8eeb8093b9b391c2f87c
2021-08-17 16:37:15 +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
TeYuan Wang
aa001f401d thermal: optimize CPU thermal throttling am: 6c1703e4bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15580671

Change-Id: I8f5b79924d3bc40df3d203cd435690950355f96d
2021-08-17 01:31:12 +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
e7b9abf96c audio: update audio_policy_volumes.xml am: 81c8066e4b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582262

Change-Id: I8b290dfe4c019975313e2559aed7aadd9dfd247a
2021-08-16 14:20:43 +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
6385cb1238 raven: enable media performance class 12 am: 94ac6e31e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15552527

Change-Id: Ic3cd4960b453dde110f5054a71bf74dd9223d16a
2021-08-16 04:05:44 +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
ec824a9065 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: I3bc8f64254eb8839aef0d2591cf83207bc44492c
2021-08-13 20:53:20 +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
3f3f1e817e thermal: optimize CPU/GPU throttling am: be20378239
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15516273

Change-Id: I2a08d1e2646bb7135d6508630187b69d603bccbd
2021-08-13 20:17:34 +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
3f0d57689a display: disable hbm dimming am: 85227c2576
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15557087

Change-Id: I14abd4a86fd9c228ea9a0d8d068e85aff80ebea2
2021-08-13 14:15:27 +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
dd546daba5 display: override Oriole set_idle_timer_ms am: 16dc7e0226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15484344

Change-Id: Ide54f4934aafee5e8c994b8f023ffac5f520b157
2021-08-13 05:41:07 +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
samou
31e229f365 powerstats: correct display odpm rail name am: 3bf4ba165b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15416441

Change-Id: Id00f24968c1a82849b58c7411ee61eb50eced7d1
2021-08-13 00:45:43 +00:00