37 Commits

Author SHA1 Message Date
Michael Bestas
0e948f4412 Android 14.0.0 Release 50 (AP2A.240605.024)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzmgAKCRDorT+BmrEO
 eJDEAJ0YGatrj3lBqOKazrdp0XDE1LC14wCaAkRV/x5bLTHYRicXhZkOglIUZRE=
 =2XY/
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmZt6s0XHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmmePA//ZNBvPbKMhNdrmTca0vk8rcUP
 4VtWs8EKsun2eQglORs9XN99X2JxZTbRlF6e0Cr5U3iTfrYm6ePN67hQ1LSXi4FO
 o64SwpkomX5JERk4d8PvrooawnX0pKWjACHDe8jHMcTDMW2tzwjlNcH7B+suCe9R
 VS65ioTpncMS4wtZq95/Vqt+qziOG/DXYKFWR1FRAV2hztINvaDSsBULSo0TTJkh
 ddYyRD6khQeNEtTsFXkMwqohy+R08JUGJF8s9zhX8yy1s/Dc9rdwDwu2v5/TOnwO
 e4ArmbSlUQuoIXkkZaFdyN7L8r9Vu+ymLyhbj15ijStsV4a+4Rvr/0BQd9EK5HNx
 LFjppnV1ac2uldPwmrsxl0PGgd4hmBPwgwISM25U01eXMXlgieqPXfMh21DZxm3T
 TIBSs/HbayNq9hqsI51BDWeg86hxYl4XlTfr+NEGUlQ8Kd8cgftUsGageakyBJQ2
 GRh1XPzT/NTYQIy+4sugUUVtu0qulx/fd5FkuR4ZcRsFa+SUeOS4VYb7/f3Abug+
 6GPNvQIXlmjXfm5xIKPGzprrD7kZlbKKoVKMaUy/3SXK4v3BPtdR6gZvMnLcRS8i
 EHYqLzkYAcy2eG7S1jekMPxNfXndBsZNZvIWRPZ3PLvw1Kfp0M6wFF/g2p7by/ea
 SAwXetsyQ+XxXmVV/kU=
 =R8pQ
 -----END PGP SIGNATURE-----

Merge tag 'android-14.0.0_r50' into staging/lineage-21_merge-android-14.0.0_r50

