26 Commits

Author SHA1 Message Date
Wayne Lin
94f65401d4 gps: refine gps build system
- remove override directive

Bug: 291186485
Test: build pass and confirm gps binaries are correct
Change-Id: I1d46fda73f0a02ccdcb409110a4ec293d87a6f5f
2023-10-27 14:06:52 +00:00
Cheng Chang
69b030b7c4 refactor and merge gps build system
Bug: 290725902
Test: verification test at b/290725902
Change-Id: I3206e8e1137f4d436aa10c976215dbc6eb7171da
2023-08-14 09:15:55 +00:00
Cheng Chang
2850ae9e7f update gps sdk 147.20.23.576052 am: 3c7f71fe7c am: 4042ffe4a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/24270486

Change-Id: I6f8f84f3962c73d62e6ff7959fa516e5e49f7672
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 01:44:36 +00:00
Cheng Chang
4042ffe4a3 update gps sdk 147.20.23.576052 am: 3c7f71fe7c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/24270486

Change-Id: I974e1e2bb53484e449a0e6e6ec3de1d5404a7f3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 00:55:28 +00:00
Cheng Chang
3c7f71fe7c update gps sdk 147.20.23.576052
- fallback to LTE ECID when unknown network type

Bug: 294294528
Bug: 294102841
Test: verification test at b/294006413
Test: carrier no SIM test plan verification at b/294102841
Test: carrier dual SIM test plan verification at b/294294528
Change-Id: Ib5c0ccebb505c753f661e84f1ee8f10a774057b3
2023-08-03 03:21:31 +00:00
Edwin Tung
42f1c4de4a gps: collect gps log
Bug: 286785317
Test: Check gps file in dumpstate
Change-Id: Ia38502537d901360d7ae1b987818da96927d9610
2023-07-13 14:06:24 +08:00
Cheng Chang
498c4cbd00 gps: collect chip information
Bug: 288815100
Test: compile and collect bugreport
Change-Id: I8b74ec265d3ccac2ff2bbe3e52e5a47ee2b0704a
2023-06-27 05:43:35 +00:00
Wayne Lin
5ed67579fa update gps driver 147.20.23.572940
- fix SUPL wakelock is not released issue
 - support RTO version 2
 - add configuration to control SIB
 - reduce CPU usage in logging disable device
 - clean library dependency
 - fix ME switching handling too frequently
 - fix no position output in corner case

Bug: 281454889
Bug: 277529181
Bug: 282086086
Bug: 284233969
Bug: 270118566
Bug: 282108908
Bug: 281601776

Verify test: b/287157493
Test: CtsLocationGnssTestCases pass
VtsHalGnssTargetTest pass
PtsChreTestCases pass

Change-Id: I0f7cd8270802dcc496b2076e7fe49c2e7ea38039
2023-06-15 06:40:03 +00:00
TreeHugger Robot
31aebacfe3 Merge "gps: add config to enable assertion" into udc-dev 2023-06-02 09:34:31 +00:00
Cheng Chang
a9531cd29b gps: add config to enable assertion
Bug: 280620812
Test: Firmware verification at b/280620812
Change-Id: Ib49107c83d0dfa65e551ba8aae6079acd78d9cc1
2023-06-02 05:31:18 +00:00
Wayne Lin
2499ad6876 update gps driver 147.20.23.571192
- add debug log for bad initial time crash
 - fix crash issues
 - fix large position jump issue
 - extract measurements from log
 - clean libary dependency
 - control debug assert flag in CHPP

Bug: 252972127
Bug: 277310027
Bug: 280762841
Bug: 254412432
Bug: 260816769
Bug: 274411140
Bug: 280940847

Verify test: b/284236450
Test: CtsLocationGnssTestCases pass
VtsHalGnssTargetTest pass
PtsChreTestCases pass

Change-Id: I120fa01ab45d868550c3202c25c26bd4854f67a2
2023-05-31 09:45:08 +00:00
Cheng Chang
631d5b6521 gps: separate the init_gps rc file
- separate cbd control gps property

Bug: 282877296
Test: b/282877296
Change-Id: I08c95b7da0005289292bf5b4edbe66308a9a58c8
2023-05-19 02:28:10 +00:00
Treehugger Robot
aab2fd57a9 Merge "gps: allow gpsd access sensor aidl service" into udc-dev 2023-05-08 12:41:10 +00:00
Cheng Chang
855c9c7c7b gps: allow gpsd access sensor aidl service
04-21 12:53:38.929   388   388 E SELinux : avc:  denied  { find } for pid=967 uid=1021 name=android.frameworks.sensorservice.ISensorManager/default scontext=u:r:gpsd:s0 tcontext=u:object_r:fwk_sensor_service:s0 tclass=service_manager permissive=0

