Commit graph

2745 commits

Author SHA1 Message Date
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
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
Fangzhou Liu
2e38d1aa45 Add CPA latency files into bugreport
This is to support gs101 devices

Bug: b/215395069
Test: Verify bugreport
Change-Id: I8d3f045f63c65e9d75041c28d740dcbabffbc78a
2022-01-21 03:21:48 +00:00
eddielan
5a0a090cb3 [automerge] fingerprint: Add fps extension script 2p: f424463311
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16659247

Bug: 208400345
Change-Id: I614d2a5eeacf3101beafe096e3cc0805e16c6117
2022-01-21 01:39:20 +00:00
eddielan
f424463311 fingerprint: Add fps extension script
Bug: 208400345
Test: build Pass
Change-Id: If9334ac3a837c9bf85709335075f3a666eeef06d
2022-01-21 09:33:38 +08:00
SalmaxChang
d8657cb475 init: gs101: restorecon persist modem file am: 2dfaabef7a am: e4f0fe01b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16660077

Change-Id: Ia72dc277c41f000d8f04be2a1617faa2bdb86124
2022-01-20 06:14:50 +00:00
SalmaxChang
e4f0fe01b4 init: gs101: restorecon persist modem file am: 2dfaabef7a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16660077

Change-Id: I7e08f6906dfeb943ef1b82aeb35ef59a1f3e8866
2022-01-20 05:44:35 +00:00
SalmaxChang
2dfaabef7a init: gs101: restorecon persist modem file
Bug: 215311024
Change-Id: I8292a5066c3658a8acde622014881338ea24379a
2022-01-19 14:45:10 +00:00
Edwin Tung
0793c1b50b gps: Add potential fix for MCU crashing
Allocate the memory with aligned fragment by fixed multiple 512 bytes

Bug: 213009701
Test: atest PtsChreTestRunner
Change-Id: Ifb9849013702a1659862e21b074030137f125f28
2022-01-19 18:34:06 +08:00
Edwin Tung
7d692f69c6 gps: update gps driver 129.20.23.524633 am: 3d54c6f3a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16667510

Change-Id: I0e59c04cd53abbf290ca0d35462edaf178132c28
2022-01-19 06:16:56 +00:00
Edwin Tung
3d54c6f3a5 gps: update gps driver 129.20.23.524633
Fixed null pointer dereferencing while injectNLPError
Added SuplUseFwCellInfo (default:true) xml attribute
Fixed to block MDT location request when it is not granted by carrier location application

Bug: 210070896
Bug: 211381328
Bug: 210935899

Verify test: 214386315

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: If597efa6bfc9d0a606a12bf09babb32e1ee3d3b4
2022-01-19 06:02:07 +00:00
Edwin Tung
c0a8f8e06c [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.524633 am: 42d7768c12 -s ours am: 2c4950cd6e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic704ec6976cc3e33cb7ecb96d03fdd799102d692
2022-01-19 04:12:47 +00:00