/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/model/ |
D | TimeZoneDataTest.java | 52 TimeZoneData timeZoneData = new TimeZoneData(mCountryZonesFinder); in testRegionsWithTimeZone() local 56 assertThat(timeZoneData.lookupCountryTimeZones("US").getCountryTimeZones()) in testRegionsWithTimeZone() 63 TimeZoneData timeZoneData = new TimeZoneData(mCountryZonesFinder); in testGetRegionIds() local 64 assertThat(timeZoneData.getRegionIds()).isEmpty(); in testGetRegionIds() 67 timeZoneData = new TimeZoneData(mCountryZonesFinder); in testGetRegionIds() 68 assertThat(timeZoneData.getRegionIds()).containsExactly("US", "GB"); in testGetRegionIds() 73 TimeZoneData timeZoneData = new TimeZoneData(mCountryZonesFinder); in testLookupCountryCodesForZoneId() local 74 assertThat(timeZoneData.lookupCountryCodesForZoneId(null)).isEmpty(); in testLookupCountryCodesForZoneId() 91 assertThat(timeZoneData.lookupCountryCodesForZoneId("Unknown/Secret_City")) in testLookupCountryCodesForZoneId() 93 assertThat(timeZoneData.lookupCountryCodesForZoneId("Unknown/Secret_City2")).isEmpty(); in testLookupCountryCodesForZoneId()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/ |
D | TimeZoneSettings.java | 160 void setTimeZoneData(TimeZoneData timeZoneData) { in setTimeZoneData() argument 161 mTimeZoneData = timeZoneData; in setTimeZoneData() 164 private void onTimeZoneDataReady(TimeZoneData timeZoneData) { in onTimeZoneDataReady() argument 165 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady() 166 mTimeZoneData = timeZoneData; in onTimeZoneDataReady() 170 onZonePickerRequestResult(timeZoneData, mPendingZonePickerRequestResult); in onTimeZoneDataReady() 232 private void onZonePickerRequestResult(TimeZoneData timeZoneData, Intent data) { in onZonePickerRequestResult() argument 242 timeZoneData.lookupCountryTimeZones(regionId); in onZonePickerRequestResult()
|
D | BaseTimeZonePicker.java | 99 public void onTimeZoneDataReady(TimeZoneData timeZoneData) { in onTimeZoneDataReady() argument 100 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady() 101 mTimeZoneData = timeZoneData; in onTimeZoneDataReady() 116 protected abstract BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData); in createAdapter() argument
|
D | BaseTimeZoneInfoPicker.java | 50 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter() argument 51 mAdapter = new ZoneAdapter(getContext(), getAllTimeZoneInfos(timeZoneData), in createAdapter() 73 public abstract List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData); in getAllTimeZoneInfos() argument
|
D | RegionSearchPicker.java | 61 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter() argument 62 mTimeZoneData = timeZoneData; in createAdapter() 63 mAdapter = new BaseTimeZoneAdapter<>(createAdapterItem(timeZoneData.getRegionIds()), in createAdapter()
|
D | RegionZonePicker.java | 87 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() argument 95 FilteredCountryTimeZones filteredCountryTimeZones = timeZoneData.lookupCountryTimeZones( in getAllTimeZoneInfos()
|
D | FixedOffsetPicker.java | 52 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() argument
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | TimeZoneSettings.java | 160 void setTimeZoneData(TimeZoneData timeZoneData) { in setTimeZoneData() argument 161 mTimeZoneData = timeZoneData; in setTimeZoneData() 164 private void onTimeZoneDataReady(TimeZoneData timeZoneData) { in onTimeZoneDataReady() argument 165 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady() 166 mTimeZoneData = timeZoneData; in onTimeZoneDataReady() 170 onZonePickerRequestResult(timeZoneData, mPendingZonePickerRequestResult); in onTimeZoneDataReady() 232 private void onZonePickerRequestResult(TimeZoneData timeZoneData, Intent data) { in onZonePickerRequestResult() argument 242 timeZoneData.lookupCountryTimeZones(regionId); in onZonePickerRequestResult()
|
D | BaseTimeZonePicker.java | 99 public void onTimeZoneDataReady(TimeZoneData timeZoneData) { in onTimeZoneDataReady() argument 100 if (mTimeZoneData == null && timeZoneData != null) { in onTimeZoneDataReady() 101 mTimeZoneData = timeZoneData; in onTimeZoneDataReady() 116 protected abstract BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData); in createAdapter() argument
|
D | RegionSearchPicker.java | 61 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter() argument 62 mTimeZoneData = timeZoneData; in createAdapter() 63 mAdapter = new BaseTimeZoneAdapter<>(createAdapterItem(timeZoneData.getRegionIds()), in createAdapter()
|
D | BaseTimeZoneInfoPicker.java | 50 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter() argument 51 mAdapter = new ZoneAdapter(getContext(), getAllTimeZoneInfos(timeZoneData), in createAdapter() 73 public abstract List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData); in getAllTimeZoneInfos() argument
|
D | RegionZonePicker.java | 87 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() argument 95 FilteredCountryTimeZones filteredCountryTimeZones = timeZoneData.lookupCountryTimeZones( in getAllTimeZoneInfos()
|
D | FixedOffsetPicker.java | 52 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | TimeZoneSettingsTest.java | 42 TimeZoneData timeZoneData = mock(TimeZoneData.class); in findRegionIdForTzId_matchExpectedCountry() local 43 when(timeZoneData.lookupCountryCodesForZoneId(tzId)) in findRegionIdForTzId_matchExpectedCountry() 47 settings.setTimeZoneData(timeZoneData); in findRegionIdForTzId_matchExpectedCountry()
|
D | BaseTimeZoneInfoPickerTest.java | 84 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() argument 107 public BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter() argument 108 return super.createAdapter(timeZoneData); in createAdapter()
|
D | FixedOffsetPickerTest.java | 79 public BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter() argument 80 return super.createAdapter(timeZoneData); in createAdapter()
|