Commit graph

2844 commits

Author SHA1 Message Date
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
samou
cbc19f8cb5 power_profile: Correct CPU topology and power number for P21
Bug: 214127772
Signed-off-by: samou <samou@google.com>
Change-Id: I97273304126fd395ec2feafc002d91bdbac37dd7
2022-02-08 01:45:26 +00:00
Rick Yiu
0e3603197f Remove high_capacity_start_cpu
The node is removed from kernel.

Bug: 201259891
Test: build pass
Change-Id: Id4da651f516f92ab1c7164339ae9f4c92ce5f0de
2022-02-01 10:46:01 +00:00
Wei Wang
63fe74554f 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
2022-01-28 22:12:43 -08:00
Yohei Yukawa
504fe7e8ca Migrate "rounded_corner_content_padding" for raven/oriole
This CL updates resource overlay of

  rounded_corner_content_padding

for raven/oriole so that the same device-specific value can be seen
from both the Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: Id95b8c063ece7eb43d91f96afe21b4fb01e8b489
2022-01-28 12:03:33 -08:00
Jimmy Shiu
fdfe3e3fc0 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
2022-01-27 14:18:43 +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
Carter Hsu
b68c7cf0b7 audio: add Fortemedia mcps file
Bug: 213020870
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I3699bbbf4e220fce806ac1d61b329b51c65002ae
2022-01-26 06:26:09 +00:00
Presubmit Automerger Backend
7f41d201e6 [automerge] Update SVN to 22 for Oriole-Raven for Mar QPR 2022 2p: e905dce4e7 am: 848b53eb7e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16713623

Change-Id: I84a9511bfdd0b1db1f5d26f6d426a2a4866aca2e
2022-01-25 13:50:23 +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
5ff2c8dc89 Update SVN to 21 for O6R4 Feb MPR 2022 am: 0d19675985 am: abd3bf8f2e am: 7ff265622b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474561

Change-Id: I6182d72be63d00b64cc2acefb4bda832e0aa38e1
2022-01-24 21:59:56 +00:00
Cole Faust
782ccbe736 Merge commit '7bef3f3e54' into manual_merge_7bef3f3e543161c8359c37a07035c7d517bd1819 am: 9a16742f44
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16710848

Change-Id: I8b52fc8c814864a92dbfea57c48059006cce7390
2022-01-24 21:59:49 +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
de5cfcbeaa Update SVN to 21 for O6R4 Feb MPR 2022 am: 0d19675985 am: 4386aff0a1 am: b5b84ac9c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16474561

Change-Id: I5b7571127c5e77cfb2e341df682d94121c94d5e3
2022-01-24 12:59:55 +00: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
c2772a9a5b Inline usages of LOCAL_STEM am: 13a1e928ec am: 3b286c8f62 am: 7bef3f3e54 am: aa1b3487c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16692593

Change-Id: If72bf74338f58807451a38b9894df454515b570a
2022-01-22 02:44:56 +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
10ef88ca29 [automerger skipped] Merge SQ1D.211205.017. am: 605793b34f am: a1d31c2cf8 -s ours am: 547110e7f7 -s ours am: 3d785529ee -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: Ie5991409b2cf34d6e4793e3818aa3a9614c568a7
2022-01-21 23:16:55 +00:00
Evgenii Stepanov
11d36c2e5d Add aosp_(oriole|raven)_hwasan products. am: e0f04e3fcc am: 38aace95a0 am: 807a409452 am: 98bc813aec
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1884697

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

Change-Id: Id8de23ee2a9f435931be10fa404df8bc9cc788af
2022-01-21 23:15:03 +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
51dc873256 audio: update FM table (20220105) am: 9ea55c6a31 am: bcb3df9f2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16564367

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

Change-Id: Iea6aafb09465e2405526a6ba1c456dc611db0e93
2022-01-17 01:35:53 +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
Cole Faust
0e20159301 Revert "Remove BOARD_WITHOUT_DTLS"
Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert submission 16603844-colefaust_dauntless

Reason for revert: Broke other products that didn't set BOARD_WITHOUT_DTLS
Reverted Changes:
I3b4ab3ed2:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Iee95550f4:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I1b210d8ab:Make BOARD_WITHOUT_DTLS work without an override
I80bfec988:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I5f51cf010:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
If6592aa18:Remove BOARD_WITHOUT_DTLS

Change-Id: I80ff78ce2215dbc2e9777b9abc9f9d86a4a8fa8e
2022-01-14 02:43:01 +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
ef8d43ddeb Inline usages of LOCAL_STEM am: db13b85d51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16586133

Change-Id: I91490f72e9ece31d6a95f1507cfa321b2d037ee7
2022-01-13 17:57:25 +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
333a59d66a [automerger skipped] Add PWLE notification vibration patterns for P21 devices am: aa73129ab3 am: 3212203ecb -s ours
am skip reason: Merged-In I73a2f3e50901b80aef299f4c8e9807a551170bbc with SHA-1 acf62bc171 is already in history

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

Change-Id: I0858091f2c95a89f7bc75d536129002dc631e01a
2022-01-13 14:25:52 +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