Commit graph

2755 commits

Author SHA1 Message Date
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
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
Badhri Jagan Sridharan
3c97a6bb68 Migrate IUsb implementation to AIDL
This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Bug: 200993386
Bug: 199357330
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
2022-01-22 01:20:15 +00:00
Sasha Smundak
db9e401c24 [automerger skipped] Use soong_config_ macros to set Soong config variables. am: 454cb66a74 am: db090bdc82 am: 968f0e8f10 -s ours am: 61de6e0910 -s ours
am skip reason: Merged-In Ifd1aed04267d952a13cfd9b93933e500ba07dbad with SHA-1 05823dde05 is already in history

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

Change-Id: I60e59a5345545d3d7f36195c71f348724621f0a5
2022-01-21 23:16:42 +00:00
Sasha Smundak
53da1afaad Simplify the check am: aab103264d am: d61bf9cd2b am: e0fae2107b am: f6667c75fb
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1907731

Change-Id: Iece12621ad012118afbef7ec796a6bdfba981167
2022-01-21 23:16:24 +00:00
Will McVicker
c621f0a254 gs101: recovery: add wait for dwc3 device to probe am: 04c94df116 am: b62568becb am: bbc4e64596 am: 1932c7ea55
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1881538

Change-Id: I6156813d5729847720a3f8adb5edbe3a51fa5c34
2022-01-21 23:16:11 +00:00
Bowgo Tsai
fbb632dee6 Removing 'verity_update_state' am: e77021b4c4 am: be59761ace am: 6b7e6787e1 am: b276a09717
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1878153

Change-Id: Id613a79cb586c1e79aac7875f3d6f5f5c9910fc2
2022-01-21 23:12:58 +00:00
Sasha Smundak
61de6e0910 [automerger skipped] Use soong_config_ macros to set Soong config variables. am: 454cb66a74 am: db090bdc82 am: 968f0e8f10 -s ours
am skip reason: Merged-In Ifd1aed04267d952a13cfd9b93933e500ba07dbad with SHA-1 05823dde05 is already in history

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

Change-Id: Ic8665e62a1a8a288faf0ea334f0aea6ad93f31d9
2022-01-21 22:47:09 +00:00
Sasha Smundak
f6667c75fb Simplify the check am: aab103264d am: d61bf9cd2b am: e0fae2107b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1907731

Change-Id: I28827d7f2062bfcea4916adb5c709ebcb5c9f707
2022-01-21 22:46:40 +00:00
Will McVicker
1932c7ea55 gs101: recovery: add wait for dwc3 device to probe am: 04c94df116 am: b62568becb am: bbc4e64596
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1881538

Change-Id: I537168692d44e3b3ec8d988fd6a69bfc0d1edc03
2022-01-21 22:46:01 +00:00
Bowgo Tsai
b276a09717 Removing 'verity_update_state' am: e77021b4c4 am: be59761ace am: 6b7e6787e1
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1878153

Change-Id: I7a2f4f36b1831a4f4a7c11fac6fffd9ff6468e90
2022-01-21 22:43:14 +00:00
Sasha Smundak
968f0e8f10 Use soong_config_ macros to set Soong config variables. am: 454cb66a74 am: db090bdc82
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1932105

Change-Id: I3d06f2ab16c451cfff5dbbc14283e9da7cdbce7f
2022-01-21 22:29:51 +00:00
Sasha Smundak
e0fae2107b Simplify the check am: aab103264d am: d61bf9cd2b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1907731

Change-Id: I65c3de97c9922b8f7e167ae0f9a567e787902fd7
2022-01-21 22:29:21 +00:00
Will McVicker
bbc4e64596 gs101: recovery: add wait for dwc3 device to probe am: 04c94df116 am: b62568becb
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1881538

Change-Id: I2754aedadff2ba7d024e46a01ea86a86e9ad7830
2022-01-21 22:28:46 +00:00
Bowgo Tsai
6b7e6787e1 Removing 'verity_update_state' am: e77021b4c4 am: be59761ace
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1878153

Change-Id: I32016a579f9ee62257c0676f0aba5c300f2a6924
2022-01-21 22:27:29 +00:00
Ocean Chen
0f8abfe264 Pixelstats: add more UFS error count paths am: 71543928ef
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1948976

Change-Id: Ie1704ed6969a2d093d141cf05da91919bf63d070
2022-01-21 22:11:31 +00:00
Sasha Smundak
db090bdc82 Use soong_config_ macros to set Soong config variables. am: 454cb66a74
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1932105

Change-Id: Ie9f1878088786ac649d39a327062be470bd2a609
2022-01-21 22:11:16 +00:00
Sasha Smundak
d61bf9cd2b Simplify the check am: aab103264d
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1907731

Change-Id: I345f2d840499e6048b472cacaa666b7b7bbbacf1
2022-01-21 22:10:19 +00:00
Will McVicker
b62568becb gs101: recovery: add wait for dwc3 device to probe am: 04c94df116
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1881538

Change-Id: I9d2abf092a4a891857a12fae7c78b588f0d8c067
2022-01-21 22:09:59 +00:00
Bowgo Tsai
be59761ace Removing 'verity_update_state' am: e77021b4c4
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1878153

Change-Id: I4b7c7518e5ea0755ebb9593566302b622785dcc5
2022-01-21 22:08:26 +00:00
Robin Peng
85e14851ed Migrate vendor_dlkm modules.blocklist from android side to kernel side
Moving vendor_dlkm.modules.blocklist to the source repo and picking to
/<DEVICE>-kernel, the development experience can be aligned between
Kernel and Android codebase.

Bug: 214017561
Change-Id: I9f556178f882dc15cc7066df16dd59e1da86091b
2022-01-21 11:56:15 +00:00
Nicole Lee
920e1edc35 Separate modem logging configs for each project
As the modem logging configs have different group ID from
s5123 and s5300 platform, we need to use different config files
for each projects, move them from Pixel Logger to device
specific folders

Bug: 210784859
Change-Id: I1ec4386a31e175f8dfe8404cbfc70c221e51d71c
2022-01-21 10:56:51 +00:00
eddielan
a6559349d5 fingerprint: Add fps extension script am: 6dbcdf4f3b am: 26e02a22de
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16659247

Change-Id: I77d29acbc846c55b565cc06dcba468af88765ca2
2022-01-21 06:29:55 +00:00
eddielan
26e02a22de fingerprint: Add fps extension script am: 6dbcdf4f3b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16659247

Change-Id: I7eb5515f29ece3aca9b0d5333e363c3a324492d1
2022-01-21 06:24:17 +00:00
eddielan
2cfac7d333 [automerge] fingerprint: Add fps extension script 2p: f424463311 am: 5a0a090cb3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16659247

Change-Id: I0a549daf0eb0d00a472bb3b65dfba80ac81d2661
2022-01-21 06:24:13 +00:00
eddielan
6dbcdf4f3b fingerprint: Add fps extension script
Bug: 208400345
Test: build Pass
Change-Id: If9334ac3a837c9bf85709335075f3a666eeef06d
2022-01-21 06:06:24 +00:00