Commit graph

1559 commits

Author SHA1 Message Date
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
Bob Badour
a63bb9d513 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101
Added SPDX-license-identifier-Apache-2.0 to:
  fingerprint/fpc1540/fp_tool/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I82ead6a8a6fdef70712d5193174e8652e785a7d4
2021-08-26 12:06:55 -07:00
eddielan
51077b81eb fingerprint: Add performance configuration am: efff89ca32
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15544540

Change-Id: Idd22f2c8689f39d684315d5d1ae20d28480c063f
2021-08-26 11:54:00 +00:00
eddielan
ffb00dfe09 fingerprint: Add performance configuration
Bug: 195999248
Test: Build Pass & perform authentication on device
Test: The latency is reduced from 352ms to 133ms
Change-Id: Id0c4e34fb98aa50995449ff66ffe894a37a1bdeb
2021-08-26 11:42:59 +00:00
Puma Hsu
d8071b2f84 usb: create new functions for uwb am: 563421fa4f am: 2be6691764
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659566

Change-Id: I1f65ef88cd9bf0d8aca5012d06909d24e2814a3e
2021-08-26 07:07:41 +00:00
Puma Hsu
24cf4a2362 usb: create new functions for uwb am: 563421fa4f am: 55b3779010
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659566

Change-Id: Iad08011a362fbfc63e604c24082045bd1290db3d
2021-08-26 07:07:13 +00:00
Puma Hsu
273d9467ae usb: create new functions for uwb am: 563421fa4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659566

Change-Id: I24928bb50356d01199ba7de2a331e425b9884b93
2021-08-26 06:53:40 +00:00
Puma Hsu
ab355dd063 usb: create new functions for uwb am: 563421fa4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659566

Change-Id: Ie50b6b466b11cb2f49fe679b622b8fc6a461aa9c
2021-08-26 06:53:35 +00:00
Puma Hsu
fbcb7ad5dc usb: create new functions for uwb
uwb needs ACM port, create this function combination.

Bug: 187877902
Test: ACM port can be enabled.
Signed-off-by: Puma Hsu <pumahsu@google.com>
Change-Id: I14c6af95bbd5e9e0b2c4a17a1fffb6e04def2c9b
2021-08-26 06:37:39 +00:00
Rex Lin
8a100fc84a uwb: add uwb diag modules into the dlkm blocklist am: 09f8008be1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15185253

Change-Id: I2147b083df10244b67baa6cb5018ec572709d159
2021-08-26 03:26:19 +00:00
Rex Lin
45b4d2d89b uwb: add uwb diag modules into the dlkm blocklist
Bug: 191339300, 192638358

Test: verified pass with local build
Change-Id: I24cfe8b490bee6b8872111cfb4f9d77de3e603a2
2021-08-26 03:11:54 +00:00
Edwin Tung
6110adc61d [automerger skipped] gps: update gps driver 129.20.23.512827 am: b4ee393e13 am: e02fb18427 am: 88bc5cf82e -s ours
am skip reason: Merged-In I0cf86bd1f3b304d7f0855c65a5e0d85c0493732d with SHA-1 5a5a3fb5dd is already in history

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

Change-Id: Iba2cfba1f150eb005f01f97523b01272b06d9f66
2021-08-25 15:15:51 +00:00
Edwin Tung
65df057316 gps: update gps driver 129.20.23.512827 am: b4ee393e13 am: e02fb18427
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659562

Change-Id: Ifcbf931bff6d12968da59af73b433ed485f7cef7

Fix automerge conflict

Bug: 197717433
Change-Id: Id1983d386ae72310d1556588f56bdf9745403ff7
Merged-In: I0cf86bd1f3b304d7f0855c65a5e0d85c0493732d
Merged-In: I5095172b5c38aa93ddd2ecc4f75e7bed7aeeaf73
2021-08-25 13:32:24 +00:00