Commit graph

1559 commits

Author SHA1 Message Date
Edwin Tung
9c6e5d97ed [DO NOT MERGE] gps: update gps driver 129.20.23.514871 am: 06041ffe05 am: 3455d7295b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15824553

Change-Id: I40f2926c2f04c81eb34000575d40ba6f56b40792
2021-09-17 03:33:00 +00:00
Edwin Tung
207478ee2b [DO NOT MERGE] gps: update gps driver 129.20.23.514871 am: 06041ffe05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15824553

Change-Id: I01e526453e584d992b9734a9f6c8da0486bdea52
2021-09-17 03:17:52 +00:00
Edwin Tung
fb0dd13ec3 [DO NOT MERGE] gps: update gps driver 129.20.23.514871
Restore carrier config after gps crashing
Fix incorrect altitude encoding of LPPe DBH

Bug: 198261454
Bug: 199677624

Sanity Test: 199977515
Test: build pass

Change-Id: I2b75b35a256cbbbd1c94ada0d46974d9c9838976
2021-09-16 09:34:38 +00:00
Edwin Tung
28961b5f95 gps: Enable power save mode am: 73fd0b54c2 am: d44f596b93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811307

Change-Id: Ib28a30c396b283cf36947711501b6db61af959c0
2021-09-15 15:16:29 +00:00
Edwin Tung
e68a4f4f32 gps: Enable power save mode am: 73fd0b54c2 am: 5f926c2808
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811307

Change-Id: I1693a48d89a5f9dd51c4ecb7e49cc900e433bec2
2021-09-15 15:15:56 +00:00
Edwin Tung
ec9cd4d883 gps: Enable power save mode am: 73fd0b54c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811307

Change-Id: I7a5fe4ca7502f7858b6c32262a2467de1a2b6969
2021-09-15 15:03:32 +00:00
Edwin Tung
8456495d6c gps: Enable power save mode am: 73fd0b54c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811307

Change-Id: I74d82e24c897b89d7b7b60dc2c21bdcf4e0547c1
2021-09-15 15:03:31 +00:00
Edwin Tung
96332941f9 gps: Enable power save mode
Bug: 192866284
Test: Enter power duty-cycle
Change-Id: I245e52023c5484e6d9fd4dcba75b5523600598b0
2021-09-15 14:51:02 +00:00
Shinru Han
a897058595 gps: Configuration split am: 358a032dcb am: 58dd870c23
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786019

Change-Id: Ibd718574acc34c16ac6cb6f52c12b543653724f8
2021-09-15 14:32:58 +00:00
Shinru Han
e80ff4b2f7 gps: Configuration split am: 358a032dcb am: 6623439d44
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786019

Change-Id: I8cb9bcf75db3678b97f9b77d4cade823e309d935
2021-09-15 13:51:46 +00:00
Shinru Han
b70aa1274d gps: Configuration split am: 358a032dcb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786019

Change-Id: I526eda2c56aeb0b96b9fe5b9653eab54b865d881
2021-09-15 13:38:26 +00:00
Shinru Han
5d0542613d gps: Configuration split am: 358a032dcb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786019

Change-Id: I9a2a152e3ffb5a3ea3944b6c0f2e86e5a83e74bd
2021-09-15 13:38:26 +00:00
Shinru Han
a575391d96 gps: Configuration split
Split configuration for different build variants.

  user:
  gps_user.xml*, lhd_user.conf, scd_user.conf

  userdebug & eng:
  gps.xml.*, lhd.conf, scd.conf

