Commit graph

1744 commits

Author SHA1 Message Date
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
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
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
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
6dbcdf4f3b fingerprint: Add fps extension script
Bug: 208400345
Test: build Pass
Change-Id: If9334ac3a837c9bf85709335075f3a666eeef06d
2022-01-21 06:06:24 +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
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
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
2c4950cd6e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.524633 am: 42d7768c12 -s ours
am skip reason: skipped by user edwintung

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

Change-Id: Ifc9122489952ecd756c6f44c4abde7cac739f4a4
2022-01-19 03:55:00 +00:00
Edwin Tung
42d7768c12 [DO NOT MERGE] 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-14 09:16:54 +00:00
YiHo Cheng
f71383eb96 dumpstate: Add tmu register dump am: 676247423b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16569086

Change-Id: Ic03dc2ba0df3f6b2bdde2b5eeb1c7d633ae8b95f
2022-01-12 23:14:55 +00:00
YiHo Cheng
676247423b dumpstate: Add tmu register dump
Add tmu register dump in thermal section to get tmu status

Bug: 202736838
Test: check tmu register dump info in thermal dumpstate
Change-Id: Ife2ff971eaeda2b132658ca2704bf1edde6fd80a
2022-01-12 23:03:41 +00:00
Wei Wang
a8ed349039 powerhint.json: move display wake node earlier am: 8fdd6e65eb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16622384

Change-Id: Ia0324458cd2f41ce6516dcfc7b0e4560fcb831a5
2022-01-12 22:15:06 +00:00
Wei Wang
8fdd6e65eb powerhint.json: move display wake node earlier
Currently it is a KI the vendor group takes time to update through sysfs
node. This CL moves display wake earlier than TA boost while waiting for
the long term improvement in b/190236772.

Bug: 205261899
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ieb1eb62442e67602605e380b987fe28d1ad2bbd8
2022-01-12 16:29:26 +00:00
Wei Wang
907319bca5 powerhint.json: move display wake hint earlier am: f357b89684
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16586291

Change-Id: I603f8ce7f375f1cce72bca33226da8acddf02ed5
2022-01-11 19:24:44 +00:00
Wei Wang
f357b89684 powerhint.json: move display wake hint earlier
Currently it is a KI the vendor group takes time to update through sysfs
node. This CL moves display wake earlier than TA boost while waiting for
the long term improvement in b/190236772.

Bug: 205261899
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I55bc3b8ee0f48874dbd731f5f3d648adaacf6798
2022-01-11 16:49:17 +00:00
Martin Liu
a880d188d2 gs101: set readahead_size_kb=128 to vendor, product and system_ext am: 2b741a51c5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16549415

Change-Id: I8ea2cd6b153087f3cadd8359ece97d3c8aa6975a
2021-12-30 02:19:37 +00:00
Martin Liu
2b741a51c5 gs101: set readahead_size_kb=128 to vendor, product and system_ext
To avoid memory pressure

