laurel_sprout: 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
1 file changed
tree: 221fae95c1e1469669f94d824da5922d99d990da
  1. bluetooth/
  2. configs/
  3. fod/
  4. gps/
  5. interfaces/
  6. light/
  7. overlay/
  8. overlay-pa/
  9. rootdir/
  10. sepolicy/
  11. Android.bp
  12. Android.mk
  13. BoardConfig.mk
  14. device.mk
  15. extract-files.sh
  16. proprietary-files.txt
  17. README.md
  18. setup-makefiles.sh
  19. system.prop
  20. update-sha1sums.py
  21. vendor.prop
README.md

Copyright (C) 2020 Paranoid Android

Device Tree for Mi A3 (laurel_sprout)

The Mi A3 (codenamed "laurel_sprout") is a mid-range smartphone from Xiaomi. It was announced and released in July 2019.

Device specifications

FeatureSpecification
ChipsetQualcomm SM6125 Snapdragon 665 (11 nm)
CPUOcta-core (4x2.0 GHz Kryo 260 Gold & 4x1.8 GHz Kryo 260 Silver)
GPUAdreno 610
Memory4/6 GB
Shipped Android Version9.0
Storage64/128 GB UFS 2.1
SIMHybrid Dual SIM (Nano-SIM, dual stand-by)
MicroSDUp to 256 GB
Battery4030 mAh Li-Po (non-removable)
Dimensions153.5 x 71.9 x 8.5 mm
Display6.09 inch, 720 x 1560 (19.5:9 ratio)
Rear Camera 148 MP, f/1.8, 26mm (wide), 1/2.0", 0.8µm, PDAF
Rear Camera 28 MP, f/2.2, 13mm (ultrawide), 1/4.0", 1.12µm
Rear Camera 32 MP, f/2.4, (depth)
Front Camera32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm
FingerprintUnder display, optical
SensorsAccelerometer, Gyro, Proximity, Compass

Device picture

Mi A3