Commit graph

2755 commits

Author SHA1 Message Date
Edwin Tung
a1e42be0e6 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.523968 am: 954576cc19 -s ours am: ef2d5b388b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idfbce87f5e5cb2bc7c0b8f2592a909418c5d582f
2021-12-29 14:33:55 +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
b9bfd74380 gps: update gps driver 129.20.23.523968 am: e7c3814380
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16549413

Change-Id: Ib13e79208c0659aaee1fc0c74e424a5627e3ae0d
2021-12-29 11:22:39 +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
Ocean Chen
c90627420b gs101: new Android.bp for non-modem projects
Separating fstab to avoid boottime regression

Bug: 210551190
Test: reboot and compare TotalBootTime

Change-Id: I2ad92d8640b2cc25383c5cf5755001f73a5f8861
2021-12-28 10:12:44 +00:00
Albert Wang
98b1199f80 device.mk: usb: remove redundant property
This property is found no used and causes a SELinux avc denial error,
so remove it accordingly.

auditd  : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=dev.usbsetting.embedded pid=1 uid=0 gid=0

Bug: 184103246
Test: forrest test build
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I746fc21d8520b69312d90b9ae0ee447d297b4b35
2021-12-23 06:12:24 +00:00
Sasha Smundak
6c7267518e Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: If913e8165d8e1a51386c82cc57190890093ab3f2
2021-12-22 16:50:04 -08:00
Sasha Smundak
454cb66a74 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
Merged-In: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
2021-12-22 14:33:16 -08:00
Cyan_Hsieh
c1227aa062 Include gs common in makefile build flow
Bug: 211723080
Change-Id: I8e1cefa396d494e73634da8620153c7a9a5693ee
2021-12-22 11:30:36 +00:00
Chris Fries
efd5649bb8 Revert "gs101: Add pvmfw to AB_OTA_PARTITIONS"
This reverts commit 871071afbc.

Reason for revert: Can't OTA forward from 16.002

Change-Id: I25091c3caacd0109def6d5fc10ec7ae273b6ea20
Bug: 211070100
2021-12-20 20:45:16 +00:00
Sasha Smundak
dd754e02ba [automerger skipped] Use soong_config_ macros to set Soong config variables. am: 05823dde05 -s ours
am skip reason: Merged-In Ifd1aed04267d952a13cfd9b93933e500ba07dbad with SHA-1 b44a662861 is already in history

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

Change-Id: I5cadd6836696b88f44d8b6bdae241917610df49b
2021-12-20 20:30:55 +00: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
9679838905 Revert "gps: enable GNSS PPS feature" am: 5759adffeb am: 2a710d42e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16492256

Change-Id: I08ce4dbe56e3b8c46151a303850634f7e2199f7e
2021-12-18 08:23:55 +00: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
4064e38ac3 [automerger skipped] DO NOT MERGE Remove unintended face config am: 600f2b5c5c am: 952d0e02fc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I974a41885455542fc666ff905d3eff0404ac9c23
2021-12-16 21:08:43 +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
Sasha Smundak
b44a662861 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
2021-12-16 18:03:47 +00:00
Pierre-Clément Tosi
871071afbc gs101: Add pvmfw to AB_OTA_PARTITIONS
Suggested-by: Cyan_Hsieh <cyanhsieh@google.com>
Bug: 210833963
Test: OTA update
Change-Id: Ib0f0ce2a2733f878bb680d16fea15cfa794b7c1d
2021-12-16 08:15:20 +00:00
Stephane Lee
d2102c6a8c Add the rest of the AACR fields am: 57dd93fb86 am: 04687ef556
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16482304

Change-Id: I8f288e2704e8109f8f9d1bdeedd4cc684f70d1fe
2021-12-16 00:51:24 +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
Ankit Goyal
73dde0e290 Remove gralloc3 manifests
Bug: 207455562
Test: Smoke test
Change-Id: I9cdb5e7873c99dbfb467e4eaf040761092a1f370
2021-12-15 22:23:49 +00:00
Rick Yiu
461433004f gs101: Re-enable bg groups
Bg groups are disabled on sc-v2 first, re-enable them on master for
more evaluation.

