android_device_xiaomi_sdm66.../configs
Gareth Kitchen 26e9816c98
sdm660-common: 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-02 17:22:37 +01:00
..
gps sdm660-common: gps: Localise NTP to improve GPS TTFF 2019-12-02 17:22:37 +01:00
keylayout sdm660-common: fingerprint: remove unneed permission for fingerdown_wait 2019-09-05 12:16:58 +02:00
perf sdm660-common: Add dummy perf profile. 2019-09-05 12:17:56 +02:00
media_codecs.xml sdm660: media: Added performance point tag for sdm660 2019-09-27 17:13:45 +02:00
media_codecs_performance.xml sdm660: update measured fps values as per latest results 2019-10-04 18:53:18 +02:00
msm_irqbalance.conf sdm660-common: update wifi irqbalance blacklist 2019-10-22 17:12:47 +02:00
privapp-permissions-hotword.xml sdm660-common: Add basic permission file for HotwordEnrollment 2019-08-15 15:31:33 +02:00
privapp-permissions-qti-product.xml sdm660-common: Split privapp permissions for ims/qcrilmsgtunnel move 2019-10-15 15:23:26 +02:00
privapp-permissions-qti-system.xml sdm660: Remove whitelist for BAApp. 2019-11-01 11:56:02 +01:00
public.libraries.txt wayne-common: Add public.libraries.txt 2018-12-05 00:36:35 +08:00
qti_whitelist.xml sdm660: BTTestApp : Remove HID test app 2019-09-27 17:13:45 +02:00
sec_config sdm660: Allow qcrild to access new QMI service 2019-09-27 17:13:45 +02:00
whitelistedapps.xml wayne: Initial bringup 2018-07-13 00:01:25 +00:00