Android 14.0.0 Release 50 (AP2A.240605.024)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzmgAKCRDorT+BmrEO
# eJDEAJ0YGatrj3lBqOKazrdp0XDE1LC14wCaAkRV/x5bLTHYRicXhZkOglIUZRE=
# =2XY/
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jun 11 00:43:54 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2542 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Lei Ju (5) and others
# Via Android Build Coastguard Worker (41) and others
* tag 'android-14.0.0_r50': (59 commits)
  [Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet
  Revert "Add betterbug folder to gs-common"
  gps: add policy for partial reset feature
  dumpstate: thermal: update thermal dump script path
  Add betterbug folder to gs-common
  Add PRODUCT_MODULE_BUILD_FROM_SOURCE to fullmte
  Add OWNERS for gs-common/mte.
  Revert "Move sepolicy files from hardware/google/pixel-sepolicy."
  gs-common:thermal: Add thermal owner file
  Move sepolicy files from hardware/google/pixel-sepolicy.
  Allow gnssd set gps property
  gps: Enable Pixel GNSS HAL
  audio: add file_contexts of /dev/acd-mc_headpos
  [Gyotaku] Add the access /data/vendor/gyotaku sepolicy for gyotaku_app domain
  [Gyotaku] Add the dumpLog for gyotaku app
  Give EdgeTpu access to vendor_pcs_app
  Add Gralloc Flags
  Enable MTE workaround for b/324412910
  Set ro.audio.ihaladaptervendorextension_enabled property
  Update policy for ECOService switch to NDK binder
  ...

 Conflicts:
	aoc/aoc.mk
	dauntless/gsc.mk

Change-Id: I38c8a407d90fff523c02a4ebb3b129ed602ebe0c
2024-06-15 22:26:04 +03:00
Michael Bestas
2e79d80e69 Android 14.0.0 release 29
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWyQAKCRDorT+BmrEO
 eEhlAJ9z+0PuxsobmnGcd76nipBxryfkggCfUbqZG8SEc5zTFPwJdlLvVCWj5Ng=
 =4EhT
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmXtRUoXHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmkrMg/+PZvyDLYO+X/STW0+fMjK4VPl
 AOlHbBo5k3jhUbDiSijw5MqXf/HOpndxk5ckapEs3WgoXsQConKUF5hHrT0fdGgk
 h2YmJEtaRYTpBmfFPtRTAmrQ8ECCnkpq9MEM02C95z1GiiftuwpBeTmI7r9rQADo
 WmRKl9xX5+MMrIfg7TbQv4lqm/g9ygQfPvkpStJdMxs+YcWG74DDP0mqyFOsQqNS
 Qvjsgw6q26vZBtqaIxfS5SP3dfLzNbD8VD68l4gxtOYy0aqbMFy3/a+uGLYAnY9a
 nPTZ6mnvQdB+8dtpN0bJEARiJ6g/4vPVeLdpcz6VT0V9i6gCp6btNAE8l4RlCjws
 gj3btdHfowYa3JIRi057MyEN0OuvCuslspc2C+GYpB5ybLbGqgYL7RFO/Og8gMxo
 tH72u2gbi6V/7ljyxn0K6ZFpb7BU4yya8wtrkNn/ZfEURyeoqSxJCUgUw0Zv11qt
 ln38tHpGFOsVkB9rN30GsnQjUA+AXTKegRfayCW7XjVUL07RkMoWJXqNINjQDS7/
 JxAe8Zv5DfXAkKccK+bRWIrfCfjyFixFHmQfqXakLPvamOrtzuadvgO9HQnkVOXb
 cDXJcpBEj5ca+wxmQ6NaCM0btb3iV1Lf88kYo0wOyGxxbd6FnrAHTVxB1ZuRCxr6
 t/tx6n3o/CJ4ueaGy3Y=
 =URDA
 -----END PGP SIGNATURE-----

Merge tag 'android-14.0.0_r29' into staging/lineage-21_merge-android-14.0.0_r29

Android 14.0.0 release 29

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWyQAKCRDorT+BmrEO
# eEhlAJ9z+0PuxsobmnGcd76nipBxryfkggCfUbqZG8SEc5zTFPwJdlLvVCWj5Ng=
# =4EhT
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar  5 01:18:33 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2371 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Adam Shih (14) and others
# Via Automerger Merge Worker (832) and others
* tag 'android-14.0.0_r29': (122 commits)
  Dumpstate: Remove heap stats
  aoc: add policy to read system property
  dumpstate: add logbuffer support for display
  powerstats: introduce TpuDvfsStateResidencyDataProvider
  [GABC][FATP] Added ProtoCalibGenerator to PRODUCT_PACKAGES_DEBUG
  gs-common: bootctrl: integrate blowAR() for gs101 & zuma
  gs-common: bootctrl: check both properties in setActiveBootSlot
  gs-common: move sepolicy related to bootctrl hal hidl 1.2 to gs-common
  gs-common: create bootctrl_hidl_1.2.mk and include related modules
  gs-common: move bootctrl hal hidl 1.2 implementation to gs-common
  audio: allow hal_audio_default to allocate graphic buffer
  gs-common: move sepolicy related to bootctrl hal aidl to gs-common
  gs-common: create bootctrl_aidl.mk and include related modules
  gs-common: move bootctrl hal aidl implementation to gs-common
  gs-common: add device_google_gs-common_license
  bm: Avoid to use CDT number
  Revert "gs-common: add device_google_gs-common_license"
  Revert "gs-common: move bootctrl hal aidl implementation to gs-c..."
  Revert "gs-common: create bootctrl_aidl.mk and include related m..."
  Revert "gs-common: move sepolicy related to bootctrl hal aidl to..."
  ...

 Conflicts:
	gxp/dump.mk
	soc/soc.mk

Change-Id: Ib2f0bc9419bac6110933855dc90cf2c8a0d5cf15
2024-03-10 07:29:44 +02:00
Wayne Lin
1c9e011597 gps: add policy for partial reset feature
avc:  denied  { read } for  name="u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=413 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { open } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { getattr } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { map } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0

Bug: 326493553
Test: no avc denied error
Change-Id: I4ac1ecf51da01c24d4e2f0f7e52df1d2cb92e275
2024-03-01 02:46:50 +08:00
Shinru Han
3b682abda5 Allow gnssd set gps property
avc:  denied  { write } for  name="property_service" dev="tmpfs" ino=837 scontext=u:r:gnssd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Bug: 320577795
Test: on-device
Change-Id: I77c02d9754c8ccd66d8cc889fd361de0fc20e09d
2024-02-26 03:23:08 +00:00
Shinru Han
eadc0d0114 gps: Enable Pixel GNSS HAL
avc:  denied  { call } for  scontext=u:r:hal_gnss_pixel:s0 tcontext=u:r:hal_gnss_default:s0 tclass=binder permissive=0
avc:  denied  { call } for  scontext=u:r:hal_gnss_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0
avc:  denied  { read } for  name="modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc:  denied  { open } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc:  denied  { getattr } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1

Test: CTS/VTS pass
Bug: 320567656
Change-Id: I22ed09fe37a7e9811f78bf66c21420d2809da9c6
2024-02-22 06:09:20 +00:00
Wayne Lin
a7430966ea gps: add sepolicy to coredump node
Bug: 319766739
Test: build pass and verify pass
Change-Id: I7cf289865540533b9d65a2c2c21d1ea4e9f391a2
2024-02-07 02:47:27 +00:00
Wayne Lin
ca1c35e500 gps: refine iGNSS build system - sepolicy
Bug: 318310869
Bug: 315915958
Test: build pass, GPS works and no GPS avc denied error
Change-Id: Ib2aa778a0d0e8a51f4d6733b6a55ccf588a05079
2024-01-29 05:48:15 +00:00
Michael Bestas
e91a9c1b48 Android 14.0.0 Release 17 (UQ1A.231205.015)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
 eJvKAJ9PWdJlNAjVuLmxYCBDL1v6sV+eBwCcDWY8ZehEPSPmL4qYBR7mHIuA/gE=
 =a4OH
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmV2HB4XHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmkrTRAAmlBLUyYgqDIv7OPO+tqB7nvK
 TJXpHxK2F4zJWkHtkXU1j2K9qeVZhF2msDt9nh3ga5NM08NDS4f5feZLETysVKB+
 l7UgaKj40/eQjpxTqT0H0b43EkTDEGlKprsjYVpvSPal1ar3PHLoMDR1kvWamRYI
 9TpdUhjpMuqfZwst/Sjc/GPKdEh8iykU3AYfcZlldXHYuqAqL66pn0o4IVKZ9HLs
 XwDFsehDVhcfLfO6i4eT1CyUltZTnuSBqZqKG2fKX8KNF3uF/ySCpeVRV3jd9eaV
 7r0lNvsNOiXChq6XhAZl7tfjZUOu78LLJApVudfAFdGdZIqjzqozZQ2FzQYmC3Sw
 yLqxAMZ8czQN0ml+C+VQB8we92KCsBwwjezPxzXSTDLkzUMnFnTwMJ34mDLgzuqm
 CWhb58Sg7Tbawpr3BODWMPNJOKllofQ2Fjbn5u67vOCrfOYuFSkJzqlhFfQnN2Xk
 6SWq8wfxtBCsyXOce4FjzFGTf7BNHeuJ3NCQX5hOdPfx1RL//oQDstT3gntEFoiY
 B/XNsFXfRNVRmzfzim5EnsN4G8EATdq5y/e01wRoPB40JDQN4M7ekP4ZdGwmMy6W
 yuLXlnzaYwwy08efkUms0P2CLqaYNC2YLs//OXGyDQjDY65mQIzXxEiuSymNnONv
 C9naJ/0jgKueuv+k7WY=
 =ZsGR
 -----END PGP SIGNATURE-----

Merge tag 'android-14.0.0_r17' into staging/lineage-21_merge-android-14.0.0_r17

Android 14.0.0 Release 17 (UQ1A.231205.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
# eJvKAJ9PWdJlNAjVuLmxYCBDL1v6sV+eBwCcDWY8ZehEPSPmL4qYBR7mHIuA/gE=
# =a4OH
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Dec  6 21:44:34 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2202 signatures in the past
#      2 years.  Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Utku Utkan (13) and others
# Via Automerger Merge Worker (138) and others
* tag 'android-14.0.0_r17': (90 commits)
  Revert "Add radio_ext aidl to compatibility matrix"
  Add radio_ext aidl to compatibility matrix
  [SELinux] Add gyotaku_app doamin to gs-common.
  Add missing node_bind permission to SEPolicy.
  touch: Set permissions for interactive_calibration
  Configure SEPolicy to allow PCS to open and use socket connections.
  [SE Policy] Update CCA path and fix wrong directory in call_count
  audio: add radio sepolicy for hidl/aidl
  sepolicy: add permission for call count of pixelstats-vend.
  sepolicy: fix avc denied for sysfs_wakeup
  update gps sdk 147.20.23.576859
  Add SEPolicy config for PCS to act as a media app
  Allow Pixel Camera Services to bind to Lyric for callbacks
  refactor and merge gps build system
  storage: turn off pixel storage debugging code on user builds
  Add new label for stats_reset
  Disable armnn nnapi backend
  Add SePolicy allowances for ICameraIdRemapper
  Associate vendor_pcs_app with PCS services
  update gps sdk 147.20.23.576052
  ...

 Conflicts:
	battery_mitigation/bcl.mk
	gps/brcm/device.mk
	gps/brcm/device_v2.mk
	gps/brcm/prebuilt/SensorHub_A0.patch
	gps/brcm/prebuilt/SensorHub_DebugBuild_A0.patch
	gps/brcm/prebuilt/android.hardware.gnss@2.1-service-brcm
	gps/brcm/prebuilt/flp.default.so
	gps/brcm/prebuilt/gps.default.so
	gps/brcm/prebuilt/gpsd
	gps/brcm/prebuilt/lhd
	gps/brcm/prebuilt/scd

Change-Id: Ifb4df5be2d669d6cf0fa7d652f53561743e0e442
2023-12-10 22:13:38 +02:00
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
Michael Bestas
c2cc4f62f9
Disable userdebug diagnostics
Change-Id: Icbdc3a61ab7b27f2aa0a6a07181b96edd9ee191a
2023-10-19 02:18:37 +03:00
Cheng Chang
e84c267870 update gps sdk 147.20.23.576859
- eliminate seconds delay before sending ProvideCapabilities

Bug: 295291089
Test: verification at b/295291089
Test: function verification at b/296352776
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:88d1510430a42bd4e0f2b9768355c30b80338764)
Merged-In: I4dbb4f1a44fdfdaa1b5e8bf6d130c9e0369bb50d
Change-Id: I4dbb4f1a44fdfdaa1b5e8bf6d130c9e0369bb50d
2023-08-22 02:07:55 +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
441c2a697c 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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3c7f71fe7cba8764861653f6d2d7d12aee899f44)
Merged-In: Ib5c0ccebb505c753f661e84f1ee8f10a774057b3
Change-Id: Ib5c0ccebb505c753f661e84f1ee8f10a774057b3
2023-08-04 01:41:09 +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