/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/createtzs2protodatafile/data/ |
H A D | tzs2datafile.prototxt | 24 startCellId: 959495464950956032 29 startCellId: 959495467098439680 34 startCellId: 959495473004019712 39 startCellId: 959495497700081664 44 startCellId: 959495498773823488 49 startCellId: 959495503605661696 54 startCellId: 959495823043854336 59 startCellId: 959495829486305280 64 startCellId: 959495864382914560 69 startCellId: 959495867067269120 [all …]
|
H A D | merged_tzs2ranges.prototxt | 7 startCellId: 959495464950956032 12 startCellId: 959495467098439680 17 startCellId: 959495473004019712 22 startCellId: 959495497700081664 27 startCellId: 959495498773823488 32 startCellId: 959495503605661696 37 startCellId: 959495823043854336 42 startCellId: 959495829486305280 47 startCellId: 959495864382914560 52 startCellId: 959495867067269120 [all …]
|
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/mergetzs2ranges/data/ |
H A D | Europe_London_tzs2ranges.prototxt | 7 startCellId: 5174803776489390080 12 startCellId: 5174803782394970112 17 startCellId: 5174803801185452032 22 startCellId: 5174803806554161152 27 startCellId: 5174803808164773888 32 startCellId: 5174803861314994176 37 startCellId: 5174809858163081216 42 startCellId: 5174809864605532160 47 startCellId: 5174809901649625088 52 startCellId: 5174809905407721472 [all …]
|
H A D | Europe_Paris_tzs2ranges.prototxt | 7 startCellId: 959495464950956032 12 startCellId: 959495467098439680 17 startCellId: 959495473004019712 22 startCellId: 959495497700081664 27 startCellId: 959495498773823488 32 startCellId: 959495503605661696 37 startCellId: 959495823043854336 42 startCellId: 959495829486305280 47 startCellId: 959495864382914560 52 startCellId: 959495867067269120 [all …]
|
H A D | merged_tzs2ranges.prototxt | 7 startCellId: 959495464950956032 12 startCellId: 959495467098439680 17 startCellId: 959495473004019712 22 startCellId: 959495497700081664 27 startCellId: 959495498773823488 32 startCellId: 959495503605661696 37 startCellId: 959495823043854336 42 startCellId: 959495829486305280 47 startCellId: 959495864382914560 52 startCellId: 959495867067269120 [all …]
|
H A D | Europe_Isle_of_Man_tzs2ranges.prototxt | 7 startCellId: 5216018576867065856 12 startCellId: 5216018585457000448 17 startCellId: 5216018636996608000 22 startCellId: 5216018639680962560 27 startCellId: 5216018652565864448 32 startCellId: 5216018657934573568 37 startCellId: 5216018681020022784 42 startCellId: 5216018742760177664 47 startCellId: 5216018764235014144 52 startCellId: 5216018766919368704 [all …]
|
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/data/ |
H A D | Europe_London_tzs2ranges.prototxt | 7 startCellId: 5174803776489390080 12 startCellId: 5174803782394970112 17 startCellId: 5174803801185452032 22 startCellId: 5174803806554161152 27 startCellId: 5174803808164773888 32 startCellId: 5174803861314994176 37 startCellId: 5174809858163081216 42 startCellId: 5174809864605532160 47 startCellId: 5174809901649625088 52 startCellId: 5174809905407721472 [all …]
|
/aosp12/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/ |
H A D | SuffixTableRangeTest.java | 34 long startCellId = cellId(12, 5, 1); in constructorInvariants() local 38 () -> new SuffixTableRange(startCellId, startCellId, tzIdSetId)); in constructorInvariants() 40 () -> new SuffixTableRange(endCellId, startCellId, tzIdSetId)); in constructorInvariants() 46 long startCellId = cellId(s2Level, 5, 1); in equalsAndHashcode() local 49 SuffixTableRange tzS2Range = new SuffixTableRange(startCellId, endCellId, tzIdSetId); in equalsAndHashcode() 50 SuffixTableRange tzS2Range2 = new SuffixTableRange(startCellId, endCellId, tzIdSetId); in equalsAndHashcode() 54 assertEquals(startCellId, tzS2Range.getStartCellId()); in equalsAndHashcode() 58 SuffixTableRange tzS2Range3 = new SuffixTableRange(startCellId, endCellId, tzIdSetId + 1); in equalsAndHashcode() 62 startCellId, S2Support.offsetCellId(endCellId, 1), tzIdSetId); in equalsAndHashcode()
|
H A D | TzS2RangeTest.java | 37 long startCellId = cellId(12, 5, 1); in constructorInvariants() local 41 () -> new TzS2Range(startCellId, startCellId, tzIds)); in constructorInvariants() 43 () -> new TzS2Range(endCellId, startCellId, tzIds)); in constructorInvariants() 49 long startCellId = cellId(s2Level, 5, 1); in equalsAndHashcode() local 52 TzS2Range tzS2Range = new TzS2Range(startCellId, endCellId, tzIdSet); in equalsAndHashcode() 53 TzS2Range tzS2Range2 = new TzS2Range(startCellId, endCellId, tzIdSet); in equalsAndHashcode() 57 assertEquals(startCellId, tzS2Range.getStartCellId()); in equalsAndHashcode() 61 TzS2Range tzS2Range3 = new TzS2Range(startCellId, endCellId, listOf("Not One", "Not Two")); in equalsAndHashcode() 64 TzS2Range tzS2Range4 = new TzS2Range(startCellId, S2Support.offsetCellId(endCellId, 1), in equalsAndHashcode()
|
/aosp12/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/s2/ |
H A D | S2LevelRange.java | 72 public S2LevelRange(long startCellId, long endCellId) { in S2LevelRange() argument 73 S2Support.validateCellId(startCellId); in S2LevelRange() 75 int startS2Level = S2Support.getS2Level(startCellId); in S2LevelRange() 79 throw new IllegalArgumentException("startCellId " + cellIdToString(startCellId) in S2LevelRange() 85 if (startCellId == endCellId) { in S2LevelRange() 87 + " startCellId=" + startCellId + ", endCellId=" + endCellId); in S2LevelRange() 89 long startCellIdNumeric = S2CellOrdering.asUnsignedNumeric(startCellId); in S2LevelRange() 92 mStartCellId = startCellId; in S2LevelRange()
|
/aosp12/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/ |
H A D | TzS2RangeFileWriter.java | 102 long startCellId = currentRange.getStartCellId(); in collectSamePrefixRanges() local 103 if (mFileFormat.getS2Level() != S2Support.getS2Level(startCellId)) { in collectSamePrefixRanges() 107 int startCellPrefix = mFileFormat.extractPrefixValueFromCellId(startCellId); in collectSamePrefixRanges() 132 new TzS2Range(startCellId, newEndCellId, currentRange.getTzIdSet()); in collectSamePrefixRanges() 203 long startCellId = currentRange.getStartCellId(); in writeSamePrefixRanges() local 205 int rangeLength = mFileFormat.calculateRangeLength(startCellId, endCellId); in writeSamePrefixRanges() 207 long newEndCellId = S2Support.offsetCellId(startCellId, maxRangeLength); in writeSamePrefixRanges() 209 new SuffixTableRange(startCellId, newEndCellId, tzIdSetId); in writeSamePrefixRanges() 211 startCellId = newEndCellId; in writeSamePrefixRanges() 212 rangeLength = mFileFormat.calculateRangeLength(startCellId, endCellId); in writeSamePrefixRanges() [all …]
|
/aosp12/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/ |
H A D | SuffixTableRange.java | 37 public SuffixTableRange(long startCellId, long endCellId, int tzIdSetId) { in SuffixTableRange() argument 38 super(startCellId, endCellId); in SuffixTableRange() 41 throw new IllegalArgumentException("startCellId=" + cellIdToString(startCellId) in SuffixTableRange()
|
H A D | TzS2Range.java | 40 public TzS2Range(long startCellId, long endCellId, List<String> tzIdSet) { in TzS2Range() argument 41 super(startCellId, endCellId); in TzS2Range() 44 throw new IllegalArgumentException("startCellId=" + cellIdToString(startCellId) in TzS2Range()
|
/aosp12/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/ |
H A D | PopulatedSuffixTableBlock.java | 167 long startCellId = mFileFormat.createCellId(mPrefix, startCellIdSuffix); in getSuffixTableRange() local 182 + " startCellId=" + cellIdToString(startCellId) in getSuffixTableRange() 196 suffixTableRange = new SuffixTableRange(startCellId, endCellId, tzIdSetId); in getSuffixTableRange()
|
/aosp12/packages/modules/GeoTZ/s2storage/tools/src/proto/ |
H A D | geotz_protos.proto | 45 required uint64 startCellId = 1; field
|
/aosp12/packages/modules/GeoTZ/data_pipeline/src/main/proto/ |
H A D | s2_protos.proto | 62 required uint64 startCellId = 1; field
|