Commit graph

2856 commits

Author SHA1 Message Date
Wei Wang
feb6fd3e0f Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
(cherry picked from commit 4a00d52966)
Merged-In: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-02-08 04:53:00 +00:00
Presubmit Automerger Backend
3569070df7 [automerge] powerhint: remove powerhint.json for separating configs 2p: eea7b26d08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16687457

Bug: 215655510
Change-Id: Idbbc763b97de7e123769fdc53547d72a7e83ddba
Merged-In: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-02-08 04:52:33 +00:00
Jimmy Shiu
eea7b26d08 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
Merged-In: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-02-08 04:52:24 +00:00
Badhri Jagan Sridharan
06870a01fa Rename enable_usb dev node to move_data_to_usb
kernel dev attribute has now been renamed from enable_usb
to move_data_to_usb. Update the same.

Bug: 211677613
Bug: 213312081
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I8e4aa0b2e09bfef807f0169eabb79e2fa2e4d2c7
2022-02-07 07:13:12 +00:00
Kelvin Zhang
803fc9b494 Enable VABC xor on p21 devices
This is expected to reduce space requirements for OTA by 25%-40%
For more details see http://go/vabc-xor

Change-Id: Icb53bd27749c960a7738311c3a9c1d60c7b72abe
Test: th
2022-02-03 20:58:47 +00:00
Sunil Ravi
077119357c wifi: Enable ieee80211w feature on SoftAp interface
Set ieee80211w=1 config item in the hostapd config file
based on the feature flag, BOARD_HOSTAPD_CONFIG_80211W_MFP_OPTIONAL.
This enables management frame protection and prevents denial of
service when an attacker sends deauthentication frames to the
clients connected to the SoftAp.

Bug: 197874458
Test: Connected STAs to Pixel SofAp and confirmed from the
sniffer logs that PMF capabilities are exchanged and the required
management frames are protected.

Change-Id: I6f23fd82eeec97d80d808c90ad48901eda630646
2022-02-03 20:09:33 +00:00
Presubmit Automerger Backend
aa69549a61 [automerger skipped] [automerge] Remove cpu controller usage in P21 2p: 5ebc40697f am: 901945b74c -s ours
am skip reason: Merged-In I80fdd7301d23243ac8e4b2e633cc1e16283227ea with SHA-1 3c5725a6d8 is already in history

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

Change-Id: I74f0fbc6daa454e959d9189ad4a2b08c95d6ffe5
2022-02-01 07:53:01 +00:00
Presubmit Automerger Backend
901945b74c [automerge] Remove cpu controller usage in P21 2p: 5ebc40697f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16764525

Bug: 208895940
Change-Id: I9b5d14a2f6847386d1feb9570d1789adacfaea0b
2022-01-31 21:17:38 +00:00
Wei Wang
5ebc40697f Remove cpu controller usage in P21
To avoid lock contention, removing cpu controller usage completely for
p21.

Bug: 208895940
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Merged-In: I80fdd7301d23243ac8e4b2e633cc1e16283227ea
Change-Id: I80fdd7301d23243ac8e4b2e633cc1e16283227ea
2022-01-31 21:17:31 +00:00
Wei Wang
3c5725a6d8 Remove cpu controller usage in P21
To avoid lock contention, removing cpu controller usage completely for
p21.

Bug: 208895940
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I80fdd7301d23243ac8e4b2e633cc1e16283227ea
2022-01-31 11:40:53 -08:00
Wei Wang
4a00d52966 Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-01-28 22:00:07 -08:00
Yohei Yukawa
d866475c34 Migrate "rounded_corner_content_padding" for gs101
This CL updates resource overlay of

  rounded_corner_content_padding