Bug: 197586294
Test: on devices
Change-Id: Icddd6be30dfe2c1eb2dca5f9a61c1b9f43867cc6
2021-09-15 13:20:14 +00:00
joeshih
ed4c7e2f74 [DO NOT MERGE][FactoryOta Unbundling]Specify the path to FactoryOtaPrebuilt
Bug: 197603311
Test: E2E with Forrest build pass
Change-Id: I8172f4f74e85f013b898e37fb19276411ab34ac3
(cherry picked from commit a7e5e291b5ed7a07f733cb82322d870e95bb830e)
2021-09-15 07:38:53 +00:00
Ocean Chen
f3c4e59101 [automerger skipped] Pixelstats: add more UFS error count paths am: 8d1e58c978 am: a8f36c474f -s ours
am skip reason: Merged-In I853bd5da410b78a0f9a76beee2e4745f68ddba59 with SHA-1 8d1e58c978 is already in history

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

Change-Id: I5dc25208106593d798f160826191e99321821862
2021-09-14 18:23:49 +00:00
Ocean Chen
611a55f4f8 Pixelstats: add more UFS error count paths am: 8d1e58c978 am: faaaafd73b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811325

Change-Id: I9ce1f04f87c4648d61a6b34c23416a90b2a4c297
2021-09-14 18:23:37 +00:00
Ocean Chen
8d40d3cf8b Pixelstats: add more UFS error count paths am: 8d1e58c978
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811325

Change-Id: Ie737983246c64668860ff049bc936c4f3396784f
2021-09-14 18:10:23 +00:00
Ocean Chen
92b7ddb5e1 Pixelstats: add more UFS error count paths am: 8d1e58c978
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811325

Change-Id: I4fa9971206818d92b21a03a7786e78991d07ee75
2021-09-14 18:10:18 +00:00
Ocean Chen
dd652a2ccd Pixelstats: add more UFS error count paths
The UFS resume flow also increase the reset count.
It makes the reset count cannot represent the real
error count. So we use other count instead of reset count

Bug: 199459367
Test: run storage-qa pixel/022
Change-Id: I853bd5da410b78a0f9a76beee2e4745f68ddba59
Merged-In: I853bd5da410b78a0f9a76beee2e4745f68ddba59
Signed-off-by: Ocean Chen <oceanchen@google.com>
2021-09-14 17:46:22 +00:00
Kholoud Mohamed
46ee259a57 Revert "[DO NOT MERGE][FactoryOta Unbundling]Specify the path to..."
Revert "[DO NOT MERGE]factoryota (1.0.395411713) am: c863f620c7"

Revert submission 15826950-am-1af52089183f43e2acb57b751bc2710d

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-v2-dev-plus-aosp&target=aosp_crosshatch-userdebug&lkgb=7730553&lkbb=7730932&fkbb=7730576 
bug b/199841851
Reverted Changes:
I90ac3bfb8:[DO NOT MERGE][FactoryOta Unbundling]Remove source...
I0e3d3ddbc:[DO NOT MERGE][FactoryOta Unbundling]Specify the p...
I6e12527ed:[DO NOT MERGE]factoryota (1.0.395411713) am: c863f...

Bug: 199841851
Change-Id: Iabf0226610d03a3c5a6f26bef648eaa81bc94046
2021-09-14 13:55:43 +00:00
joeshih
aa27cd5f39 [DO NOT MERGE][FactoryOta Unbundling]Specify the path to FactoryOtaPrebuilt am: 22eda73079
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15663986

Change-Id: I0e3d3ddbc388f31a0e8ce049317a3160eba7aaa2
2021-09-14 10:31:00 +00:00
joeshih
c7c9de6a21 [DO NOT MERGE][FactoryOta Unbundling]Specify the path to FactoryOtaPrebuilt
Bug: 197603311
Test: E2E with Forrest build pass
Change-Id: I8172f4f74e85f013b898e37fb19276411ab34ac3
2021-09-14 07:33:34 +00:00
Daeho Jeong
02449c0a90 init.rc: change the ownership of gc segment info sysfs nodes am: e6c2780ebe am: 7f292a5310
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15819243

Change-Id: I2211f89af7928bc84ff9b537dc31901092f4cb46
2021-09-14 04:38:27 +00:00
Daeho Jeong
8d0ee36d44 init.rc: change the ownership of gc segment info sysfs nodes am: e6c2780ebe am: 0f57cb8823
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15819243

