Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorCallbackImpl.java68 String timeZoneId = getDeviceTimeZone(); in isDeviceTimeZoneInitialized() local
69 return timeZoneId != null && timeZoneId.length() > 0 && !timeZoneId.equals("GMT"); in isDeviceTimeZoneInitialized()
DTimeZoneDetectorStrategyImpl.java205 String timeZoneId = suggestion.getZoneId(); in suggestManualTimeZone() local
207 setDeviceTimeZoneIfRequired(ORIGIN_MANUAL, timeZoneId, cause); in suggestManualTimeZone()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java107 public int findIndexByTimeZoneIdSlow(String timeZoneId) { in findIndexByTimeZoneIdSlow() argument
110 if (timeZoneId.equals(tzi.mTzId)) { in findIndexByTimeZoneIdSlow()
385 final String timeZoneId = fields[2]; in loadTzsInZoneTab() local
387 final TimeZone tz = TimeZone.getTimeZone(timeZoneId); in loadTzsInZoneTab()
389 Log.e(TAG, "Timezone not found: " + timeZoneId); in loadTzsInZoneTab()
399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) { in loadTzsInZoneTab()
400 processedTimeZones.add(timeZoneId); in loadTzsInZoneTab()
417 && timeZoneId.equals(mAlternateDefaultTimeZoneId)) { in loadTzsInZoneTab()
450 Log.e(TAG, "# Adding time zone: " + timeZoneId + " ## " + in loadTzsInZoneTab()
456 Log.e(TAG, "# Dropping identical time zone: " + timeZoneId + " ## " + in loadTzsInZoneTab()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeMigrationUtilsTest.java104 for (String timeZoneId : timeZoneIds) { in formatMillisAsDateTime_matchesOldBehavior()
105 TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in formatMillisAsDateTime_matchesOldBehavior()
113 "locale=" + locale + ", timeZoneId=" + timeZoneId in formatMillisAsDateTime_matchesOldBehavior()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java102 private void testTimeZoneOffsetAndNameInner(String timeZoneId, String expectedName) { in testTimeZoneOffsetAndNameInner() argument
104 final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in testTimeZoneOffsetAndNameInner()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineTestSupport.java156 Scenario changeCountry(String timeZoneId, String networkCountryIsoCode) { in changeCountry() argument
158 mZone = zone(timeZoneId); in changeCountry()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java521 void assertTimeZoneSet(String timeZoneId) { in assertTimeZoneSet() argument
524 mTimeZoneId.assertLatestEquals(timeZoneId); in assertTimeZoneSet()