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
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
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
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
Jack Wu
690f58c05c
gs101: separate WirelessCharger from device_framework_matrix_product am: 0add4b6582
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15723570
Change-Id: Ibb8906af31f287fb3286aeed03c8bd54e2fd4d5e
2021-09-02 07:04:00 +00:00
Jack Wu
6908766de0
gs101: separate WirelessCharger from device_framework_matrix_product
...
Bug: 198221475
Test: WirelessCharger can run
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I7120f5f5338dc95ca19a977ad0028b54a410c80a
2021-09-01 13:07:58 +00:00
Bob Badour
25b5f6dbbf
[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: Ibba45375a32253dce8185674b1dddf08c83b3fe0
2021-08-31 18:51:50 -07:00
leohsieh
85107cc2d8
Remove project info from udfps_common.mk am: 4ac6e0cb59
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15623881
Change-Id: I74aaa2e053edf9df91b0abe55f795ad2186bb5fe
2021-08-31 11:38:43 +00:00
leohsieh
0385e708a6
Remove project info from udfps_common.mk
...
Move GOODIX_CONFIG_BUILD_VERSION to device mk.
Fixes "There is no fp HAL on factory build".
Bug: 197213960
Test: lunch oriole-userdebug
Test: lunch factory_oriole-userdebug
Test: lunch oriole_hwasan-userdebug
Change-Id: I39ba0675eb3046d7d8229a996f3d728aedc59b02
2021-08-31 11:23:29 +00:00
Eric Biggers
7d148430ad
Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 99dce51a94
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: Ia7834e39ac7727cf56fb7dbfb70a7e361f2acf8b
2021-08-30 23:28:08 +00:00
Eric Biggers
9b9ac62ffe
Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 0f66842f06
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: Ic20ecc63d7254ec7cdbddacb489ac42e993f2156
2021-08-30 23:26:24 +00:00
Eric Biggers
565b9b27ae
Generate a separate fstab file for FIPS mode am: 08c8bc2e40
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: Iafebe12fb8b8f585ec6e57a4edd0d23271b779e0
2021-08-30 23:16:39 +00:00
Eric Biggers
f8622be0fd
Generate a separate fstab file for FIPS mode am: 08c8bc2e40
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: I989dad797866cc82ad11cf2bca3e705370689517
2021-08-30 23:16:38 +00:00
Eric Biggers
f739cf68c0
Generate a separate fstab file for FIPS mode
...
Add a file "fstab.gs101-fips" alongside the existing "fstab.gs101" in
order to specify different encryption settings in FIPS mode.
"androidboot.fstab_suffix=gs101-fips" on the kernel command line will be
used to select the FIPS fstab when needed.
As the two fstabs should be otherwise identical, generate them from a
template file so that they will stay in sync.
Note that generating the fstabs requires that they be installed as build
system modules rather than via PRODUCT_COPY_FILES, which results in the
vendor_ramdisk copy of the fstabs being installed to system/etc rather
than /. This shouldn't cause any problem, now that Android has been
updated to look for the fstab in this location too.
Bug: 191417025
Change-Id: I1d115e014df8ba2fb83046ac0b9b791597364846
2021-08-30 14:09:06 -07:00
Puma Hsu
65f63cdedb
usb: fix the naming for uwb mode am: af3face69d am: 28ffaeb43a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: Id66979d3e14429e350a9bb7831d19abe6c342cbb
2021-08-30 02:42:02 +00:00
Puma Hsu
626828a618
usb: fix the naming for uwb mode am: af3face69d am: 65de06b418
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: I89e345795e95b5af9654ac378646e7bc62af3f9d
2021-08-30 02:41:34 +00:00
Puma Hsu
a1e2a9b9a4
usb: fix the naming for uwb mode am: af3face69d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: I15f70fb6192dc54f5f27e4efea9253ab038b7fd7
2021-08-30 02:24:22 +00:00
Puma Hsu
f723d1535f
usb: fix the naming for uwb mode am: af3face69d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: Ifc461cbcaee2802e8e7a7dce499565cd172a3b2c
2021-08-30 02:24:22 +00:00
Puma Hsu
c798852213
usb: fix the naming for uwb mode
...
In previous we created a new bootmode "uwb" which will enable
the ACM port, but the name was wrong. Rename it as "usbuwb"
Bug: 187877902
Test: ACM port can be enabled
Signed-off-by: Puma Hsu <pumahsu@google.com>
Change-Id: Id27930c4c34e7272cebf1825b6aa68f526e84112
2021-08-29 22:21:30 +08:00
Victor Liu
7807f65b98
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15698159
...
Change-Id: Id990f534a4d992f31c65fc767b466dab35e78d67
2021-08-28 17:52:58 +00:00
Victor Liu
d85344a3c2
Bug: 192233033
...
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I3db1a5b6860956290e46909c0900442947da4125
2021-08-28 17:33:14 +00:00
Bob Badour
d92d8ef4fd
[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: ce8298edab
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15686476
Change-Id: I632d126989bc270d58e528c303aa04b9b409ec7b
2021-08-27 00:32:15 +00:00