Commit graph

679 commits

Author SHA1 Message Date
Eric Laurent
69e753be8a Revert "DO NOT MERGE audio: add immersive output"
Bug: 223736548
Test: make

This reverts commit d91acaba1a.

Change-Id: I18aa2cb60403b131dcf353f8b51e831a9f4614da
2022-04-12 08:00:52 +00:00
Eric Laurent
10848fe081 Revert "DO NOT MERGE Audio configuration for spatial audio"
Bug: 223736548
Test: make
This reverts commit edfc5e86bd.

Change-Id: Ie693f24b76d00469ad71a36989e481023946c3bb
2022-04-12 08:00:52 +00:00
shawnlin
fb9b9c83c4 Update status bar height res to correct size
Test: make
Bug: 216782082
Change-Id: Ibc23f990e4fda040a86b52f78effce6da0235931
2022-04-11 11:52:09 +08:00
Steve Berbary
08d806ddfd Update oriole SVN to 26
Bug: 228265025
Change-Id: I34050f4f12e36e671bddc3ffeb7fe17a8a19a929
2022-04-10 15:40:48 +00:00
Steve Berbary
77bcf08c3a Update raven SVN to 26
Bug: 228265025
Change-Id: I0a18a8b09e060e2cbc31e69a0f8fd6675769093a
2022-04-10 15:40:14 +00:00
shawnlin
ab0dbdbc86 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I05142c120f05bdb5fa0543e61a6f50f46f6b0d82
2022-04-07 13:33:27 +00:00
Jean-Michel Trivi
c0d282f6b7 Raviole: disable DD+ decoder
Bug: 225544444
Bug: 228207876
Test: adb shell ps | grep vendor.dolby.media.c2\@ is empty after boot
Change-Id: I030739e6d9772671b160e21afe62579a1bf3b987
2022-04-05 19:01:49 +00:00
Steve Berbary
6414ff31c8 Update oriole SVN to 25
Bug:  223313197

Change-Id: Iff092322df7a366281dcf89d8c9987064b6347f8
2022-03-11 03:08:54 +00:00
Steve Berbary
3f0fcbce02 Update raven SVN to 25
Bug:  223313197

Change-Id: If21b8cd2be84e877f7e0a946b63e58df057f17b2
2022-03-11 02:45:21 +00:00
Jean-Michel Trivi
412664dc84 DO NOT MERGE Oriole/Raven: enable Dolby DD+ decoder
Bug: 198197610
Test: playback of EAC-3 file makes air vibrate

Change-Id: I88f2bc9fae6eb8a5e76156bc640045679d1d749a
2022-03-10 20:33:19 +00:00
Eric Laurent
edfc5e86bd DO NOT MERGE Audio configuration for spatial audio
Update audio policy and effect configuration files to
support spatial audio feature