Change-Id: I8945edd24caeca5198134bb6248b508a9a01d0b2
2021-09-14 04:37:13 +00:00
Daeho Jeong
f217f37507 init.rc: change the ownership of gc segment info sysfs nodes am: e6c2780ebe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15819243

Change-Id: Ia72079c2b97427097ee29c1ea0af8306085baba6
2021-09-14 04:20:40 +00:00
Daeho Jeong
a368fcc6d7 init.rc: change the ownership of gc segment info sysfs nodes am: e6c2780ebe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15819243

Change-Id: I7add7e01fb652b51793196ecda9cca89ca4efea0
2021-09-14 04:20:40 +00:00
Daeho Jeong
8fc873c415 init.rc: change the ownership of gc segment info sysfs nodes
Changed the ownership of gc segment info sysfs nodes for Pixelstats
to access these values.

Test: check the ownership of
/dev/sys/fs/by-name/userdata/<gc_segment_mode|gc_reclaimed_segments>
Bug: 182708936
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I444350d6f4898920b6036558eebdb11cf18ddee5
2021-09-13 22:08:12 +00:00
Quang Luong
12ba231854 [automerger skipped] WifiCoex: Add default channel 11 for band 40 am: f05dc37315 am: eff865b286 -s ours
am skip reason: Merged-In Ifd90ed1846bc9897a88244b5fdc964143c00d702 with SHA-1 f05dc37315 is already in history

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

Change-Id: Ibdea2524df2d043748a79225cba2f57d5f31db10
2021-09-08 18:32:55 +00:00
Quang Luong
b65f506a2c WifiCoex: Add default channel 11 for band 40 am: f05dc37315 am: 932deb006c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786766

Change-Id: I9cdd38ffa1e426943e9617d249448762f994b6bc
2021-09-08 18:32:47 +00:00
Quang Luong
bb001b7bd0 WifiCoex: Add default channel 11 for band 40 am: f05dc37315
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786766

Change-Id: I3a4a60a8f5203373ad02c2373aba02426cc62ea1
2021-09-08 18:02:49 +00:00
Quang Luong
144fdd0832 WifiCoex: Add default channel 11 for band 40 am: f05dc37315
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786766

Change-Id: Ie1cc742a972ceff8c1ffdac2a4b71d49afb7ea4c
2021-09-08 18:02:49 +00:00
Quang Luong
5d1433762e WifiCoex: Add default channel 11 for band 40
Use default wifi channel 11 if interference from band 40
renders all 2.4GHz wifi channels unsafe for coex.

Bug: 198345384
Test: adb shell cmd wifi set-coex-cell-channels lte 40 2400000 200000 -1
0, verify that coex log does not contain unsafe channel 11

Change-Id: Ifd90ed1846bc9897a88244b5fdc964143c00d702
(cherry picked from commit 9a0d4f1f94da0cf96aaefb59cf9fba7228268672)
Merged-In: Ifd90ed1846bc9897a88244b5fdc964143c00d702
2021-09-08 15:02:49 +00:00
leohsieh
da3fdcec0b Remove UDFPS HIDL from udfps_common.mk am: 6dcdd9d2c5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15771554

Change-Id: I06338202b484f175d19f36d579d6a77989f974e7
2021-09-08 13:13:29 +00:00
leohsieh
1b4f2c6d02 Enable both AIDL and HIDL UDFPS HALs am: d26e8103b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15771553

