Commit graph

2685 commits

Author SHA1 Message Date
Edwin Tung
d536d3970e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours am: 7f6deea673 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I212159980edda69a829e3de613a7ebd9edb55064
2021-10-08 15:46:17 +00:00
Edwin Tung
c3dab3018b [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours am: 024ee79b4b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4d2eedb83552b87cf7153ea6f4de325d44d023e9
2021-10-08 15:46:04 +00:00
Edwin Tung
bd81fb0ac2 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib701c70fdaf88c9bf6a8584c55e780964f6751cf
2021-10-08 15:29:39 +00:00
Edwin Tung
4caafe9a69 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I671f059b70d2f17a8c545375d70f48271cc90be5
2021-10-08 15:28:51 +00:00
Edwin Tung
7e1adeaf82 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib247d37517279c4acae596483ece50383299da58
2021-10-08 15:14:29 +00:00
Edwin Tung
3f7cc79132 [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111

Change-Id: I16e4d4b540c7751a0dacdd099a2e9059fe3383d3
2021-10-08 15:10:54 +00:00
Edwin Tung
7d0d2634ef [DO NOT MERGE] gps: update gps driver 129.20.23.516938
Rescale accuracy confident to 67% for AGPS NI request
Fix velocity URE in SatellitePvt
Fix scd crash
Enhance log mechanism
Fix avc denied
Force 1 sec interval in emergency mode

Bug: 199581865
Bug: 200654813
Bug: 201514516
Bug: 197196725
Bug: 201382800
Bug: 201729040

Sanity Test: 202280989
Test: build pass

Change-Id: I425e3f05e9ffc51ffeaa3f4d3d17a92592097a23
2021-10-08 14:55:53 +00:00
David Brazdil
c439f780ee Enable hypervisor on pKVM builds
gs101 builds are getting experimental support for pKVM which can be
enabled either using fastboot or with misc_writer. For _pkvm builds we
want the device to automatically enable pKVM for testing. This patch
adds a new early-init service which checks for the presence of /dev/kvm
and if not found, writes to /misc and forces a reboot.

Bug: 192819132
Bug: 202484976
Test: flash a _pkvm build, observe double-reboot, check /dev/kvm exists
Change-Id: I3834b3e4c6118b3f6e4093ce52d5b94117eca29c
2021-10-08 11:20:14 +00:00
Sayanna Chandula
d6bde6c1ce Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7 am: 5c78a030da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I36e081fa724d5f49bb3275ed774f882a73431302
2021-10-08 05:50:37 +00:00
Sayanna Chandula
3f87fa2005 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1 am: 4e8f38a0a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I1646e7f0f9747ba8913f0c6fc25cd5167fc64df4
2021-10-08 05:50:22 +00:00
Sayanna Chandula
476b9e44a5 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I12a8a2e85570a5f32bcef2c5333c816dab605ea4
2021-10-08 05:37:38 +00:00
Sayanna Chandula
57cc3f1086 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: Ibfd7e64cb57c5597556344143cd054d3dd87b925
2021-10-08 05:37:23 +00:00
Sayanna Chandula
611e6d7a25 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I31be22450d7f850a8f8ba274f6ba60c3a0a8a513
2021-10-08 05:27:29 +00:00
Sayanna Chandula
8ee1d91ea4 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: Ifc58cbba65ad635fa4c9dd33886d737d4c53d3b4
2021-10-08 05:25:01 +00:00
Sayanna Chandula
b4d3792d59 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I89c042150bc17229097cfae4a88b122f7f0b395d
2021-10-08 05:13:03 +00:00
Sayanna Chandula
e2da019e13 Revert "powerhint: thermal: Support powerhint to change tmu control-temp"
This reverts commit 7769380db2427d19bbcfad12af08818e75988068.
During debugging of b/192030129, it was observed that setting trip temp
followed by a suspend results in temperature getting struck at 10
degrees. Reverting powerhint change will disable dynamic setting of
trip temp and thus avoiding the 10 degree issue.

Bug: 192030129
Test: build and boot on device
Change-Id: I42ca12be23abf9c48fb2985f1506557d0fb93c1c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2021-10-07 21:58:17 +00:00
Wei Wang
b5d3027064 Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: c96054296b am: e2d1da80c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I4002c44067a3d698e997ac2778f0274412905e30
2021-10-07 20:04:12 +00:00
Wei Wang
50efa1eedd Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: 40e6432990 am: ad3ccecad6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I74d5b6438fa13d65ccb395d137eae5a508ce7b81
2021-10-07 20:04:04 +00:00
Wei Wang
6b85de869a Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: c96054296b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I208140c9affe1844b739667426345809dc0a303e
2021-10-07 19:43:59 +00:00
Wei Wang
31ccc310e2 Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: 40e6432990
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I4861ecc4b3df9e5df9abaab87fcee8d8cb4d5727
2021-10-07 19:43:51 +00:00
Wei Wang
ca8e0700fe Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I0165f047141bc44b419b7c30feebf4ef641d3862
2021-10-07 19:29:46 +00:00
Wei Wang
5a3e0e98e9 Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: If46b121ad07401849082b2db6557dbe490813b12
2021-10-07 19:29:45 +00:00
Wei Wang
a89970daa6 Remove DISABLE_TA_BOOST completely
Bug: 199292504
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ibcdb9b5968268be9765654c691910dfe7ba549ac
2021-10-07 10:30:20 -07:00
Pierre-Clément Tosi
b7662784fc gs101: Build pvmfw.img through the Android framework
Enable building pvmfw.img through PRODUCT_BUILD_PVMFW_IMAGE for products
that currently enable pKVM. Note that the board-provided
BOARD_PREBUILT_PVMFWIMAGE may still overshadow that flag.

Bug: 199831815
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: I47713648b795fd7e0f4c0d5a868a1abafea47588
2021-10-07 08:40:15 +00:00
eddielan
8f0a85d99e fingerprint: Add suez config am: 064b80a273 am: c54fb82302
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15774309

Change-Id: Idd6ca968223b5c350f3de4efe975fe28f2610723
2021-10-07 04:08:17 +00:00
eddielan
27e5207339 fingerprint: Add suez config am: 064b80a273
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15774309

Change-Id: Ibba4de5185d729ad982ae80c0c629e304fdb9daf
2021-10-07 03:59:03 +00:00
eddielan
8f4c51d3b3 fingerprint: Add suez config
Bug: 187663434
Test: Build pass
Test: Check log on logcat
Change-Id: I42026d13dafcfd7d32e37a1e5edb5e7f327d562d
2021-10-07 03:43:01 +00:00
Bill Lin
97f9208e1b Revert "Add support One-handed mode in B3" am: 61d08f043f am: 98a2ef085f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15987855

Change-Id: I753eeea4487a647f0aa15154f5ee74b01beecf7d
2021-10-06 06:49:00 +00:00
Bill Lin
83525e58f0 Revert "Add support One-handed mode in B3" am: 61d08f043f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15987855

Change-Id: I5418999dc09fee409ebcc0e2e95f614594af2968
2021-10-06 06:24:59 +00:00
Bill Lin
b5f66163aa Revert "Add support One-handed mode in B3"
Note : We should customize in specific device for B3, instead of
override gs101

This reverts commit d326059d567690c4b2ffbaaf3e5c3fd51e5a69aa.

Reason for revert: 201962520

Change-Id: I2be3f5bebf52ee4be4b7bf8c0ce50bb83380f8ee
2021-10-06 06:08:44 +00:00
Automerger Merge Worker
b10d74db52 [automerger skipped] Merge "Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: ba2e7c4bde" into sc-v2-dev-plus-aosp am: 81990b6fc7 -s ours
am skip reason: Merged-In I07fb6b586b89f66fd105673d47b2d2367c30e487 with SHA-1 166f4da68c is already in history

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

Change-Id: If94030479c4a89a597b7d36b45a92b3061dc7d96
2021-10-05 18:23:28 +00:00
Sunil Ravi
ae3ba84995 [automerger skipped] Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: b5bc254279 am: e71b47020d -s ours
am skip reason: Merged-In I07fb6b586b89f66fd105673d47b2d2367c30e487 with SHA-1 20c24cfd61 is already in history

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

Change-Id: Ibde6a184302076067a64620186356389dac29a1b
2021-10-05 18:23:21 +00:00
Automerger Merge Worker
106e1a0247 Merge "Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: ba2e7c4bde" into sc-v2-dev-plus-aosp 2021-10-05 18:08:59 +00:00
Sunil Ravi
b01a8685e3 Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: ba2e7c4bde
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153

Change-Id: Iab1f9eda87f959e36bb5edb90e37f8bb026b4bf8
2021-10-05 18:08:57 +00:00
Sunil Ravi
3b812de874 Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: b5bc254279
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153

Change-Id: I848d95284edc3fc0549728c744d7f821f22dcc85
2021-10-05 18:08:55 +00:00
Sunil Ravi
994197d0fb Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153

Change-Id: I34047578bcacfcba742242a664c94b60298616c6
2021-10-05 17:54:40 +00:00
Sunil Ravi
3807f28914 Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153

Change-Id: I1fc3c8dedeae33ca81a16621f587b2956d15b746
2021-10-05 17:54:14 +00:00
Sunil Ravi
f8a26c3286 Configure channel 149 & 36 as p2p preferred channels.
Bug: 194132777
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.

Change-Id: I07fb6b586b89f66fd105673d47b2d2367c30e487
Merged-In: I07fb6b586b89f66fd105673d47b2d2367c30e487
(cherry picked from commit 20c24cfd61926f128ca88f1ccf637663fa6575df)
2021-10-05 17:40:09 +00:00
Wei Wang
1be611b74b Relax background restriction to 16.67% am: fbb2777b1b am: e9c128f006 am: dadc9a1e4a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: Ifaa40ff3aebdc1c9e05baa227f0c61171c1d8a54
2021-10-05 17:36:15 +00:00
Wei Wang
39bf0611db Relax background restriction to 16.67% am: fbb2777b1b am: 95290287cd am: 568f5c27ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: I7a0a4dbde0fd7e641f27efb78d18604ce79e8a69
2021-10-05 17:36:00 +00:00
Wei Wang
3481d02ac0 Relax background restriction to 16.67% am: fbb2777b1b am: e9c128f006
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: Ie58d6251b91de966aed830114fafb87de6e6f03e
2021-10-05 17:22:38 +00:00
Wei Wang
501c8f6874 Relax background restriction to 16.67% am: fbb2777b1b am: 95290287cd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: I9d573d92ba261415d40cfc3dcd9c127f1309f7fc
2021-10-05 17:22:02 +00:00
Wei Wang
bddf380970 Relax background restriction to 16.67% am: fbb2777b1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: I48200e51790ce122d2a06c7c9dee3f894ad6325a
2021-10-05 17:08:33 +00:00
Wei Wang
ac81e67b89 Relax background restriction to 16.67% am: fbb2777b1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: Iba6960aea57dca062a4e77d3d1517292e634aba1
2021-10-05 17:08:33 +00:00
Wei Wang
ab3747f65e Relax background restriction to 16.67%
To avoid background starvation and PI, especially for those low prio 130
threads within system_server, allocate more cpu shares for background
sched group.

Test: boot and torture a loaded device.
Bug: 201428466
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ia85814294f9534fd83388a72c574c04f631a185f
2021-10-05 16:53:00 +00:00
Adam Shih
a588f06652 centralize wifi_ext config
Bug: 201599426
Test: boot with wifi_ext started
Change-Id: I5da62a4972dcabd66336ff3a6ca05c28c90ae8a0
2021-10-05 01:38:45 +00:00
Max Kogan
07bca12c6b dumpstate: dump AoC memory votes stats am: 03c1d9311b am: 7ded257eae am: c4bd0c80a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15901108

Change-Id: If9110937db16904aebc8bdd3d457e47110a285ea
2021-10-04 18:59:23 +00:00
Wei Wang
b9152fb851 Boost SF higher for app launch am: 143edae395 am: 0b14af2d5f am: a6e5dbe4d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15953897

Change-Id: I3b02d3f521adb028c3151981e8839ff7a142c9c7
2021-10-04 18:58:34 +00:00
Wei Wang
6081c8fc4c powerhint: use DISPLAY_IDLE signal to control TA boost am: b88f1debbd am: 5ef58aad70 am: 047cdf1647
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15933523

Change-Id: I494ff66951bf87df53e9b0e4b3b65808e3e379e2
2021-10-04 18:57:17 +00:00
Max Kogan
27387c062b dumpstate: dump AoC memory votes stats am: 03c1d9311b am: 3f76fa5e24 am: 8f0acb3d64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15901108

Change-Id: I3ed726451477c4b8ea1fe75c02ddfe4dc2e60c0a
2021-10-04 18:57:11 +00:00