Commit graph

2166 commits

Author SHA1 Message Date
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
Petri Gynther
5460a9cd2a gs101: clean up kernel variables am: 17f6b03738 am: f276caad32 am: 9ad38e7941
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361

Change-Id: I4578b811d14a6c984a5591089ea2e29cc3f09dc1
2021-09-03 13:34:14 +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
df141c9325 gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29 am: 8e7f591666 am: 0c04176f49
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

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

Change-Id: I141e9bb16497647dbedb0ab80884da769a2d5200
2021-09-03 09:13:55 +00:00
Edwin Tung
f4a5c8400d gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: c8b0f33127 am: cb3231674f am: fc5e227518
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517

Change-Id: I5dce3f03248da71ae5b4a10e00591c29d5cb9015
2021-09-03 09:13:49 +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
dcf2f88fe7 dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404 am: a8d924be8e am: 577b331c38
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885

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

Change-Id: Ibdb3e35fc4eecd9a9a3a571fba32dcbbbcb1323d
2021-09-03 06:37:20 +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
c08588abaf [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 9600d301b7 am: 96078c8a90
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15738724

Change-Id: Ifb541b8ed0de5392e8ea76a9a90783ec82eab93c
2021-09-02 23:27:32 +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
0bb55e9aaa gs101: separate WirelessCharger from device_framework_matrix_product am: 0add4b6582 am: dbaa472c53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15723570

Change-Id: I3846ab523a515417ffbedbd591fc262d0834b8c8
2021-09-02 07:18:59 +00: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
7bf8127511 Remove project info from udfps_common.mk am: 4ac6e0cb59 am: e2f62493ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15623881

Change-Id: I12462120c1ac203026a7b24fa4db063b7aa0ed78
2021-08-31 11:52:37 +00: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
Joe Huang
79991feca4 Revert "Separate gps from init.gs101.rc"
This reverts commit 5c34fffc06d4842e8733591876c4a4c8aa70776f.

Reason for revert: <b/198158466, will re-land with a suitable fix>

Change-Id: If9fa482e4e0f247a66cc665c1e7f2f7c971efb21
2021-08-31 05:00:09 +00:00
Eric Biggers
e6c6fcd235 Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 99dce51a94 am: 3cc48d2eca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272

Change-Id: I02879a4ce81c7dbb5149cd9a19bd06931429b4fe
2021-08-30 23:39:36 +00:00
Eric Biggers
de02adef74 Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 0f66842f06 am: 2d9800dfe4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272

Change-Id: Ic5e11c21dd6f2ef3eb506da6514f61029bf99533
2021-08-30 23:39:28 +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