Bug: 171740453
Test: check bg groups are active
Change-Id: I6bfbbd79fa898cde99d3ba31ff5766de0e4b4c7a
2021-12-15 09:05:41 +00:00
Adlai Holler
a88510b103 Remove redundant build property for reduceOpsTaskSplitting am: 35230cc1af am: 98f4dad9ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16465240

Change-Id: I3a9d8c7c9210c45164a0944c2c42ffb4f064ea9b
2021-12-15 08:52:13 +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
Adam Shih
4397cd1ea0 avoid SELinux compile error and keep radio flag effective
Bug: 209886647
Test: build pass with dmd and vcd not in the ROM
Change-Id: I5a52e74a2c7ef600e8314844c261b3a25ad4a737
2021-12-15 10:52:21 +08:00
chungkai
1252f9c851 init: adjust boost value am: f8454ce693 am: 669b065cb2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16389049

Change-Id: I56741fd60430d05521c3353914a27a23c7a89aa9
2021-12-14 18:48:07 +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
6fe1611a89 Remove bg group usage am: 2cf22ea5b3 am: 8e2630f804
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16458558

Change-Id: I5b46b1151cf071dc458f1db2094df8575fafb665
2021-12-14 18:05:13 +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
matthuang
db2723b1b5 Don't copy unsupported sensor xml.
Use findstring to filter the factory target.

Bug: 209918222
Test: Verify the unsupported  xml files are not in the device.
Change-Id: I1383b18825ad06e88dedc9b4950bc5e5f676ecb8
2021-12-14 17:20:08 +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
Ocean Chen
c9cde396de gs101: create fstab.modem for project with modem
Non-modem project does't inlucde the fstab.modem
It can avoid long boot time from fs_mgr mount fail

Bug: 209694809
Test: reboot test

Change-Id: I3f1499f0c3767ba61895699e618856e41844b4bf
Signed-off-by: Ocean Chen <oceanchen@google.com>
2021-12-13 22:24:16 +00:00
kensun
c6aa4c2c31 wifi: Isolate wifi configurations for customization.
move wifi configurations from BoardConfig-common.mk to wifi/BoardConfig-wifi.mk.
So, each project can decide whether it should share the same configurations or create a new one on their own.

Bug: 208159314
Test: ifconfig after attempting STA+SAP concurrency.
Change-Id: Id2474df377f242528be661fefe712d7203cdddf8
2021-12-13 02:29:15 +00:00
Stephane Lee
4edaac6163 Ensure aacr_state is writable for google battery am: fb6a6e6cbe am: ee79d7a1ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16441865

Change-Id: Ic0cc94cb2ed01f4aadd7db35f0400bf401a142f6
2021-12-11 02:16:27 +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
c998101d79 Revert "pregrant coarse and background location permission to scone" am: ab270a8cdc am: 23f69bea5c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16441884

Change-Id: I355f9248f059933d0535bf8131af390bd60001a8
2021-12-10 23:38:24 +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
21befc5f2f gps: update gps driver 129.20.23.522768 am: 41710c8070
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16432821

Change-Id: I11261330d894704dba41c0e4dc67eef63f2de95a
2021-12-10 08:52:34 +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
049fd6abeb gps: enable GNSS PPS feature am: 09409af2d8 am: 5825db434b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16421979

Change-Id: I254fd5678565c3094d2d8bbb8a14bb66495085ca
2021-12-10 06:49:30 +00:00
Edwin Tung
f25fc37f93 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.522768 am: 187392eab8 -s ours am: 8255b93cf3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0894e4be54ad60cb4aa9e86e84b0c51a11dfc22b
2021-12-10 06:48:57 +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