Commit graph

508 commits

Author SHA1 Message Date
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
samou
f1820dbcbd powerstats: correct display odpm rail name
Bug: 194651088
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I40b1ab79c64a26008746933fd293064ff69eeebd
2021-08-13 00:33:00 +00:00
George Lee
961ca59b63 bcl: change tpu_cooling state from 3 to 2 ocp_tpu am: 27f5393c07
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15543821

Change-Id: I3fe4ef4d171ab05b6856fa2e22bf2ee8628be65d
2021-08-13 00:15:04 +00:00
George Lee
4a6d0b7b8e bcl: change tpu_cooling state from 3 to 2 ocp_tpu
Per quality testing of Face Auth, noticed 2 failures out of 30 tries of
Face Auth.  Per thermal log, tpu_cooling state changed 2 times.  Over
throttling on TPU by setting tpu_cooling state to 3 may cause Face Auth
to fail.  Changing it to 3.

Bug: 181348043
Bug: 196315467
Test: Local test and verify Face Auth
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I535f0734c247b2041af0f7cc69ef8e6706c9a909
2021-08-12 20:30:53 +00:00
Yanting Yang
6bc13505c8 Update MIC e-label for JP SKU of Raven am: ee93d2b63f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15538955

Change-Id: Iaf65d1ec81ca68b1b6a07b2e452f7d9bd445e029
2021-08-12 13:29:59 +00:00
Yanting Yang
157a9cb111 Update MIC e-label for JP SKU of Raven
Bug: 195376206
Test: visual
Change-Id: I112fe850da9e4765c251866a98d69f3f6d8f60b9
2021-08-12 13:17:20 +00:00
George Lee
e013ac9303 bcl: lower ocp_warn for tpu and gpu am: fd838b05ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15523661

Change-Id: I7619bb735bdbea4be15789a3372ff3d93d4f6818
2021-08-11 01:47:40 +00:00
George Lee
8fadec702c bcl: lower ocp_warn for tpu and gpu
Bug: 181348043
Test: Local test and verify trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ifea3ea71e658b1ca0d9d87c2ca1cdb16b290a6b9
2021-08-11 01:32:04 +00:00
George Lee
270a8bb008 bcl: Update soft_ocp cooling device am: 7eadb11846
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15484343

Change-Id: I3d471699e6be725cd274f3b94f4dfc4972ed01e8
2021-08-10 23:34:08 +00:00
TeYuan Wang
756c2fe3e2 thermal: add TPU throttling for SKIN thermal optimization am: bffd5fe31a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15472709

Change-Id: I3be3365f496ce4d0d2d22000962533a866d1a401
2021-08-10 23:34:02 +00:00
George Lee
f7e42d69e0 bcl: Update soft_ocp cooling device
Add cooling device for soft_ocp_warn.

Bug: 188701596
Test: Local test and check trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ife680d79467d9a07e14cc890d60f35aba02c0b65
2021-08-10 23:27:13 +00:00
TeYuan Wang
3f4c1166f6 thermal: add TPU throttling for SKIN thermal optimization
Bug: 188701596
Test: Verified by emul temp
Change-Id: I37300afd1aa9678b22e7108c918b515f83347f37
2021-08-10 23:18:01 +00:00