Commit graph

1439 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Victor Liu
8792fe583d uwb: enable low power
Bug: 187840615
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ib790e9e129e2613362566b888569407e8a32a808
2021-09-03 19:13:27 +00:00
Petri Gynther
ac4bfb6f13 gs101: clean up kernel variables am: 17f6b03738 am: e2d75ff078
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361

Change-Id: I24929729f612646a159de6f4711348865f0fe251
2021-09-03 13:14:56 +00:00
Petri Gynther
24d9c3647b gs101: clean up kernel variables am: 17f6b03738 am: f276caad32
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361

Change-Id: I6f866d6a6cd5cf4b11a551a49fae601298ac5999
2021-09-03 13:13:54 +00:00
Petri Gynther
0b32c7a064 gs101: clean up kernel variables am: 17f6b03738
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361

Change-Id: If35675fa7de6b3029d211ca9d32b58d88eb80144
2021-09-03 12:58:43 +00:00
Petri Gynther
b5474eb289 gs101: clean up kernel variables am: 17f6b03738
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361

Change-Id: Ic6e3d962e0e54df7d0880bc412295432f54b9df2
2021-09-03 12:58:42 +00:00
Petri Gynther
299ca16835 gs101: clean up kernel variables
1) remove TARGET_BOARD_KERNEL_HEADERS
2) remove TARGET_PREBUILT_KERNEL

Bug: 198682676
Change-Id: I9ab161ee75dc33e135ad87e084b3373350ca0c93
2021-09-03 12:35:16 +00:00
Edwin Tung
ce0089eda3 gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29 am: 8e7f591666
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: I9dae5dcbf62c4c962095c88f939a43e3e1c74613
2021-09-03 08:54:03 +00:00
Edwin Tung
ae50483323 gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29 am: 7351c83a2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: I12b5188386f6c8b40ccdcaf5572d5150af81ca60
2021-09-03 08:52:59 +00:00
Edwin Tung
6765768898 gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: c8b0f33127 am: cb3231674f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: Ic22a9fda6965ae36bfe623b038008daf2f3d6e6f
2021-09-03 08:52:54 +00:00
Edwin Tung
347f033019 gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: I9c6020023d9ef1a9fb56d311a5b70328aae960be
2021-09-03 08:35:44 +00:00
Edwin Tung
d50292475a gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: I1356ace0fb22cd690f1e6e7ca65643659999eb9b
2021-09-03 08:35:43 +00:00
Edwin Tung
91022aaa1e gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: c8b0f33127
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: I2e86b294a3e31bb6ad12cbebfcf93ee743bd16fb
2021-09-03 08:35:25 +00:00
Edwin Tung
d80cf7415e gps: update gps driver 129.20.23.513912 am: 63d85c21e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: I3b068cf749a96b1b52287115d19e3638e07140f3
2021-09-03 08:18:41 +00:00
Ted Lin
44f220cc1b dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404 am: a8d924be8e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885

Change-Id: I24dee02b74ae5a820af188814af564147404d3d0
2021-09-03 06:14:18 +00:00
Ted Lin
a3345f8128 dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404 am: 61416bc885
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885

Change-Id: Ibb249b9aae81dd9fde30e52a461aedea32670f08
2021-09-03 06:13:19 +00:00
Ted Lin
ac572156d8 dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885

Change-Id: Iec8d71029d9843d7df79e1d43c44dfdce9e8466f
2021-09-03 06:01:09 +00:00
Ted Lin
89bde98bef dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885

Change-Id: I34fe2ec8a0319abea57966b7b6333f460764dada
2021-09-03 06:01:09 +00:00
Ted Lin
2b86da4352 dumpstate: move the dump registers from regmap to each driver
dumpstate availible to dump data with below 2 permission:
-r--r--r-- 1 root root
-r--r----- 1 system system
but /d/regmap permission is -r-------- 1 root root
1. we cannot change root to system with chown if the file node is root
2. we cannot change to read with chmod if the file node is root
3. try change permission in vendor_init causes sepolicy build fail with
   message rule neverallow

Base on above results, we added new file node in kernel with available
permission to dump needed data and dump it.

Bug: 194941806
Test: adb bugreport
Change-Id: Ieeb1adfb0351ceb33bf817cbef3663d41cdb8645
Signed-off-by: Ted Lin <tedlin@google.com>
2021-09-03 05:44:37 +00:00
Bob Badour
ec47ba52c5 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 9600d301b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15738724

Change-Id: I596bfd6009c5b80c22380259b1f8f9fcb546a4b8
2021-09-02 23:17:21 +00:00
Edwin Tung
16e8a27f52 gps: update gps driver 129.20.23.513912
Fixed a bug of missing ref location in ME switching
Fixed to report velocity type correctly
Increased PGLOR,6,PWR nmea sentence buffer and GLL will print the error log if the sentence is longer than expected
Added a ring buffer for malloc/free debugging with dump
Fixed ESW patch download issue

Bug: 197716902
Bug: 197711819
Bug: 197620911
Bug: 196499748
Bug: 197916943

Sanity Test: 198605012
Test: build pass

Change-Id: I06e25376c194058404e5d65e463086d3d1e2f1d9
2021-09-02 21:02:27 +08:00