Home
last modified time | relevance | path

Searched refs:timeZoneId (Results 1 – 10 of 10) sorted by relevance

/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DCitiesFile.java55 String timeZoneId) { in City() argument
60 this.mTimeZoneId = timeZoneId; in City()
117 String timeZoneId = fields[TIME_ZONE_ID_INDEX]; in createCity() local
118 if (timeZoneId.isEmpty()) { in createCity()
119 timeZoneId = null; in createCity()
122 return new City(name, latLng, isoCountryCode, population, timeZoneId); in createCity()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/
DFilteredCountryTimeZones.java45 String timeZoneId = timeZoneMapping.getTimeZoneId(); in FilteredCountryTimeZones() local
46 timeZoneIds.add(timeZoneId); in FilteredCountryTimeZones()
66 public boolean matches(String timeZoneId) { in matches() argument
67 return mPreferredTimeZoneIds.contains(timeZoneId) in matches()
68 || mAlternativeTimeZoneIds.contains(timeZoneId); in matches()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimeZones.kt33 fun getTimeZoneName(timeZoneId: CharSequence?): CharSequence? { in getTimeZoneName()
35 if (TextUtils.equals(timeZoneId, timeZoneIds[i])) { in getTimeZoneName()
47 operator fun contains(timeZoneId: String?): Boolean { in contains()
48 return getTimeZoneName(timeZoneId) != null in contains()
DSettingsDAO.kt104 var timeZoneId: String? = prefs.getString(SettingsActivity.KEY_HOME_TZ, null) in getHomeTimeZone() variable
108 if (timeZones.contains(timeZoneId)) { in getHomeTimeZone()
109 return TimeZone.getTimeZone(timeZoneId) in getHomeTimeZone()
113 timeZoneId = defaultTZ.id in getHomeTimeZone()
114 if (timeZones.contains(timeZoneId)) { in getHomeTimeZone()
115 prefs.edit().putString(SettingsActivity.KEY_HOME_TZ, timeZoneId).apply() in getHomeTimeZone()
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DCanonicalizeTzS2Polygons.java171 String timeZoneId = inputTzS2Polygons.tzId; in processFile() local
173 if (COUNTRY_MAPPED_EXCEPTIONS.contains(timeZoneId)) { in processFile()
174 canonicalTzId = timeZoneId; in processFile()
176 String countryIsoCode = timeZoneIds.getCountryCodeForZoneId(timeZoneId); in processFile()
178 errors.addError(timeZoneId + " is not mapped to a country"); in processFile()
192 canonicalTzId = countryTzIdsMap.get(timeZoneId); in processFile()
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/
DTzS2CellUnionsToTzS2RangesTest.java60 String timeZoneId = "Europe/London"; in regressionTest() local
80 TzIds.fileNameSafe(timeZoneId) + TzS2Ranges.getFileSuffix(storageFormat), in regressionTest()
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/
DTzS2PolygonsToTzS2CellUnionsTest.java60 String timeZoneId = "Europe/London"; in regressionTest() local
80 TzIds.fileNameSafe(timeZoneId) + TzS2CellUnion.getFileSuffix(storageFormat), in regressionTest()
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/
DGeoJsonTzToTzS2PolygonsTest.java62 String timeZoneId = "Europe/London"; in regressionTest() local
80 TzIds.fileNameSafe(timeZoneId) + TzS2Polygons.getFileSuffix(storageFormat), in regressionTest()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfo.java142 public TimeZoneInfo format(String timeZoneId) { in format() argument
143 TimeZone timeZone = TimeZone.getFrozenTimeZone(timeZoneId); in format()
DRegionZonePicker.java123 for (final String timeZoneId : timeZoneIds) { in getRegionTimeZoneInfo()
124 final TimeZone timeZone = TimeZone.getFrozenTimeZone(timeZoneId); in getRegionTimeZoneInfo()