Searched refs:tzId (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/ |
D | TimeZoneSettings.java | 149 String tzId = data.getStringExtra(FixedOffsetPicker.EXTRA_RESULT_TIME_ZONE_ID); in onActivityResult() local 151 if (tzId != null && !tzId.equals(mSelectedTimeZoneId)) { in onActivityResult() 152 onFixedOffsetZoneChanged(tzId); in onActivityResult() 207 private void setDisplayedTimeZoneInfo(String regionId, String tzId) { in setDisplayedTimeZoneInfo() argument 208 final TimeZoneInfo tzInfo = tzId == null ? null : mTimeZoneInfoFormatter.format(tzId); in setDisplayedTimeZoneInfo() 222 private void setDisplayedFixedOffsetTimeZoneInfo(String tzId) { in setDisplayedFixedOffsetTimeZoneInfo() argument 223 if (isFixedOffset(tzId)) { in setDisplayedFixedOffsetTimeZoneInfo() 225 mTimeZoneInfoFormatter.format(tzId)); in setDisplayedFixedOffsetTimeZoneInfo() 234 String tzId = data.getStringExtra(RegionZonePicker.EXTRA_RESULT_TIME_ZONE_ID); in onZonePickerRequestResult() local 237 && Objects.equals(tzId, mSelectedTimeZoneId)) { in onZonePickerRequestResult() [all …]
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | TimeZoneSettings.java | 149 String tzId = data.getStringExtra(FixedOffsetPicker.EXTRA_RESULT_TIME_ZONE_ID); in onActivityResult() local 151 if (tzId != null && !tzId.equals(mSelectedTimeZoneId)) { in onActivityResult() 152 onFixedOffsetZoneChanged(tzId); in onActivityResult() 207 private void setDisplayedTimeZoneInfo(String regionId, String tzId) { in setDisplayedTimeZoneInfo() argument 208 final TimeZoneInfo tzInfo = tzId == null ? null : mTimeZoneInfoFormatter.format(tzId); in setDisplayedTimeZoneInfo() 222 private void setDisplayedFixedOffsetTimeZoneInfo(String tzId) { in setDisplayedFixedOffsetTimeZoneInfo() argument 223 if (isFixedOffset(tzId)) { in setDisplayedFixedOffsetTimeZoneInfo() 225 mTimeZoneInfoFormatter.format(tzId)); in setDisplayedFixedOffsetTimeZoneInfo() 234 String tzId = data.getStringExtra(RegionZonePicker.EXTRA_RESULT_TIME_ZONE_ID); in onZonePickerRequestResult() local 237 && Objects.equals(tzId, mSelectedTimeZoneId)) { in onZonePickerRequestResult() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | TimeZoneSettingsTest.java | 41 String tzId = "Unknown/Secret_City"; in findRegionIdForTzId_matchExpectedCountry() local 43 when(timeZoneData.lookupCountryCodesForZoneId(tzId)) in findRegionIdForTzId_matchExpectedCountry() 48 assertThat(settings.findRegionIdForTzId(tzId, null, "")).matches("US|GB"); in findRegionIdForTzId_matchExpectedCountry() 49 assertThat(settings.findRegionIdForTzId(tzId, "GB", "")).isEqualTo("GB"); in findRegionIdForTzId_matchExpectedCountry() 50 assertThat(settings.findRegionIdForTzId(tzId, null, "GB")).isEqualTo("GB"); in findRegionIdForTzId_matchExpectedCountry()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/model/ |
D | TimeZoneData.java | 65 public Set<String> lookupCountryCodesForZoneId(String tzId) { in lookupCountryCodesForZoneId() argument 66 if (tzId == null) { in lookupCountryCodesForZoneId() 70 .lookupCountryTimeZonesForZoneId(tzId); in lookupCountryCodesForZoneId() 74 if (filteredZones.getTimeZoneIds().contains(tzId)) { in lookupCountryCodesForZoneId()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/ |
D | TimeZoneData.java | 65 public Set<String> lookupCountryCodesForZoneId(String tzId) { in lookupCountryCodesForZoneId() argument 66 if (tzId == null) { in lookupCountryCodesForZoneId() 70 .lookupCountryTimeZonesForZoneId(tzId); in lookupCountryCodesForZoneId() 74 if (filteredZones.getTimeZoneIds().contains(tzId)) { in lookupCountryCodesForZoneId()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CityDAO.kt | 135 fun createCity(id: String?, formattedName: String, tzId: String?): City? { in createCity() 136 val tz = TimeZone.getTimeZone(tzId) in createCity()
|
D | CityDAO.java | 146 static City createCity(String id, String formattedName, String tzId) { in createCity() argument 147 final TimeZone tz = TimeZone.getTimeZone(tzId); in createCity()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
D | TimeZonePickerScreenPreferenceController.java | 95 String tzId = timeZone.get(ZoneGetter.KEY_ID).toString(); in createTimeZonePreference() 97 tzId, "Settings: Set time zone"); in createTimeZonePreference()
|