Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimeZones.java46 CharSequence getTimeZoneName(CharSequence timeZoneId) { in getTimeZoneName() argument
48 if (TextUtils.equals(timeZoneId, mTimeZoneIds[i])) { in getTimeZoneName()
60 boolean contains(String timeZoneId) { in contains() argument
61 return getTimeZoneName(timeZoneId) != null; in contains()
DSettingsDAO.java115 String timeZoneId = prefs.getString(SettingsActivity.KEY_HOME_TZ, null); in getHomeTimeZone() local
119 if (timeZones.contains(timeZoneId)) { in getHomeTimeZone()
120 return TimeZone.getTimeZone(timeZoneId); in getHomeTimeZone()
124 timeZoneId = defaultTZ.getID(); in getHomeTimeZone()
125 if (timeZones.contains(timeZoneId)) { in getHomeTimeZone()
126 prefs.edit().putString(SettingsActivity.KEY_HOME_TZ, timeZoneId).apply(); in getHomeTimeZone()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()
/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()