* from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys (REAL LA.UM.10.2.1.r1-03400-sdm660.0)
* add xiaomi conf change from miui
* vendor.qti.gnss@4.0-service.xml is from s62pro actually, but as it's just a simple HIDL declaration, no need for declare a dedicated section for it(for Hon 660, gnss HIDL interface declared in vendor/odm/etc/vintf/manifest*.xml - determined by first api level and keymaster version)
* uncomment SUPL_ES=1 since it is default 0(staging/gps/core/ContextBase.cpp#132), comment it out won't enable emergency SUPL
* remove vendor.qti.hardware.cacert in manifest, since it's useless and will be declared as optional in FCM
* gps config changed as below
- gps.conf
NTP_SERVER_2=asia.pool.ntp.org
NTP_SERVER_3=0.cn.pool.ntp.org
LPP_PROFILE=3
A_GLONASS_POS_PROTOCOL_SELECT=0xf
XTRA_TEST_ENABLED = 1
XTRA_THROTTLE_ENABLED = 0
XTRA_SYSTEM_TIME_INJECT = 1
XTRA_SOCK_KEEPALIVE=1
Co-authored-by: 1582130940 <1582130940@qq.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Signed-off-by: pix106 <sbordenave@gmail.com>
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
This is a combination of 3 commits:
-------------------------------------
* Revert "sdm660-common: Import gps configs from LA.UM.9.6.2.r1-03600-89xx.0"
This reverts commit 1977da527c.
* Revert "sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03600-89xx.0"
This reverts commit 15d9c83201.
* sdm660-common: Checkout gps config from LA.UM.9.6.2.r1-03300-89xx.0