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
GPS components make use of DR_SYNC pulse generated by GNSS
hardware, which was received through pps device, hence
require permission for reading this device
Change-Id: I00bd3b8aa88059fb94338b6ba1d107d77c06a5e0
CRs-Fixed: 2299356
* init: Command 'start gralloc-2-0' action=late-fs (/vendor/etc/init/hw/init.qcom.rc:55) took 0ms and failed: service gralloc-2-0 not found
Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Change-Id: Ic444c7c683ab94b9a37e7d100cde19485db651b9
* kanged from and till LineageOS/android_device_motorola_griffin/tree/3c0798f706e84eb735299e0dd2398a65294bed15
Change-Id: Iaae1859bfda2ea7d0a7a38e0dd79cb5d8e2ddb9d
* Not needed after 39f1f2878b71c1a560da5ea70e18aaf8d8a44b70 as SystemUI.{odex,vdex}
won't exist if they are preopted.
02-04 07:58:33.229 555 568 E PinnerService: Could not pin file /system/priv-app/SystemUI/oat/arm64/SystemUI.vdex
02-04 07:58:33.229 555 568 E PinnerService: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
Change-Id: I20bfe66851fd5ade5f89e60be62aafab12333df2
* Adapt the service from configstore-hal-1-0 service
to vendor.configstore-hal for AOSP P
* Resolves surfaceflinger first launch crash
due to configstore not being running earlier enough
Change-Id: I5aae6d8357ce71933e7c6673e9e4d37adb55a6af
SystemUI is getting deoptimized, possibly resulting in jank
(not yet validated); pre-optimize to avoid deoptimization for now.
Bug: 62832717
Bug: 35872915
Test: boot, check for vdex, run for a bit
Change-Id: Ia754db444eebaebf0ff2389ab66f6f1d486da994
Pin critical system apps that always need to be responsive, no
mattter what:
- SystemUI for expanding the notification shade/navigation bar
- SF: Doesn't need introduction, but still gets zram'ed in certain
cases:
Total memory impact: About 5-6 MB (since regularly not all code is
loaded)
Test: Flash device with CL and make sure actions like expanding
notification shade isn't as janky under memory pressure anymore
Bug: 111132016
Change-Id: I3bc93204147502bec2e983f7ee37555294db308c