commit | 98ad95bb515de1fab33ab81be0b831b0ac84ef04 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Mon Feb 12 16:46:51 2018 +0000 |
committer | Neil Fuller <nfuller@google.com> | Wed Feb 14 12:48:33 2018 +0000 |
tree | c900430eae41aaae27515297a1384b146ecdff5a | |
parent | d2b3c137fcf8d9726267f1bd83f213aae37df709 [diff] |
Introduce in-memory structure for tzlookup.xml This commit introduces the CountryZonesFinder which holds the entire contents of the <countryzones> element from tzlookup.xml. It is intended for usecases where the memory vs i/o trade off means it's better to load the data once and keep it pinned in memory. The pinning is left to the caller. Bug: 63561146 Test: CTS: run cts -m CtsLibcoreTestCases Change-Id: I36bb611149d8febc38f39db5a9c048c9549e1b1c