for gs101 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: Ia7a3da402d86679def535f0e40638164d31c0dba
2022-01-28 12:11:07 -08:00
Bob Badour
fbe49ab851 [automerger skipped] [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 443ba63fd2 -s ours
am skip reason: Merged-In I28953341fc1fdb81a1a8898543fde5477dba0f0f with SHA-1 6d6da10554 is already in history

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

Change-Id: I4f67f7ed9a6ea2cf28cc66fe39ea09b3ac4ec9fc
2022-01-28 02:41:35 +00:00
Bob Badour
443ba63fd2 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101
Added SPDX-license-identifier-Apache-2.0 to:
  fingerprint/extension/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Ic6bbfc7ce50145b8d50dea38369cb4524fc3cc19
Merged-in: I28953341fc1fdb81a1a8898543fde5477dba0f0f
2022-01-28 02:12:14 +00:00
Pat Tjin
a63220bcd1 Add tangor% to the pattern match
Some targets are using tangor_xxx and some use xxx_tangor,
cover both to avoid duplicate zygote props.

Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I43b18f6b5296f7b1575a8d5e817b3f2281dc1e1c
2022-01-28 00:48:26 +00:00
Kai Shi
b0599c3b02 Merge "Increase TCP wmem max size" am: 98ee53e52a am: e9e29ca22e am: dd409ec914 am: bd80f61fec
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960054

Change-Id: I860326b1e8a5a41bc57115a218d5f10b5e109b76
2022-01-27 22:13:41 +00:00
Bob Badour
6d6da10554 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101
Added SPDX-license-identifier-Apache-2.0 to:
  fingerprint/extension/Android.bp
  usb/usb/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I28953341fc1fdb81a1a8898543fde5477dba0f0f
2022-01-27 22:06:54 +00:00
Kai Shi
bd80f61fec Merge "Increase TCP wmem max size" am: 98ee53e52a am: e9e29ca22e am: dd409ec914
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960054

Change-Id: Ifdb9837d63d8c384f8675c452b4bbbb04b290b13
2022-01-27 21:10:32 +00:00
Kai Shi
dd409ec914 Merge "Increase TCP wmem max size" am: 98ee53e52a am: e9e29ca22e
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960054

Change-Id: Iac6032830054a99c5cb52c80332769b824b29f4a
2022-01-27 20:53:45 +00:00
Kai Shi
e9e29ca22e Merge "Increase TCP wmem max size" am: 98ee53e52a
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960054

Change-Id: I3f012cfcd94e7e2ad2b301f9b87a391934e97b19
2022-01-27 20:35:27 +00:00
Yifan Hong
5869192f8c vendor.charger-gs101 -> vendor.charger
The name of the service is changed during
HIDL to AIDL migration. Since there are
triggers depending on init.svc.vendor.charger,
the name needs to be reverted.

Test: none
Bug: 215152892
Change-Id: I57d32e77bddfed94a0a6458e9bce7ff15a128163
2022-01-27 20:16:45 +00:00
Kai Shi
98ee53e52a Merge "Increase TCP wmem max size" 2022-01-27 20:08:59 +00:00
Yifan Hong
8e741879c4 Delete extra health HIDL entry.
The AIDL health entry is already in fragments.

Bug: 216416660
Test: vts_treble_vintf_vendor_test
Change-Id: I646a5bdb99254331156e5140f510ab4a8ef1388a
2022-01-27 18:58:14 +00:00
Jimmy Shiu
aa7f75a6c6 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-01-27 14:18:43 +00:00
eddielan
1e44045371 [automerge] extension: Correct assgine owner 2p: 4ebea23fc5 am: 5592717bd3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16730630

Change-Id: I503240bded748766ea016417b0b95479edfea43d
2022-01-27 12:51:15 +00:00
eddielan
5592717bd3 [automerge] extension: Correct assgine owner 2p: 4ebea23fc5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16730630

Bug: 216573769
Change-Id: I5e16e9bf08984d6c61772c777e74170c31a642ce
2022-01-27 07:10:31 +00:00
eddielan
4ebea23fc5 extension: Correct assgine owner
Bug: 216573769
Test: Build Pass
Change-Id: Ic91bb085ec64db1f2772a4027c3eec635cf94024
2022-01-27 15:07:27 +08:00
Craig Dooley
a387c0f5c0 Export TARGET_BOARD_PLATFORM for AoC
Bug: 215535889
Change-Id: I03a3cfeaadb0fe60b7a56f99fa02334167b80e35
2022-01-26 19:13:00 +00:00
Santiago Seifert
b02da04789 Unpin updatable-media from memory on gs101 am: 1b83520026 am: e1f7eee2a8 am: 60434d9aa6 am: 283f1faa7a
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960760

Change-Id: I54a0a2f99f0b4df06f125d781061ad9e6a20717e
2022-01-26 12:05:39 +00:00
Santiago Seifert
283f1faa7a Unpin updatable-media from memory on gs101 am: 1b83520026 am: e1f7eee2a8 am: 60434d9aa6
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960760

Change-Id: I6744bda15d50fb5a7e3ab3471484b11cfc01751c
2022-01-26 11:40:58 +00:00
Santiago Seifert
60434d9aa6 Unpin updatable-media from memory on gs101 am: 1b83520026 am: e1f7eee2a8
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960760

Change-Id: I112506aec55205dfba84005720dbc6561465b8fb
2022-01-26 11:04:39 +00:00
Santiago Seifert
e1f7eee2a8 Unpin updatable-media from memory on gs101 am: 1b83520026
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960760

Change-Id: Ie3cb4c1ee976628a89b10b8a5101498c9c792215
2022-01-26 10:41:52 +00:00
Ricky Niu
df693e00a8 Implement resetUsbPort in USB HAL
Bug: 197300598
Test: Check it works

Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: Ibd6fd14faf47e1ad5d7817b006f9ba64e2ab5fb9
2022-01-26 08:13:06 +00:00
Stephane Lee
6d45ee7df3 Add device-specific support for GoogleBattery HAL 1.2.
Bug: 205021987
Test: Ensure Adaptive Charging/Battery health flags works as expected.
Change-Id: Ie50a70d06ad6b8d81f71860d75472ed65d5e1843
2022-01-25 22:47:11 +00:00
Santiago Seifert
1b83520026 Unpin updatable-media from memory on gs101
Bug: 214499288
Change-Id: Icb0ebe5a36e01941cc1318c95a7534c0f20ffa93
Test: Presubmit
2022-01-25 21:28:31 +00:00
Kai Shi
b877da7c69 Increase TCP wmem max size
Increase TCP wmem max size to allow high Tx throughput over wifi.

Bug: 213596972
Test: manual test to confirm TCP memory size is increased and wifi TCP throughput with default TCP window size can reach 700Mbps in HE80 mode.
Change-Id: I6058af03da756aaa63e89eddb674f5b054cecf33
2022-01-25 11:58:30 -08:00
Etienne Ruffieux
9acb8c9976 Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f am: 0ba1150d9c
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: I7b19e99088243a48b1cd48472c78f4ee5fd8ce1d
2022-01-25 15:21:01 +00:00
Etienne Ruffieux
0ba1150d9c Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Ia9b527630b51453b176ac01dd1bf867ceac9e77b
2022-01-25 15:02:13 +00:00
Etienne Ruffieux
0f06739b7f Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Icd747ae44f7be923cef419a9d992212c3b5f3067
2022-01-25 14:44:55 +00:00
Etienne Ruffieux
3059d2c5c5 Added new vendors for Bluetooth config migration am: 1307232779
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: I599c36db804cd7bf5607a752804f9b0c8fa57303
2022-01-25 14:22:27 +00:00
Etienne Ruffieux
1307232779 Added new vendors for Bluetooth config migration
Tag: #feature
Test: manual
Bug: 211570675
Change-Id: I4e0c211b4a176fc9161b079d2799bfefbaf4651f
2022-01-25 09:47:04 +00:00
eddielan
8af4d5d5b4 fingerprint: Add fingerprint_product config hint
Bug: 188690214
Test: Build Pass
Change-Id: Ia2e171968043575bad5947284068eb4803cce0f6
2022-01-25 09:24:40 +00:00
Wei Wang
de45b3721f [automerge] Boost DISPLAY_UPDATE_IMMINENT higher for 60HZ 2p: 8b3ba7e3bc am: a6c8328f9d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16684375

Change-Id: If4fa6475b9bb4c231e3b60c19d19a4396a24f9c6
2022-01-25 06:42:40 +00:00
Wei Wang
a6c8328f9d [automerge] Boost DISPLAY_UPDATE_IMMINENT higher for 60HZ 2p: 8b3ba7e3bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16684375

Bug: 196192814
Change-Id: I4c432a55752051a449b3c5ba26171161bfd07f5e
2022-01-24 08:07:02 +00:00
Wei Wang
8b3ba7e3bc Boost DISPLAY_UPDATE_IMMINENT higher for 60HZ
To improve the beginning of UI operations, boost higher for
DISPLAY_UPDATE_IMMINENT when in 60HZ.

Bug: 196192814
Test: Build and trace
Change-Id: I1c45ba66164ca4109289aaabacedaf3888e235b9
Signed-off-by: Wei Wang <wvw@google.com>
2022-01-24 08:06:52 +00:00
Badhri Jagan Sridharan
4db6811934 Implement interfaces for enabling usb data while being docked
Monitor google,pogo device attributes to report usb data status.
enableUsbDataWhileDocked now writes to enable_usb to enable USB-C
data while being docked.

Bug: 211677613
Bug: 213312081
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: Ie5c5d50c966ad9261cbf980c10909f04c4a757a0
2022-01-23 00:46:25 -08:00
Ocean Chen
ac46356abc [automerger skipped] Pixelstats: add more UFS error count paths am: 71543928ef am: 0f8abfe264 -s ours am: 27f9f853fc -s ours am: 1657a73eca -s ours
am skip reason: skipped by user oceanchen

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1948976

Change-Id: Iadb770d63d62c5abac5b70c3757f9812adf5c2b6
2022-01-22 03:15:41 +00:00
Ocean Chen
1657a73eca [automerger skipped] Pixelstats: add more UFS error count paths am: 71543928ef am: 0f8abfe264 -s ours am: 27f9f853fc -s ours
am skip reason: skipped by user oceanchen

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1948976

Change-Id: I4fcaed6e27bbb966b147d2e494b4c0831ed778fb
2022-01-22 02:57:12 +00:00
Ocean Chen
27f9f853fc [automerger skipped] Pixelstats: add more UFS error count paths am: 71543928ef am: 0f8abfe264 -s ours
am skip reason: skipped by user oceanchen

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1948976

Change-Id: Ic1981152f08ccf4dd8ce1ff5c05280317e2f2b7c
2022-01-22 02:39:56 +00:00
Badhri Jagan Sridharan
9a5124a117 Implement callbacks for limitPowerTransfer
Implements limiting the sink current current when limitPowerTransfer
is invoked.

Bug: 199357330
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I751a3912ebd159a536808897f878502418c6efdb
2022-01-22 01:20:15 +00:00