Commit graph

1849 commits

Author SHA1 Message Date
Kyle Lin
ac252d338b 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-12 00:22:08 +08:00
Xin Li
d97e64e30e Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: Icf9126f27d81486847d07224a49f92c19e4a49d5
Change-Id: I81aa5aaf63205d8725225a5af037d59c7992ac67
2022-02-11 07:13:36 +00:00
SianyiHuang
a6645ebd70 [automerge] Config: fine tune the ambient threshold to improve the brightness 2p: 14150a77b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16660935

Bug: 215655995
Change-Id: Id808cbec5c571cfba0f1d2a3db5934d1b691ef7e
2022-02-10 20:51:59 +00:00
Android Build Coastguard Worker
a4c6cccc7a Merge cherrypicks of [16713623] into sc-v2-release.
Change-Id: Ib861d207385756c6d225128982c17847d1e4cd24
2022-02-10 00:42:13 +00:00
Neha Jain
08655b8f12 Update SVN to 22 for Oriole-Raven for Mar QPR 2022
Bug: 211820647
Change-Id: I834fb190f857c5af462ed4a5e64576fee0010e3e
(cherry picked from commit e905dce4e7)
Merged-In:I834fb190f857c5af462ed4a5e64576fee0010e3e
2022-02-10 00:41:50 +00:00
Wei Wang
0b64b2131f [automerge] powerhint: fork powerhint.json for slider/whitefin 2p: 0f91059905
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16810167

Bug: 215655510
Change-Id: I79e3b6150c68ff649193d78d8d0b2954c2e3c1ec
Merged-In: I1517dc761837476485f7782610f0474f87e6b989
2022-02-08 06:03:07 +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
Presubmit Automerger Backend
3431a8eb07 [automerge] powerhint: fork powerhint.json for raviole 2p: 32357a73d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16689475

Bug: 215655510
Change-Id: Ied6452ae6ebaf018d910fef0a3e3cef2390f68db
Merged-In: I5b85e7814865eb9c36690423e50bd88d1b3923c5
2022-02-08 04:34:19 +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
Android Build Coastguard Worker
242b1a84b5 Merge cherrypicks of [16474561] into sc-v2-release.
Change-Id: I605784d3f6af1a3ae830ae7fff797bbc288e5ad1
2022-01-26 21:39:59 +00:00
Robin Peng
836db90826 Update SVN to 21 for O6R4 Feb MPR 2022
Bug: 208388283
Change-Id: Ibed22f512bb16e2166b81a783a707d0018aa88a3
(cherry picked from commit 0d19675985)
Merged-In:Ibed22f512bb16e2166b81a783a707d0018aa88a3
2022-01-26 21:39:43 +00:00
Presubmit Automerger Backend
848b53eb7e [automerge] Update SVN to 22 for Oriole-Raven for Mar QPR 2022 2p: e905dce4e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16713623

Bug: 211820647
Change-Id: Ib95ee092d225152dc1c02273caa19ab8f38e2dab
2022-01-25 02:37:54 +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
7ff265622b Update SVN to 21 for O6R4 Feb MPR 2022 am: 0d19675985 am: abd3bf8f2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474561

Change-Id: I4f12c22f1dc86c6014e54b6312eb9a864e4982b8
2022-01-24 21:42:37 +00:00
Cole Faust
9a16742f44 Merge commit '7bef3f3e54' into manual_merge_7bef3f3e543161c8359c37a07035c7d517bd1819
Change-Id: Ifbe3974f5070764980de5469d8c209fc73ac3001
2022-01-24 11:43:49 -08:00
Robin Peng
b5b84ac9c0 Update SVN to 21 for O6R4 Feb MPR 2022 am: 0d19675985 am: 4386aff0a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474561

Change-Id: I0f7342222d0f1886c6df5057d3c2112f23640d2e
2022-01-24 12:40:55 +00:00
Robin Peng
abd3bf8f2e 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: I12aa2a2670487634ed444e15dec8cf743283d51d
2022-01-24 12:29:05 +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
Cole Faust
aa1b3487c7 Inline usages of LOCAL_STEM am: 13a1e928ec am: 3b286c8f62 am: 7bef3f3e54
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1930993

Change-Id: Iadb7e46653a187cc896dcfadff22d63916d82c6b
2022-01-22 02:32:39 +00:00
Xin Li
3d785529ee [automerger skipped] Merge SQ1D.211205.017. am: 605793b34f am: a1d31c2cf8 -s ours am: 547110e7f7 -s ours
am skip reason: Merged-In I68825bf96c8b94dc63ebc096c57b9f7c680be090 with SHA-1 43ce3a4014 is already in history

Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1930718

Change-Id: If4b82179bf878f788bfad3f237c17dc1a0981564
2022-01-21 22:46:23 +00:00
Evgenii Stepanov
98bc813aec Add aosp_(oriole|raven)_hwasan products. am: e0f04e3fcc am: 38aace95a0 am: 807a409452
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1884697

Change-Id: I786fa44feabbc072e0be8c59fc379584ad51adba
2022-01-21 22:45:23 +00:00
Sasha Smundak
4be1724c3a Replace foreach loops with the calls to copy-files am: 011b969d81 am: 7232458e31 am: 1aaba21a59
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1883313

Change-Id: I13e4e458951fdeef0ed8858be35b3fee86329e6d
2022-01-21 22:44:57 +00:00
Cole Faust
7bef3f3e54 Inline usages of LOCAL_STEM am: 13a1e928ec am: 3b286c8f62
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1930993