Bug: 189423448
Test: make
Change-Id: I2274fb4784eef5e28cadd9f33c38fdbbe60f6b40
2022-03-09 12:53:31 +00:00
justinweng
d91acaba1a DO NOT MERGE audio: add immersive output
Bug: 189423448
Test: build passed.

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I0a14bd264fb79f56698ab626bd71af7f72e9fff8
2022-03-09 12:53:31 +00:00
Lais Andrade
ba9024c780 Revert notification patterns to default pre-S ones [DO NOT MERGE]
Bug: 210535717
Test: manual
Change-Id: I6ead011f1cc28ea0c061941ab1665ed8250c3784
2022-03-08 16:07:40 +00:00
TeYuan Wang
9156a09217 [ DO NOT MERGE ] Enable user_vote_bypass for UDFPS and face unlock
Bug: 221173040
Test: Do FP unlock and confirm the user_vote can be bypassed
Change-Id: Ic8a727659c88a6a2abac2cc01865a07b23d16d29
2022-03-07 16:11:43 +00:00
Aaron Ding
25d0ee4273 add oriole and raven to COMMON_LUNCH_CHOICES
Bug: 222382030
Change-Id: Ife8f6ff24d8f01401a7d8a2fc5fe05f8cd1c4be1
(cherry picked from commit 69b60dfbfe)
2022-03-04 03:22:17 +00:00
George Lee
d3451ed575 thermal: Reduce DVFS throttling per BCL irq
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia5d8cdbb1a0bff5baff56a81732b4a396189a10b
2022-02-26 13:30:05 -08:00
Kyle Lin
1b50d53257 powerhint: release BC max frequency when launching
Bug: 218459805
Test: Build and Trace
Change-Id: If95011f396d40726dbb58f68df00c4f13627ceaa
Signed-off-by: Kyle Lin <kylelin@google.com>
2022-02-17 05:39:03 +00:00
SianyiHuang
5d41f2aaa9 Config: fine tune the ambient threshold to improve the brightness
stability

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: If75b3ed85d4cc2dccb24cb6bfb71e7e0958d986a
2022-02-16 16:32:05 +00:00
Bassem Khalife
d9503819a3 Update Oriole SVN to 24
Bug:  216579780
Change-Id: Ia3cb387c957050ef6828e2d5a439965e8c060bcc
2022-02-12 01:40:27 +00:00
Bassem Khalife
6cb30bddce Update Raven SVN to 24
Bug:  216579780
Change-Id: I720927230b25d9a531bc884d280c461e3ada0b74
2022-02-11 22:57:19 +00:00
Wei Wang
0f91059905 powerhint: fork powerhint.json for slider/whitefin
Move the powerhint.json from gs101 to slider/whitefin

Test: build
Bug: 215655510
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I1517dc761837476485f7782610f0474f87e6b989
Merged-In: I1517dc761837476485f7782610f0474f87e6b989
2022-02-08 06:02:57 +00:00
Jimmy Shiu
32357a73d7 powerhint: fork powerhint.json for raviole
Move the powerhint.json from gs101 to raven and oriole

Test: build and manually check
Bug: 215655510
Change-Id: I5b85e7814865eb9c36690423e50bd88d1b3923c5
Merged-In: I5b85e7814865eb9c36690423e50bd88d1b3923c5
2022-02-08 04:34:10 +00:00
Neha Jain
e905dce4e7 Update SVN to 22 for Oriole-Raven for Mar QPR 2022
Bug: 211820647
Change-Id: I834fb190f857c5af462ed4a5e64576fee0010e3e
2022-01-25 02:37:42 +00:00
Robin Peng
4386aff0a1 Update SVN to 21 for O6R4 Feb MPR 2022 am: 0d19675985
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474561

Change-Id: I6976d4ded2202860d63369d2711e8f11d0a227e0
2022-01-24 12:28:48 +00:00
Jasmine Cha
9ea55c6a31 audio: update FM table (20220105)
The change is on Headset Blackbird (USB-C earbuds) only.
The changed items are the same on R4 & O6 and the tuning
are also aligned with B3.

1. HE_BB, NB/WB/SWB/FB
  - Apply the same TDDRC gain for each RX volume step
  - Enable RX FFP
  - Fine-tune volume curve
2. Reduce the clipping risk on RX path (SWB and FB RX)
  - Fine tune EQ and TDDRC gain
3. HE_BB, WB_DT improvement
  - TX_EAD_THR: 0x4500 --> 0x36B0