Bug: 279134853
Test: verify no SELinux error log
Change-Id: Iac69a3bbce808c0432e210874993f9de56dc86b5
2023-05-05 12:23:12 +00:00
Cheng Chang
0e67f94cea gps: collect heap memory information
Bug: 275466127
Test: adb bugreport to check the file in dumpstate
Test: verify flow at b/274541210
Change-Id: I737593e8d91fe21b0825d982b385f157ec61690a
2023-05-05 12:22:58 +00:00
Wayne Lin
2a9218e79a update gps sdk 147.20.23.568380
- fix navigation message issue
 - fix drift issue in driving test
 - fix incorrect GNSS measurement frequency issue
 - report satellite status when measurement only
 - remove unnecessary libraries
 - report dummy WiFi mac address
 - fix wrong internal context detection at slow driving

Bug: 265884251
Bug: 276216546
Bug: 274530336
Bug: 274537581
Bug: 271267762
Bug: 277301500
Bug: 266343909
Verify test: b/279541834
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: Ie739beb7029c595173f8455e867f72324a61138a
2023-04-27 10:11:39 +00:00
Cheng Chang
3d07844230 update gps sdk 147.20.23.566805
- support GNSS AIDL v3

Bug: 275475660
Test: atest VtsHalGnssTargetTest
Test: atest CtsLocationGnssTestCases
Test: verified at b/276413684
Change-Id: I5ce5520d3b8e2248c5903ba33c6b6354fa3bb152
2023-04-07 01:13:57 +00:00
Adam Shih
80fed77790 Merge "create function dumpLog" into udc-dev 2023-02-22 03:00:45 +00:00
Adam Shih
d0f5360b76 create function dumpLog
Bug: 240530709
Test: adb bugreport
Change-Id: I036757f10f18f5dcf4faa6574a7280912348aef4
2023-02-21 14:14:44 +08:00
Cheng Chang
ecdabaa486 update gps sdk 147.20.23.562029
- gpsd segmentfault protect code
 - android.hardware.gnss@2.1-service-brcm segmentfault
 - AGC field is missing when requested deep indoor
 - TestGnssMeasurementIntervals_LocationOnAfterMeasurement fix
 - mismatch between bearing value and fixed location
 - location jumped in the office and the reported accuracy is
   much higher
 - Can't enter duty cycle mode
 - fix IGnssConfiguration setBlocklist issue

Test: atest VtsHalGnssTargetTest
Test: atest CtsLocationGnssTestCases
Test: verify test at b/269048821
Test: verify test at b/269049429
Bug: 260300008
Bug: 262632321
Bug: 266760732
Bug: 264597734
Bug: 266343909
Bug: 254357787
Bug: 262829108
Bug: 265106280
Change-Id: I6097ed175b798df4324f26624ea30ca16447c405
2023-02-21 03:48:13 +00:00
Cheng Chang
1d7e24afdf gps: separate sdk version
- update gps sdk version 147.20.23.557990

Test: verify test at b/268167428
Test: verify test at b/268166962
Test: atest CtsLocationGnssTestCases
Test: atest VtsHalGnssTargetTest
Bug: 268165042
Change-Id: Ieb73195e0ff0cd45f85aa52035c4dc6b6a1256fc
2023-02-21 03:47:52 +00:00
Cheng Chang
2ab714eb08 gps: nstandby path depend on platform
Bug: 259353063
Test: no avc denied about nstandby
Change-Id: Ia5af7b265fc25ee876c8b450e24e2975fc064aea
2022-11-24 02:20:41 +00:00
Cheng Chang
0c6de1ebbd gps: move out gps/brcm prebuilt
Bug: 256567319
Test: cts and vts pass
Change-Id: I13df413a1f22c011931bac85bfcfa9c708feee04
2022-11-16 07:25:28 +00:00
Bob Badour
985ce42202 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common
Added SPDX-license-identifier-Apache-2.0 to:
  gps/brcm/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id24967e37b2fafa55841703f3eb2017ce06f4aa6
2022-11-03 07:59:10 -07:00
Adam Shih
067e82f2f2 move gps init.rc settings to gs-common
Bug: 254758553
Test: boot and open google map getting my location
Change-Id: Id6006b8e058e1b684b4085a47be306fa0cc5f405
2022-10-31 10:51:30 +08:00
Adam Shih
82e09f8597 move brcm gps solution to gs-common
Bug: 254758553
Test: google map can locate on pixel
Change-Id: I466a7d3a45f37a7de5aaed55c2df7f06ba97268d
2022-10-27 11:06:46 +08:00