Change-Id: Icf2447bb701b47d5c48519a57427679413c7c5e4
2022-01-21 22:28:37 +00:00
Xin Li
547110e7f7 [automerger skipped] Merge SQ1D.211205.017. am: 605793b34f am: a1d31c2cf8 -s ours
am skip reason: Merged-In I68825bf96c8b94dc63ebc096c57b9f7c680be090 with SHA-1 43ce3a4014 is already in history

Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1930718

Change-Id: I8e9bbcf01e229a71b1200b2480fc025683a43d37
2022-01-21 22:28:17 +00:00
Evgenii Stepanov
807a409452 Add aosp_(oriole|raven)_hwasan products. am: e0f04e3fcc am: 38aace95a0
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1884697

Change-Id: I21e8c8f9382e4f32576a71de05e450b99dee825c
2022-01-21 22:28:00 +00:00
Sasha Smundak
1aaba21a59 Replace foreach loops with the calls to copy-files am: 011b969d81 am: 7232458e31
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1883313

Change-Id: I029ee3db3a9ef1407ad99ed9a1587082017d3816
2022-01-21 22:26:06 +00:00
Cole Faust
3b286c8f62 Inline usages of LOCAL_STEM am: 13a1e928ec
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1930993

Change-Id: Iebeb59c33aa144b8135e4bab5dfc7568bf11578a
2022-01-21 22:11:39 +00:00
Xin Li
a1d31c2cf8 Merge SQ1D.211205.017. am: 605793b34f
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1930718

Change-Id: Ic579e5034b4dcb9b28a1abcbe4f8228708f8a5a4
2022-01-21 22:10:52 +00:00
Evgenii Stepanov
38aace95a0 Add aosp_(oriole|raven)_hwasan products. am: e0f04e3fcc
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1884697

Change-Id: I31fa200039bad8bfd7800c347240782af7ab5b55
2022-01-21 22:10:06 +00:00
Sasha Smundak
7232458e31 Replace foreach loops with the calls to copy-files am: 011b969d81
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1883313

Change-Id: I163979521cb82b387c975c78136448609e2ea55a
2022-01-21 22:09:53 +00:00
SianyiHuang
14150a77b9 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-01-21 07:35:07 +00:00
Jasmine Cha
bcb3df9f2e audio: update FM table (20220105) am: 9ea55c6a31
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16564367

Change-Id: I4984932605fc05d0c643ebe21987016254884179
2022-01-19 08:09:57 +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
8859794691 PowerHal: move power HAL property to PRODUCT_VENDOR_PROPERTIES am: 970b2a5577
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16622623

Change-Id: I7b8b8a35fc9d60c3d32f4856534bbdbf9fc68819
2022-01-17 01:18:06 +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
Android Build Coastguard Worker
48375955a8 Snap for 8076550 from aa73129ab3 to sc-v2-release
Change-Id: Id5240181726cd7d66c349ef2a0ec86398260e448
2022-01-14 00:02:10 +00:00
Cole Faust
db13b85d51 Inline usages of LOCAL_STEM
Having no variables in include/inherit-product statements
makes the conversion to starlark cleaner.

Bug: 211659921
Test: Presubmits
Change-Id: Icf9126f27d81486847d07224a49f92c19e4a49d5
2022-01-13 17:43:20 +00:00
Lais Andrade
3212203ecb Add PWLE notification vibration patterns for P21 devices am: aa73129ab3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16585105

Change-Id: I04aa54f0b9f66817d90fee0d3c376c1b32c658b0
2022-01-13 14:07:39 +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
Android Build Coastguard Worker
4c2844787f Snap for 8071527 from 225d88d72d to sc-v2-release
Change-Id: Ibc6cc2a24b39a8e328d8b5985f02f7f0ea0040a9
2022-01-13 00:02:38 +00:00
Robin Peng
38e09c2c70 Update SVN to 20 for O6R4 Jan respin am: dd623c582c am: d46373573d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474560

Change-Id: Ic3ca177ec162fae222c2675a5a5c785a1d5c6d68
2022-01-12 06:24:20 +00:00
Robin Peng
9e9374b07b Update SVN to 20 for O6R4 Jan respin am: dd623c582c am: 225d88d72d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474560

Change-Id: If38cf687093c5dc7e0d3653255a98180babe352d
2022-01-12 06:24:11 +00:00
Robin Peng
d46373573d 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: I08d8cb40a7ebcdf9fb22c0277ef8ca408eec6d1b
2022-01-12 06:05:21 +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
Android Build Coastguard Worker
1eb4462df0 Snap for 8068644 from 973e42a5fd to sc-v2-release
Change-Id: I68e687657c9f90f58e3f835474f49de5415b3a2c
2022-01-12 00:01:21 +00:00
TeYuan Wang
e0161cce44 thermal: adjust Raven USB-C UI warning threshold am: 973e42a5fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16590551

Change-Id: If59dd2939a14a7add77b63afe88e3c03a5727d03
2022-01-11 00:05:17 +00:00
Android Build Coastguard Worker
62f6329c1a Snap for 8060779 from d0104cfd0d to sc-v2-release
Change-Id: I368c41b6ca7b531fe6211fcb6030da9309343bf7
2022-01-11 00:01:13 +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
ab770e5eeb audio: syncing the USB config for mfg am: d0104cfd0d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16564364

Change-Id: I576710f93b328106b02eed541f7107881593cb08
2022-01-10 06:13:32 +00: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