Home
last modified time | relevance | path

Searched refs:mTimeZoneData (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataTest.java33 private TimeZoneData mTimeZoneData; field in TimeZoneDataTest
36 mTimeZoneData = TimeZoneData.getInstance(); in setUp()
41 Set<String> regionIds = mTimeZoneData.getRegionIds(); in lookupCountryTimeZones_shouldReturnAtLeastOneTimeZoneInEveryRegion()
44 mTimeZoneData.lookupCountryTimeZones(regionId); in lookupCountryTimeZones_shouldReturnAtLeastOneTimeZoneInEveryRegion()
57 assertThat(mTimeZoneData.lookupCountryCodesForZoneId("Europe/Simferopol").isEmpty()) in lookupCountryCodesForZoneId_shouldNotReturnHiddenZone()
59 assertThat(mTimeZoneData.lookupCountryCodesForZoneId("Europe/London").isEmpty()) in lookupCountryCodesForZoneId_shouldNotReturnHiddenZone()
61 assertThat(mTimeZoneData.lookupCountryCodesForZoneId("America/Los_Angeles").isEmpty()) in lookupCountryCodesForZoneId_shouldNotReturnHiddenZone()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneSettings.java76 private TimeZoneData mTimeZoneData; field in TimeZoneSettings
145 if (mTimeZoneData == null) { in onActivityResult()
148 onZonePickerRequestResult(mTimeZoneData, data); in onActivityResult()
165 mTimeZoneData = timeZoneData; in setTimeZoneData()
169 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady()
170 mTimeZoneData = timeZoneData; in onTimeZoneDataReady()
214 mTimeZoneData.lookupCountryTimeZones(regionId); in setDisplayedTimeZoneInfo()
294 menu.findItem(MENU_BY_REGION).setVisible(mTimeZoneData != null && !mSelectByRegion); in onPrepareOptionsMenu()
295 menu.findItem(MENU_BY_OFFSET).setVisible(mTimeZoneData != null && mSelectByRegion); in onPrepareOptionsMenu()
335 final Set<String> allCountryIsoCodes = mTimeZoneData.getRegionIds(); in setSelectByRegion()
[all …]
DBaseTimeZonePicker.java60 private TimeZoneData mTimeZoneData; field in BaseTimeZonePicker
100 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady()
101 mTimeZoneData = timeZoneData; in onTimeZoneDataReady()
102 mAdapter = createAdapter(mTimeZoneData); in onTimeZoneDataReady()
DRegionSearchPicker.java49 private TimeZoneData mTimeZoneData; field in RegionSearchPicker
62 mTimeZoneData = timeZoneData; in createAdapter()
71 final FilteredCountryTimeZones countryTimeZones = mTimeZoneData.lookupCountryTimeZones( in onListItemClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DTimeZoneSettings.java72 private TimeZoneData mTimeZoneData; field in TimeZoneSettings
141 if (mTimeZoneData == null) { in onActivityResult()
144 onZonePickerRequestResult(mTimeZoneData, data); in onActivityResult()
161 mTimeZoneData = timeZoneData; in setTimeZoneData()
165 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady()
166 mTimeZoneData = timeZoneData; in onTimeZoneDataReady()
210 mTimeZoneData.lookupCountryTimeZones(regionId); in setDisplayedTimeZoneInfo()
290 menu.findItem(MENU_BY_REGION).setVisible(mTimeZoneData != null && !mSelectByRegion); in onPrepareOptionsMenu()
291 menu.findItem(MENU_BY_OFFSET).setVisible(mTimeZoneData != null && mSelectByRegion); in onPrepareOptionsMenu()
331 final Set<String> allCountryIsoCodes = mTimeZoneData.getRegionIds(); in setSelectByRegion()
[all …]
DBaseTimeZonePicker.java60 private TimeZoneData mTimeZoneData; field in BaseTimeZonePicker
100 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady()
101 mTimeZoneData = timeZoneData; in onTimeZoneDataReady()
102 mAdapter = createAdapter(mTimeZoneData); in onTimeZoneDataReady()
DRegionSearchPicker.java49 private TimeZoneData mTimeZoneData; field in RegionSearchPicker
62 mTimeZoneData = timeZoneData; in createAdapter()
71 final FilteredCountryTimeZones countryTimeZones = mTimeZoneData.lookupCountryTimeZones( in onListItemClick()