Commit Graph

15 Commits

Author SHA1 Message Date
Davide Garberi
6b13c23757 sanders: gps: Fix 1.1 interface leftovers
* Thanks CAF for derping as usual

Change-Id: I4a571fbc8810127cf675ff0aa29c4923b16bc62a
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-12-16 15:28:54 +01:00
kubersharma001
575fbce42c sanders: GPS: Update from LA.UM.7.6.2.r1-04200-89xx.0 and update GPS packages
Change-Id: I3111254674e24f8deb511a7de32f57ee5abe8911
2019-12-16 15:28:54 +01:00
Gareth Kitchen
cb24ad61b8 sanders: gps: Localise NTP to improve GPS TTFF
Testing response times to time.android.com from around the globe reveals
in ms:-

Europe			 <30
Middle East		 <68
North America		<150
Johannesburg		 183
Buenos Aires		 220
Tokyo			 226
Sydney			 276
Hong Kong		 285
Brisbane		 295
Mumbai			 349
Beijing			4691
Shanghai		4906
Russia			 n/a

Whilst time.android.com is NOT used for GPS NTP, North American time servers
are, by specifying north-america.pool.ntp.org as default in the framework,
to align with pixel devices.  I am assuming similar response times to these
servers from around the world.

Great for North America and it appears Europe but it does not address the
global issue. Also, the pool.ntp.org project forbids both hardware and
software vendors from using these default zone names.
http://www.pool.ntp.org/en/vendors.html

It makes sense, therefore, to leverage the ntp.org's existing 'android' vendor
name to make the default ntp server for GPS purposes:
1.android.pool.ntp.org this will return a random but accurate NTP server in
close geopraphic proximity to the device.

Testing on my own build in the UK seems to improve hot and cold TTFF
considerably.

Change-Id: I144af45757efa35b32daf034eece6e046d2bde79
2019-12-16 15:28:54 +01:00
Pranav Vashi
a9b93107c7 sanders: gps: Increase batch size to max
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2019-12-16 15:28:47 +01:00
Khalid Zubair
6d88a9a1ea sanders: gps: decrease log priority function tracing
Some location libraries are spamming logcat with function traces.
Decrease the priority of these logs to prevent them from flooding
logcat.

Change-Id: I7b105684c8c9ba0ce67e5302bb7a003f1af7c90d
2019-12-16 01:42:16 +01:00
therootlord
0a41b9dc1a sanders: gps: update to LA.UM.7.6.r1-02000-89xx.0 tag 2018-09-23 21:06:04 -03:00
Vachounet
4501be51f5 sanders: update GPS HAL
* LA.UM.6.5.r1-04000-8x96.0

Change-Id: I53666d7eb27d350c6a4893ad37d2a69b16fceb7e
2018-02-07 22:37:32 -02:00
Vachounet
efba297b2a sanders: update location configs 2017-12-09 16:53:02 -02:00
LuK1337
552aa26a6c sanders: replace QCOMs groups with oem_2950-oem_2952 2017-11-23 11:14:19 -02:00
Vachounet
1f8198a460 sanders: gps: switch to LA.UM.6.6.r1-04300-89xx.0 branch 2017-11-23 11:02:22 -02:00
Dimitry Ivanov
e0eb8f95ca Add missing liblog dependency
Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: Icd2f1ae735e263296a5c6705c7b528b00aa1a94a
(cherry picked from commit 532f3378c214c3134afcb5bcc7c19ce047ec02ac)
2017-08-23 12:35:11 +02:00
Colin Cross
532ff5cdad Depend on libandroid_runtime
libloc_pla is playing tricks with -Wl,--export-dynamic to use symbols
from libandroid_runtime without depending on it.  libandroid_runtime's
headers are moving to where they are only exported to modules that
depend on it, so add a dependency and remove -Wl,--export-dynamic

Bug: 33630870
Test: builds
Change-Id: I9b0567a48ded63031085b6ba93fb3b36404279e1
(cherry picked from commit ada652709d5a1b9faedecc02739d2ed610e18f86)
2017-08-23 12:35:05 +02:00
Steve Kondik
78403cf71e gps: Fix OSS build
* Add fix from Scott/Keith for creating a forward declaration of the
   needed proprietary parts.

Change-Id: Ic958cd94b926048f4c9161884b61273bd4d93503
2017-07-14 19:47:51 +02:00
Alberto97
57e4293652 gps: Import from LA.UM.5.6.r1-01900-89xx.0 release
Change-Id: Ie959cd02b338e2cd98287fc8e16d0448faa34932
2017-07-14 19:47:48 +02:00
Vachounet
c46546dcca potter: fix gps configs 2017-04-11 10:32:49 +02:00