commit | cac51dcbbfeead7e46c03ffe6117fbe614bf1daf | [log] [tgz] |
---|---|---|
author | Neil Fuller <[email protected]> | Tue Apr 19 19:55:56 2022 +0100 |
committer | Neil Fuller <[email protected]> | Tue Apr 19 18:59:57 2022 +0000 |
tree | 018ec460e33d9ff0c5279bde751528e0c4cda8b0 | |
parent | 4c46e5ee17bb147b37421d9b64003ae9afa500b5 [diff] |
Speed up TzS2PolygonsToTzS2CellUnionsTest Speed up TzS2PolygonsToTzS2CellUnionsTest because it takes too long during automated test runs like treehugger. This has been achieved by: 1) Picking a much smaller / less complex time zone (Pacific/Pitcairn Vs Europe/London, which covers the whole UK and some surroundings) 2) Switching to S2 level 12. Execution time was 3.7 seconds locally. Bug: 181254187 Test: atest TzS2PolygonsToTzS2CellUnionsTest Change-Id: Ia7b4d348832309ba603b328752eee9d18dff2e4c
This directory contains code, tools and data for the AOSP reference location time zone provider. Location time zone providers are used for location-based time zone detection on Android. See Android's android.service.timezone.TimeZoneProviderService class for more details.
apex
common
data_pipeline
run-data-pipeline.sh
below.geotz_lookup
tzs2.dat
file. Supports host and device usage.locationtzprovider
geotz_lookup
APIs to obtain the time zone IDs to pass to the platform.output_data
tzs2.dat
file generated by run-data-pipeline.sh
along with the associated license files.s2storage
tzs2.dat
generation on host, and the file's use on host and device. See s2storage/README.md
for format details.tzbb_data
validation
tzs2.dat
file against other data sources.download-tzbb-files.sh
tzbb_data/
from the timezone-boundary-builder project.run-data-pipeline.sh
data_pipeline
data generation pipeline. It takes data from tzbb_data/
, processes it, and puts the resulting tzs2.dat
file in output_data/
.