Commit graph

2755 commits

Author SHA1 Message Date
joeshih
73a35faa11 [automerger skipped] [DO NOT MERGE][FactoryOta Unbundling]Specify the path to FactoryOtaPrebuilt am: 22eda73079 am: d44c69a404 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1fc4de5de082b888fd4bae17899fed1561eb4cc6
2021-09-14 10:50:11 +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
yawensu
5cdf77b850 gs101: Remove pktrouter from shared makefile.
Bug: 197503236
Test: Build.
Change-Id: I5af23f03a00384bb19393f50cc339b79ba8f5e98
2021-09-14 07:01:07 +00:00
Daeho Jeong
933952bc07 init.rc: change the ownership of gc segment info sysfs nodes am: e6c2780ebe am: 7f292a5310 am: de8a0a4c75
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15819243

Change-Id: I85e85ee59017bbca7e6cc84686e5f4e84d1a8922
2021-09-14 04:53:42 +00:00
Daeho Jeong
9bc8128f38 init.rc: change the ownership of gc segment info sysfs nodes am: e6c2780ebe am: 0f57cb8823 am: 421dba1039
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15819243

Change-Id: Ia29b842af31cbc2bd02e05654a24b9129f2bd2cf
2021-09-14 04:53:35 +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
matthuang
74cf6c19ce Tangotron: Don't copy baro, prox and hifi sensor xml files.
Bug: 192802921
Test: Verify these 3 xml files are not in the device.
Change-Id: I7f773eae4cdaaf66d76624ba2281ccc9d6173877
2021-09-13 16:26:36 +00:00
Quang Luong
ab52fa046e [automerger skipped] WifiCoex: Add default channel 11 for band 40 am: f05dc37315 am: eff865b286 -s ours am: ff3b11cc0a -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: I205635c9888eab610347900f8ac59fb3daed70d2
2021-09-08 19:03:13 +00:00
Quang Luong
2c2820cd08 [automerger skipped] WifiCoex: Add default channel 11 for band 40 am: f05dc37315 am: 932deb006c am: 79d4857591 -s ours
am skip reason: Merged-In Ifd90ed1846bc9897a88244b5fdc964143c00d702 with SHA-1 9a0d4f1f94 is already in history

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

Change-Id: Idf3e880d848ee9309c43f463efe50d8655fabe84
2021-09-08 19:03:05 +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
6d0dc9c417 Remove UDFPS HIDL from udfps_common.mk am: 6dcdd9d2c5 am: ab80fef4a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15771554

Change-Id: I8812424fe0fcb909cd46ad7a9656caca00fb42c1
2021-09-08 13:28:06 +00:00
leohsieh
65316e8952 Enable both AIDL and HIDL UDFPS HALs am: d26e8103b5 am: 1285182aec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15771553

Change-Id: Ia528339b2a1ed3d03b12525d8c33f7d3297a58cc
2021-09-08 13:28:04 +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
Quang Luong
d92fca454d 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
2021-09-07 21:04:54 +00:00
Jenny Ho
fa71329aeb dumpstate: dump battery maxfg monitor log am: c553a4484b am: 7fc5dc7c60
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15732961

Change-Id: I529984b86a7631b63aad9cfadae4f69454d76919
2021-09-07 14:33:01 +00: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
aa808d0d9b Include the Soong namespace of the UDFPS HAL am: 696bf87db6 am: 1994ff1baf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15623882

Change-Id: Ie219ad81f26f687fb4f53f91dbde9fe3b3cb49f0
2021-09-07 08:13:30 +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
c8ab9ef395 device: gs101: add speaker health stats am: c6bf998960 am: 355127a21e am: a27ae8ffc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556

Change-Id: I47c7b9797b24b959c3f9d80470d6ac5e288d398f
2021-09-07 04:07:47 +00:00
Roger Fang
53b66fddf0 device: gs101: add speaker health stats am: c6bf998960 am: 44d6ea9d7d am: 15ab37bb2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556

Change-Id: I667532637dcc0221f8c81f592f3490eeef3118d7
2021-09-07 04:07:16 +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
972bcdfe6e gs101: add haptics actuator model config am: ed5333f0cc am: 80be097132
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15688905

Change-Id: If0d29f9b887dd9c3cc125085af1d0130ed243a2c
2021-09-04 00:23:11 +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
5c30ca6077 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 4be6b74bd4 am: 6b5d9e3e0a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15750083

Change-Id: Id7625ebf2cc961e8921a5f8eb2634094878f4bf4
2021-09-03 20:14:31 +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
Victor Liu
2db042dd13 uwb: enable low power am: 8b8316b47c am: 5e1e27442b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15753587

Change-Id: I7f88e423094c6bd80ce697ca8226d947abeae20e
2021-09-03 19:53:03 +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
Sasha Smundak
70f028eb27 Simplify the check
Fixes: 198503238
Test: treehugger
Change-Id: Ia27a4413e42821310d1fe0bcad4cfc78595c6841
2021-09-03 18:58:30 +00:00
Petri Gynther
aeaa1cf047 gs101: clean up kernel variables am: 17f6b03738 am: e2d75ff078 am: f190e9698d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361

Change-Id: I95fb261d25828e66e87bc97e9ae33a0702d27d38
2021-09-03 13:34:28 +00:00