Bug: 213426722
Test: manual test (b/174635995#comment77)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iecf9bd5d6150371556680bd493ae3412a1ad5c2e
2022-01-19 07:49:39 +00:00
Jimmy Shiu
970b2a5577 PowerHal: move power HAL property to PRODUCT_VENDOR_PROPERTIES
'vendor.powerhal.adpf.rate' should be placed in /vendor if it is used
by vendor processes. The product partition (and system_ext) belongs to
"system" in Treble view so it will be replaced by GSI.

Bug: 204035997
Test: Install GSI by b/204035997#comment19 and run the following
      command would get a non-null number:
      $ adb root; adb shell getprop vendor.powerhal.adpf.rate
Test: $ adb shell 'find . -type f -name "build.prop" -exec grep -Hn "adpf" {} \; 2> /dev/null'
    ./vendor/build.prop:83:vendor.powerhal.adpf.rate=16666666
Change-Id: I10c8f55609aff49e32b2bc6dc7474f8bafb116e9
2022-01-17 01:01:50 +00:00
Lais Andrade
aa73129ab3 Add PWLE notification vibration patterns for P21 devices
Add the PWLE vibration pattern to the config.xml overlays for Pixel 2021
devices that support frequency control.

The patterns use the amplitude and frequency hand-designed for both
raven and oriole devices. The amplitude is using the maximum supported
value of 0.4, to allow scaling based on user settings.

Bug: 212366218
Test: manual
Change-Id: I73a2f3e50901b80aef299f4c8e9807a551170bbc
Merged-In: I73a2f3e50901b80aef299f4c8e9807a551170bbc
2022-01-13 13:52:54 +00:00
Robin Peng
225d88d72d Update SVN to 20 for O6R4 Jan respin am: dd623c582c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474560

Change-Id: I16b6af257f9bf53232c5e161fbca19d33c053e16
2022-01-12 06:05:19 +00:00
TeYuan Wang
973e42a5fd thermal: adjust Raven USB-C UI warning threshold
According to the survey result, R4 has less margin than O6,
so adjust the threshold to reduce the false positive rate.

Bug: 213400531
Test: verified by emul_temp
Change-Id: I6ed9168a43d9936aef68ce60fb480af161eeb588
2022-01-10 18:27:53 +08:00
vincenttew
d0104cfd0d audio: syncing the USB config for mfg
currently mfg audio tool using audio-recordC usb-headset-mic
in mixer_paths.xml, add a new path for mfg usb recording to
switching the usb mic source

modify the usb alsa control to v2 since the latest alsa control
already changed

Bug: 213027646
Test: verify pass with mfg tool usb-record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If3af632ed2bddcdd1329f17fc89ea82162d810ae
2022-01-10 05:50:46 +00:00
TeYuan Wang
b26e78c621 thermal: adjust Raven USB-C throttling threshold
According to the survey result, R4 has less margin than O6,
so adjust the threshold to reduce the false positive rate.

Bug: 213400531
Test: verified by emul_temp
Change-Id: Iaea41fb62a4e2e06f59d40c26cfde563143fc07e
2022-01-06 15:35:06 +00:00
Harpreet "Eli" Sangha
f757d485d4 Revert "Move dck.eligible_wcc back to 3 for R4"
This reverts commit 67cccb2750f90560ff4b086c855161bcbe3159b9.

Reason for revert: b/210746264

Change-Id: I19da43552eb21a35816289838872636743e77602
2021-12-21 12:41:23 +09:00
Ilya Matyukhin
1ee32ca9ed DO NOT MERGE Remove unintended faceauth configs
Bug: 210921116
Test: N/A
Change-Id: Ie10aaca6892b1246b57941d00b283f202b08035d
2021-12-16 20:22:17 +00:00
linpeter
2a05c539a7 display: enable hbm sv dimming [ DO NOT MERGE ]
Bug: 192919359
test: hbm sv dimming check
Change-Id: Iabf9361d53ef20bf6a761b73444ecb7c82bbd903
2021-12-16 08:05:02 +00:00
Robin Peng
0d19675985 Update SVN to 21 for O6R4 Feb MPR 2022
Bug: 208388283
Change-Id: Ibed22f512bb16e2166b81a783a707d0018aa88a3
2021-12-15 17:53:48 +08:00
Robin Peng
dd623c582c Update SVN to 20 for O6R4 Jan respin
Bug: 208388283
Change-Id: I526a00cad840ff00747918e605873ccbe939ae2f
2021-12-15 17:53:20 +08:00
Alex Hong
b90720c8c7 [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices
Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I3de89e705c1e7f0bac5f6d4b4b2791ef2edcfec6
Signed-off-by: Alex Hong <rurumihong@google.com>
2021-12-09 23:51:34 +00:00
Robin Peng
520c2d4210 Update SVN to 19 for O6R4 Feb MPR 2022 am: b43a67872f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16387347

Change-Id: If4959a9d3f035a32b862464d2da6b1c5d4270b5f
2021-12-06 14:48:10 +00:00
Robin Peng
2d93cd005b Update SVN to 18 for O6R4 Feb MPR 2022 am: e698ad5ebf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16387346

Change-Id: Ib46384946dc0450ee6c4ac831b82260518f631e0
2021-12-06 14:48:09 +00:00
Robin Peng
495fab9842 Update SVN to 17 for O6R4 Feb MPR 2022 am: c4f2e1f8be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16387345

Change-Id: Ibe6e73082d49a13e8cc7147d81c20a5106447a6d
2021-12-06 14:48:08 +00:00
Robin Peng
92ff56887f Update SVN to 16 for O6R4 Jan MPR 2022 am: 1c099b5343
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16387344

Change-Id: Icfb9febf4d8c244fbbd26b76ed8bd472054ded59
2021-12-06 14:48:07 +00:00
Robin Peng
030561cc4f Update SVN to 15 for O6R4 Jan MPR 2022 am: 6970a1c68c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16387343

Change-Id: I85f148a9185fd3988afc4feabf664bd1598926e6
2021-12-06 14:48:07 +00:00
Robin Peng
fb0676c2d7 Update SVN to 14 for O6R4 Jan MPR 2022 am: 6c4358f966
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16387342

Change-Id: I98769aabfd1d2f9d7345d7b4ca75377e371064d4
2021-12-06 14:48:06 +00:00
Robin Peng
b43a67872f Update SVN to 19 for O6R4 Feb MPR 2022
Bug: 208388283
Change-Id: Iff5e995440dd90e6d4205707b17760ce955b1631
2021-12-03 22:37:11 +08:00
Robin Peng
e698ad5ebf Update SVN to 18 for O6R4 Feb MPR 2022
Bug: 208388283
Change-Id: I81a32df8a136222a20d3e880d723dc09e1f6a563
2021-12-03 22:36:51 +08:00
Robin Peng
c4f2e1f8be Update SVN to 17 for O6R4 Feb MPR 2022
Bug: 208388283
Change-Id: Ia5caead5c49e7f8ab451276183022d097cf7cb88
2021-12-03 22:36:32 +08:00
Robin Peng
1c099b5343 Update SVN to 16 for O6R4 Jan MPR 2022
Bug: 208388283
Change-Id: I09ab2801655764a816914f553bcfa6456c86f736
2021-12-03 22:36:12 +08:00
Robin Peng
6970a1c68c Update SVN to 15 for O6R4 Jan MPR 2022
Bug: 208388283
Change-Id: Ied743734f8692a5de48465d66c3e8717588519e0
2021-12-03 22:35:56 +08:00
Robin Peng
6c4358f966 Update SVN to 14 for O6R4 Jan MPR 2022
Bug: 208388283
Change-Id: I7009fdb1a5c034700e2c0546c4b79c998033c943
2021-12-03 22:35:33 +08:00
Hunter Knepshield
43e244d7b6 Revert "Add CDMA feature XML inclusion to device mk files for oriole & raven"
This reverts commit 1c954f30da.

Reason for revert: These devices do not support CDMA

Bug: 201322462
Test: inspect build artifacts
Change-Id: I73e48320088b190e047765ce12dcb3303adfd07b
2021-12-02 19:15:04 +00:00