Home
last modified time | relevance | path

Searched refs:tzIds (Results 1 – 11 of 11) sorted by relevance

/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DMergeTzS2Ranges.java235 TzS2Range leftLead = new TzS2Range(leftEntry.tzIds, leftEntry.rangeStart, in mergeRangeLists()
238 leftEntry = new TzS2Range(leftEntry.tzIds, rightEntry.rangeStart, in mergeRangeLists()
241 TzS2Range rightLead = new TzS2Range(rightEntry.tzIds, rightEntry.rangeStart, in mergeRangeLists()
244 rightEntry = new TzS2Range(rightEntry.tzIds, leftEntry.rangeStart, in mergeRangeLists()
250 leftEntry.tzIds.size() + rightEntry.tzIds.size()); in mergeRangeLists()
251 combinedTzIds.addAll(leftEntry.tzIds); in mergeRangeLists()
252 combinedTzIds.addAll(rightEntry.tzIds); in mergeRangeLists()
262 right.replace(j, new TzS2Range(rightEntry.tzIds, leftEntry.rangeEnd, in mergeRangeLists()
269 left.replace(i, new TzS2Range(leftEntry.tzIds, rightEntry.rangeEnd, in mergeRangeLists()
DGeoJsonTzToTzS2Polygons.java83 Set<String> tzIds) { in GeoJsonTzToTzS2Polygons() argument
88 this.mTzIds = Objects.requireNonNull(tzIds); in GeoJsonTzToTzS2Polygons()
112 String tzIds; field in GeoJsonTzToTzS2Polygons.Arguments
114 Set<String> tzIds() { in tzIds() method in GeoJsonTzToTzS2Polygons.Arguments
115 return tzIds == null in tzIds()
117 : Arrays.stream(tzIds.split(",")) in tzIds()
136 Set<String> tzIds = arguments.tzIds(); in main() local
144 inputFile, executorService, outputDir, protoStorageFormat, tzIds); in main()
DTypes.java513 public final List<String> tzIds; field in Types.TzS2Range
523 public TzS2Range(List<String> tzIds, S2CellId rangeStart, S2CellId rangeEnd) { in TzS2Range() argument
524 this.tzIds = new ArrayList<>(tzIds); in TzS2Range()
541 .addAllValues(x.tzIds) in createTzS2RangeProto()
567 return tzIds.equals(tzS2Range.tzIds) in equals()
574 return Objects.hash(tzIds, rangeStart, rangeEnd); in hashCode()
580 + " value=" + tzIds in toString()
DTzS2CellUnionsToTzS2Ranges.java179 List<String> tzIds = Collections.singletonList(tzId); in createTzS2Ranges() local
203 ranges.add(new TzS2Range(tzIds, rangeStart, rangeEnd)); in createTzS2Ranges()
208 ranges.add(new TzS2Range(tzIds, rangeStart, rangeEnd)); in createTzS2Ranges()
DCreateTzS2ProtoDataFile.java123 int id = idBySet.computeIfAbsent(range.tzIds, x -> nextId.getAndIncrement()); in createTimeZonesProto()
124 setById.put(id, range.tzIds); in createTimeZonesProto()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DFixedOffsetPickerTest.java57 List<String> tzIds = infos.stream().map(info -> info.getId()).collect(Collectors.toList()); in getAllTimeZoneInfos_containsUtcAndGmtZones() local
58 assertThat(tzIds).contains("Etc/UTC"); in getAllTimeZoneInfos_containsUtcAndGmtZones()
59 assertThat(tzIds).contains("Etc/GMT-14"); // Etc/GMT-14 means GMT+14:00 in getAllTimeZoneInfos_containsUtcAndGmtZones()
60 assertThat(tzIds).contains("Etc/GMT+12"); // Etc/GMT+14 means GMT-12:00 in getAllTimeZoneInfos_containsUtcAndGmtZones()
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/
DTzS2RangeTest.java39 List<String> tzIds = listOf("One", "Two"); in constructorInvariants() local
41 () -> new TzS2Range(startCellId, startCellId, tzIds)); in constructorInvariants()
43 () -> new TzS2Range(endCellId, startCellId, tzIds)); in constructorInvariants()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt331 val tzIds = arrayOfNulls<CharSequence>(descriptors.size) in getTimeZones() constant
335 tzIds[i] = descriptor!!.mTimeZoneId in getTimeZones()
339 return TimeZones(tzIds.requireNoNulls(), tzNames.requireNoNulls()) in getTimeZones()
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegate.java487 List<String> tzIds = in sendTimeZoneCertainResultIfNeeded() local
489 logDebug("tzIds found for locationToken=" + locationToken + ", tzIds=" + tzIds); in sendTimeZoneCertainResultIfNeeded()
495 .setTimeZoneIds(tzIds) in sendTimeZoneCertainResultIfNeeded()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DTzS2RangeFileReader.java237 List<String> tzIds = tzIdBank.getTzIdSet(tzIdSetId).getTzIds(); in getTzS2Range() local
238 mTzS2Range = new TzS2Range(rangeStartCellId, rangeEndCellId, tzIds); in getTzS2Range()
/packages/modules/GeoTZ/data_pipeline/src/debug/java/com/android/timezone/location/data_pipeline/tools/
DPrintTzS2RangeStats.java75 if (range.tzIds.size() == 1) { in printTzS2RangeCounts()