Change-Id: I9e07f5e2f2b55c2a919f5d28589b52b79ed3b527
2021-09-08 13:13:26 +00:00
leohsieh
eb221fd967 Remove UDFPS HIDL from udfps_common.mk
Bug: 199054557
Bug: 196017212
Change-Id: If7aea875c2a212d4245164debc07ea39db8c11bb
2021-09-08 20:51:08 +08:00
leohsieh
200ab12edf Enable both AIDL and HIDL UDFPS HALs
Bug: 199050181
Bug: 196017212
Test: Both binaries are installed on device
Change-Id: Ide7735eece4057fe3a28058c8c302763c5bf9a25
2021-09-08 20:50:32 +08:00
Jenny Ho
edfd2b42c7 dumpstate: dump battery maxfg monitor log am: c553a4484b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15732961

Change-Id: I7eb2cc624b1698e562d8c3530f8b9ec11af2f88f
2021-09-07 14:21:17 +00:00
Jenny Ho
1dfbc241a0 dumpstate: dump battery maxfg monitor log
Bug: 196755019
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I04e2be21680c2cc673af1205cdb772fa3b845bd4
2021-09-07 14:00:21 +00:00
leohsieh
4e53662114 Include the Soong namespace of the UDFPS HAL am: 696bf87db6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15623882

Change-Id: I7318080b02a851d6e02b800df6dda3e431d8e21f
2021-09-07 08:01:13 +00:00
leohsieh
bd92067116 Include the Soong namespace of the UDFPS HAL
Bug: 197219547
Test: build pass
Change-Id: Ia3a769a8db711794fc5867ab30f14d6b8219ca20
2021-09-07 07:36:55 +00:00
Roger Fang
cf15588ff8 device: gs101: add speaker health stats am: c6bf998960 am: 355127a21e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556

Change-Id: I104a75cf26306abbfdfeff214b0b77e8a23c50f1
2021-09-07 03:53:21 +00:00
Roger Fang
1c4a6f944f device: gs101: add speaker health stats am: c6bf998960 am: 44d6ea9d7d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556

Change-Id: I8aa8defbe8be047e76eb364cb1f8993cf4c3fd01
2021-09-07 03:52:46 +00:00
Roger Fang
d1cbbabceb device: gs101: add speaker health stats am: c6bf998960
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556

Change-Id: Ia4f462e628839ed8be62a29107e4dd5981c783af
2021-09-07 03:38:02 +00:00
Roger Fang
9ad5484339 device: gs101: add speaker health stats am: c6bf998960
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556

Change-Id: I03e60f6be6675fed45596bf346d4a55bc5664733
2021-09-07 03:38:02 +00:00
Roger Fang
a555dec81e device: gs101: add speaker health stats
Add the sysfs that required by the new ATOM of VendorSpeakerStatsReported.

Bug: 175736081
Test: Manually test with ATOM

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I61a47ff963d7c9ed75d9c636b171c791f7ae7c38
2021-09-07 03:19:32 +00:00
Vince Leung
763071adfb gs101: add haptics actuator model config am: ed5333f0cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15688905

Change-Id: I0673f34d79d2b2baf8b07773f4d97cdb170208dd
2021-09-04 00:03:11 +00:00
Vince Leung
58180f0c16 gs101: add haptics actuator model config
Actuator models can vary across devices. Actuator models can have
different characteristics that need to be handled appropriately. Add
support to define the actuator model used in Soong makefiles.

Bug: 195894512
Test: verified that different actuator model configs are used on
different targets

Change-Id: Ic7fd5f52c3bfed252fa3956f3e926c90c1632013
2021-09-03 23:44:04 +00:00
Bob Badour
a2b10a7323 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 4be6b74bd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15750083

Change-Id: I7e96bf07621ff588e87f5ff717a993620bb45cf2
2021-09-03 19:56:17 +00:00
Bob Badour
aac9a16253 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101
Added SPDX-license-identifier-Apache-2.0 to:
  conf/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ia8212a8ed3a205d74c7af8a29b89033a6ec9a023
2021-09-03 19:39:07 +00:00
Victor Liu
7e87a0631d uwb: enable low power am: 8b8316b47c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15753587

Change-Id: Ic5baff9c6743cf8d55f67f6010be97a7a8472366
2021-09-03 19:35:56 +00:00