Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataTest.java53 CountryTimeZones countryTimeZones = mock(CountryTimeZones.class); in testRegionsWithTimeZone() local
54 when(countryTimeZones.getTimeZoneMappings()).thenReturn(emptyList()); in testRegionsWithTimeZone()
55 when(mCountryZonesFinder.lookupCountryTimeZones("US")).thenReturn(countryTimeZones); in testRegionsWithTimeZone()
57 .isSameAs(countryTimeZones); in testRegionsWithTimeZone()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DTimeZoneSettings.java209 final FilteredCountryTimeZones countryTimeZones = in setDisplayedTimeZoneInfo() local
216 (countryTimeZones != null && countryTimeZones.getTimeZoneIds().size() > 1)); in setDisplayedTimeZoneInfo()
241 FilteredCountryTimeZones countryTimeZones = in onZonePickerRequestResult() local
243 if (countryTimeZones == null || !countryTimeZones.getTimeZoneIds().contains(tzId)) { in onZonePickerRequestResult()
DRegionSearchPicker.java71 final FilteredCountryTimeZones countryTimeZones = mTimeZoneData.lookupCountryTimeZones( in onListItemClick() local
74 if (countryTimeZones == null || countryTimeZones.getTimeZoneIds().isEmpty()) { in onListItemClick()
81 List<String> timeZoneIds = countryTimeZones.getTimeZoneIds(); in onListItemClick()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneSettings.java209 final FilteredCountryTimeZones countryTimeZones = in setDisplayedTimeZoneInfo() local
216 (countryTimeZones != null && countryTimeZones.getTimeZoneIds().size() > 1)); in setDisplayedTimeZoneInfo()
241 FilteredCountryTimeZones countryTimeZones = in onZonePickerRequestResult() local
243 if (countryTimeZones == null || !countryTimeZones.getTimeZoneIds().contains(tzId)) { in onZonePickerRequestResult()
DRegionSearchPicker.java71 final FilteredCountryTimeZones countryTimeZones = mTimeZoneData.lookupCountryTimeZones( in onListItemClick() local
74 if (countryTimeZones == null || countryTimeZones.getTimeZoneIds().isEmpty()) { in onListItemClick()
81 List<String> timeZoneIds = countryTimeZones.getTimeZoneIds(); in onListItemClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/model/
DFilteredCountryTimeZones.java47 public FilteredCountryTimeZones(CountryTimeZones countryTimeZones) { in FilteredCountryTimeZones() argument
48 mCountryTimeZones = countryTimeZones; in FilteredCountryTimeZones()
49 List<String> timeZoneIds = countryTimeZones.getTimeZoneMappings().stream() in FilteredCountryTimeZones()
DTimeZoneData.java69 List<CountryTimeZones> countryTimeZones = mCountryZonesFinder in lookupCountryCodesForZoneId() local
72 for (CountryTimeZones countryTimeZone : countryTimeZones) { in lookupCountryCodesForZoneId()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/
DFilteredCountryTimeZones.java47 public FilteredCountryTimeZones(CountryTimeZones countryTimeZones) { in FilteredCountryTimeZones() argument
48 mCountryTimeZones = countryTimeZones; in FilteredCountryTimeZones()
49 List<String> timeZoneIds = countryTimeZones.getTimeZoneMappings().stream() in FilteredCountryTimeZones()
DTimeZoneData.java69 List<CountryTimeZones> countryTimeZones = mCountryZonesFinder in lookupCountryCodesForZoneId() local
72 for (CountryTimeZones countryTimeZone : countryTimeZones) { in lookupCountryCodesForZoneId()
/packages/apps/Settings/tests/unit/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataTest.java43 FilteredCountryTimeZones countryTimeZones = in lookupCountryTimeZones_shouldReturnAtLeastOneTimeZoneInEveryRegion() local
45 assertThat(countryTimeZones).isNotNull(); in lookupCountryTimeZones_shouldReturnAtLeastOneTimeZoneInEveryRegion()
46 assertThat(countryTimeZones.getTimeZoneIds().size()).isGreaterThan(0); in lookupCountryTimeZones_shouldReturnAtLeastOneTimeZoneInEveryRegion()