Commit graph

501 commits

Author SHA1 Message Date
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
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
90bc1e3ac5 Update regulation e-label for Oriole am: b7ec16d6ae am: d327fd5469
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640410

Change-Id: If79ef90ce3c289b7d9ba9fba456bddd0491d1ce0
2021-08-23 12:01:31 +00:00
Yanting Yang
22e0c99005 Update regulation e-label for Raven am: f9ead5e36e am: 7aeb761457
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640412

Change-Id: I7f7e7218f2a6b6672822bf5f39cfcc8a45b5182a
2021-08-23 12:00:54 +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
2884ae9ab4 Adjust 0.5dp padding for KeyguardStatusBarView am: 86fc105032 am: 84bb99127e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582267

Change-Id: Id7898759d38da7e47e8b7c5fdd15c8773664c094
2021-08-23 01:04:26 +00: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
442b0e3096 init.raviole.rc: chmod for speaker.cal am: ba0d4bea8a am: 11a4690c2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15634498

Change-Id: Ieb16dcc563d34bd632a3226a5c82b37da8b29db9
2021-08-20 12:51:07 +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
George Chang
b256283d73 Move NFC/eSE settings
Bug: 196825539
Test: build pass
Merged-In: I590f069139f641d886e1252e3acdb19483b7fcaa
Change-Id: I590f069139f641d886e1252e3acdb19483b7fcaa
2021-08-19 06:42:29 +00:00
wenchangliu
638fff6764 oriole: enable media performance class 12 am: cc31b7ab5a am: 17d5f6b134
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15597929

Change-Id: I8eaa3481e816e37b68eebc115b5d82f5cea86f9d
2021-08-18 08:21:23 +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
3f78584f0e bcl: Put OCP_WARN back to original level am: 32487364ec am: 28732ed2f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15584250

Change-Id: I9ed33dcf64747e10782fbaeea5302e0f80d35e5e
2021-08-17 16:52:07 +00: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
9c8c78cca3 Add config for brightness sensor using prox am: 6853130349
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15583232

Change-Id: I304a21ad4cbc6ebe4897204f6d2397debbfdd308
2021-08-17 14:06:59 +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
2f1940ab34 thermal: optimize CPU thermal throttling am: 6c1703e4bd am: ab3c317cc7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15580671

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

Change-Id: I1eff53ec8977c0ed73e1a6cad2919538435650bc
2021-08-16 14:31:48 +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
39733434d4 raven: enable media performance class 12 am: 94ac6e31e6 am: c06dcafdbd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15552527

Change-Id: I3b015412f936ebed50d673fa799a640ef5934c44
2021-08-16 04:18:46 +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
1dfa33b3d8 Don't have an alpha-in fade for the auth ripple am: 166e72e1e6 am: e35e8c2f29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15546909

Change-Id: Id91a8d7e5868311d44a00e353bc0932c9063978c
2021-08-13 21:34:40 +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
dff6096090 thermal: optimize CPU/GPU throttling am: be20378239 am: b8758c9aeb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15516273

Change-Id: I2770ed2fd023f25de0392de8492bce2f848eb892
2021-08-13 20:35:06 +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
e838842898 display: disable hbm dimming am: 85227c2576 am: c67fac27e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15557087

Change-Id: Ie21614e95bc32b8ba71624ba757aba5eb986d4af
2021-08-13 14:31:54 +00:00