Bug: 181567573
Test: check readahead size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I0ef6456a96ef923fe681112560d2f49c514ff529
2021-12-30 02:05:39 +00:00
Edwin Tung
ef2d5b388b [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.523968 am: 954576cc19 -s ours
am skip reason: Merged-In I235ea87c683051879ce160d0d41917328ca58e37 with SHA-1 e7c3814380 is already in history

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

Change-Id: Idcb4adcc9911e70404b1997d4db9d8eca5c06d83
2021-12-29 14:16:15 +00:00
Edwin Tung
954576cc19 [DO NOT MERGE] gps: update gps driver 129.20.23.523968
Request DBH while capability transaction.
Report location info without waiting for DBH.
Use gps location as DBH while timeout.
KDDI NI requires noPreference for suplPrefMethod.

Bug: 206754082
Bug: 207721798

Verify test: 212326933

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I235ea87c683051879ce160d0d41917328ca58e37
Merged-In: I235ea87c683051879ce160d0d41917328ca58e37
2021-12-29 07:44:49 +00:00
Edwin Tung
e7c3814380 gps: update gps driver 129.20.23.523968
Request DBH while capability transaction.
Report location info without waiting for DBH.
Use gps location as DBH while timeout.
KDDI NI requires noPreference for suplPrefMethod.

Bug: 206754082
Bug: 207721798

Verify test: 212326933

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I235ea87c683051879ce160d0d41917328ca58e37
2021-12-29 15:42:34 +08:00
Sasha Smundak
05823dde05 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
Merged-In: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
2021-12-20 10:52:28 -08:00
Edwin Tung
2a710d42e8 Revert "gps: enable GNSS PPS feature" am: 5759adffeb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16492256

Change-Id: Id90de3ed58654c3e67c5646388add485d08850c4
2021-12-18 08:01:33 +00:00
Edwin Tung
5759adffeb Revert "gps: enable GNSS PPS feature"
Bug: 211170885
This reverts commit 09409af2d8.

Reason for revert: The wrong elapsed realtime cause 1/2 Hz location update.

Change-Id: Ice1fe26627b6aed8d622d748a1f044b6acfe177f
2021-12-18 07:38:13 +00:00
Ilya Matyukhin
952d0e02fc DO NOT MERGE Remove unintended face config am: 600f2b5c5c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16484250

Change-Id: I37040ea67ada2c4caf190e8b6d43cda9f7f1c568
2021-12-16 20:45:02 +00:00
Ilya Matyukhin
600f2b5c5c DO NOT MERGE Remove unintended face config
Bug: 210921116
Test: N/A
Change-Id: Ie10aaca6892b1246b57941d00b283f202b08035d
2021-12-16 20:22:17 +00:00
Stephane Lee
04687ef556 Add the rest of the AACR fields am: 57dd93fb86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16482304

Change-Id: I7d6aa433bf706da2889d95afbec991095c29a31e
2021-12-16 00:33:01 +00:00
Stephane Lee
57dd93fb86 Add the rest of the AACR fields
Bug: 205900652
Test: Ensure that there are no permissions denied errors for
google_battery

Change-Id: I0860b84994c24930334407e909e14469f4b3cb94
2021-12-15 23:28:03 +00:00
Adlai Holler
98f4dad9ba Remove redundant build property for reduceOpsTaskSplitting am: 35230cc1af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16465240

Change-Id: I5fa18f0d2dd77fde1a9daf30acd2be0c6aa38a6d
2021-12-15 08:33:00 +00:00
Adlai Holler
35230cc1af Remove redundant build property for reduceOpsTaskSplitting
This flag is true for everyone now. No need for it here. Change has no effect.

Bug: 183612348
Bug: 185920634
Change-Id: Ia264cfceb5cea4230a1c459fbd3c3f8c99a35bdf
(cherry picked from commit 8661e6ae13af04eb4aa299327134d7185b563e24)
2021-12-15 08:16:49 +00:00
chungkai
669b065cb2 init: adjust boost value am: f8454ce693
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16389049

Change-Id: Ia5acad456eeeb638c72e8f93f4d2dab02fac8be8
2021-12-14 18:32:23 +00:00
chungkai
f8454ce693 init: adjust boost value
To reduce boot time, adjust util clamp to max.

reduce 200ms+ after cgroups created.

Test: pass
Bug: 204397422
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I92cd3ee3dcf8dfc9d677ca23492dda62711885af
2021-12-14 18:12:08 +00:00
Wei Wang
8e2630f804 Remove bg group usage am: 2cf22ea5b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16458558

Change-Id: Id9e26d771df0d5f0046f6ddc33a91dba772648c2
2021-12-14 17:50:02 +00:00
Wei Wang
2cf22ea5b3 Remove bg group usage
Given the current suspects that the bg throttling may cause extra longer
runnable in P21, remove its usage.

Bug: 208895940
Test: book and check cfs group
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: If7f20646e944eab8d42e6698e08069b608a0ea7a
2021-12-13 22:45:55 +00:00
Stephane Lee
ee79d7a1ef Ensure aacr_state is writable for google battery am: fb6a6e6cbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16441865

Change-Id: I8132b238af4002d9cf725c5e739dc31c8defcfb7
2021-12-11 01:58:35 +00:00
Stephane Lee
fb6a6e6cbe Ensure aacr_state is writable for google battery
Bug: 205900652
Test: Ensure that there are no permissions denied errors for
google_battery

Change-Id: Icec73159f3686d37fcf91971772ec85d102b92fe
2021-12-11 01:29:57 +00:00
Meng Wang
23f69bea5c Revert "pregrant coarse and background location permission to scone" am: ab270a8cdc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16441884

Change-Id: Id484250298a757fb46a8350de703c72bb728611d
2021-12-10 23:19:46 +00:00
Meng Wang
ab270a8cdc Revert "pregrant coarse and background location permission to scone"
Revert "pregrant coarse and background location permission to scone"

Revert "pregrant coarse and background location permission to scone"

Revert submission 15820535-cherrypick-repregrantLocationToScone-5hvcs25t6g

Reason for revert: Unintended location usage issue not fixed.
Reverted Changes:
I1c2209112:pregrant coarse and background location permission...
I1b9370bdc:pregrant coarse and background location permission...
I0fbb20b3e:pregrant coarse and background location permission...
I2d4681b9a:pregrant coarse and background location permission...

Bug: 210152490
Change-Id: I8f4efa77b20656497999c3afaf4cb7e09081ed8d
2021-12-10 21:30:01 +00:00
Edwin Tung
41710c8070 gps: update gps driver 129.20.23.522768
Fix power mode abnormally turned off by setPositionMode
Fix GPS crashing issue
Fix location lagging during driving
Auto switch constellation for on-chip mode

Bug: 207436894
Bug: 206074009
Bug: 204136420
Bug: 201591644
Verify test: 209775831

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: Ib13683ef768197a5b24ecea43c58a94cc42214a8
2021-12-10 08:36:08 +00:00
Edwin Tung
5825db434b gps: enable GNSS PPS feature am: 09409af2d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16421979

Change-Id: I803ded1ae3e6c7b1c346dfb16055ddcbe3711d30
2021-12-10 06:26:37 +00:00
Edwin Tung
8255b93cf3 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.522768 am: 187392eab8 -s ours
am skip reason: skipped by user edwintung

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

Change-Id: I51274ad95dfc337928c2e990a06a2b1b4c70ce7a
2021-12-10 06:26:29 +00:00
Edwin Tung
09409af2d8 gps: enable GNSS PPS feature
Bug: 175086879
Test: Gnss measurement elapsedrealtime work

Change-Id: I959587225dd86a3efa11ecfbdd2b57374f09eef8
2021-12-10 05:51:51 +00:00