Home
last modified time | relevance | path

Searched refs:TimeZoneData (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataLoader.java27 public class TimeZoneDataLoader extends AsyncLoaderCompat<TimeZoneData> {
34 public TimeZoneData loadInBackground() { in loadInBackground()
36 return TimeZoneData.getInstance(); in loadInBackground()
40 protected void onDiscardResult(TimeZoneData result) { in onDiscardResult()
45 void onTimeZoneDataReady(TimeZoneData data); in onTimeZoneDataReady()
48 public static class LoaderCreator implements LoaderManager.LoaderCallbacks<TimeZoneData> {
64 public void onLoadFinished(Loader<TimeZoneData> loader, TimeZoneData data) { in onLoadFinished()
71 public void onLoaderReset(Loader<TimeZoneData> loader) { in onLoaderReset()
DTimeZoneData.java38 public class TimeZoneData { class
40 private static WeakReference<TimeZoneData> sCache = null;
45 public static synchronized TimeZoneData getInstance() { in getInstance()
46 TimeZoneData data = sCache == null ? null : sCache.get(); in getInstance()
50 data = new TimeZoneData(TimeZoneFinder.getInstance().getCountryZonesFinder()); in getInstance()
56 public TimeZoneData(CountryZonesFinder countryZonesFinder) { in TimeZoneData() method in TimeZoneData
DFilteredCountryTimeZones.java72 return TimeZoneData.normalizeRegionId(mCountryTimeZones.getCountryIso()); in getRegionId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataTest.java52 TimeZoneData timeZoneData = new TimeZoneData(mCountryZonesFinder); in testRegionsWithTimeZone()
63 TimeZoneData timeZoneData = new TimeZoneData(mCountryZonesFinder); in testGetRegionIds()
67 timeZoneData = new TimeZoneData(mCountryZonesFinder); in testGetRegionIds()
73 TimeZoneData timeZoneData = new TimeZoneData(mCountryZonesFinder); in testLookupCountryCodesForZoneId()
98 TimeZoneData timeZoneData = new TimeZoneData(mCountryZonesFinder); in lookupCountryCodesForNonCanonicalZoneId_returnsCurrentZone()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DFixedOffsetPickerTest.java28 import com.android.settings.datetime.timezone.model.TimeZoneData;
56 List<TimeZoneInfo> infos = picker.getAllTimeZoneInfos(new TimeZoneData(mFinder)); in getAllTimeZoneInfos_containsUtcAndGmtZones()
66 BaseTimeZoneAdapter adapter = picker.createAdapter(new TimeZoneData(mFinder)); in createAdapter_verifyTitleAndOffset()
79 public BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
DBaseTimeZoneInfoPickerTest.java24 import com.android.settings.datetime.timezone.model.TimeZoneData;
61 BaseTimeZoneAdapter adapter = picker.createAdapter(mock(TimeZoneData.class)); in createAdapter_matchTimeZoneInfoAndOrder()
84 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos()
107 public BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
DTimeZoneSettingsTest.java24 import com.android.settings.datetime.timezone.model.TimeZoneData;
42 TimeZoneData timeZoneData = mock(TimeZoneData.class); in findRegionIdForTzId_matchExpectedCountry()
DRegionSearchPickerTest.java35 import com.android.settings.datetime.timezone.model.TimeZoneData;
67 BaseTimeZoneAdapter adapter = picker.createAdapter(new TimeZoneData(finder)); in createAdapter_matchRegionName()
87 BaseTimeZoneAdapter<RegionItem> adapter = picker.createAdapter(new TimeZoneData(finder)); in clickItemView_duringRegionSearch_shouldNotCrash()
/packages/apps/TimeZoneData/oem_template/xts/
DREADME.oem1 This file originates from package/apps/TimeZoneData/oem_template/xts.
9 integration and sign their own TimeZoneData app; no CTS-provided TimeZoneData app would be
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZonePicker.java38 import com.android.settings.datetime.timezone.model.TimeZoneData;
68 private TimeZoneData mTimeZoneData;
109 public void onTimeZoneDataReady(TimeZoneData timeZoneData) { in onTimeZoneDataReady()
126 protected abstract BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData); in createAdapter()
DTimeZoneSettings.java41 import com.android.settings.datetime.timezone.model.TimeZoneData;
76 private TimeZoneData mTimeZoneData;
164 void setTimeZoneData(TimeZoneData timeZoneData) { in setTimeZoneData()
168 private void onTimeZoneDataReady(TimeZoneData timeZoneData) { in onTimeZoneDataReady()
237 private void onZonePickerRequestResult(TimeZoneData timeZoneData, Intent data) { in onZonePickerRequestResult()
DRegionSearchPicker.java33 import com.android.settings.datetime.timezone.model.TimeZoneData;
49 private TimeZoneData mTimeZoneData;
61 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
DBaseTimeZoneInfoPicker.java30 import com.android.settings.datetime.timezone.model.TimeZoneData;
50 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
73 public abstract List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData); in getAllTimeZoneInfos()
DFixedOffsetPicker.java23 import com.android.settings.datetime.timezone.model.TimeZoneData;
52 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos()
DRegionZonePicker.java32 import com.android.settings.datetime.timezone.model.TimeZoneData;
87 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos()
/packages/apps/TimeZoneData/oem_template/data_app_prebuilt/
Dinclude_app_prebuilt.mk27 LOCAL_SRC_FILES := TimeZoneData$(TIME_ZONE_DATA_APP_SUFFIX).apk
28 LOCAL_OVERRIDES_PACKAGES := TimeZoneData$(TIME_ZONE_DATA_APP_SUFFIX)
DREADME.oem1 This file originates from package/apps/TimeZoneData/oem_template/data_app_prebuilt.
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataTest.java33 private TimeZoneData mTimeZoneData;
36 mTimeZoneData = TimeZoneData.getInstance(); in setUp()
/packages/apps/TimeZoneData/oem_template/data_app/
DREADME.oem1 This file originates from package/apps/TimeZoneData/oem_template/data_app.
10 cp -r data_app ${ANDROID_BUILD_TOP}/vendor/oemcorp/apps/TimeZoneData
Dbuild_oem_data_app.mk40 LOCAL_PACKAGE_NAME := TimeZoneData$(TIME_ZONE_DATA_APP_SUFFIX)
/packages/apps/TimeZoneUpdater/
DOWNERS1 include platform/packages/apps/TimeZoneData:/OWNERS