Home
last modified time | relevance | path

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

/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/opt/telephony/src/java/com/android/internal/telephony/
DTimeServiceHelper.java177 String timeZoneId = SystemProperties.get(TIMEZONE_PROPERTY); in isTimeZoneSettingInitializedStatic() local
178 return timeZoneId != null && timeZoneId.length() > 0 && !timeZoneId.equals("GMT"); in isTimeZoneSettingInitializedStatic()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzStateMachineTest.java464 Script verifyOnlyTimeZoneWasSetAndReset(String timeZoneId, int times) { in verifyOnlyTimeZoneWasSetAndReset() argument
465 mDevice.verifyTimeZoneWasSet(timeZoneId, times); in verifyOnlyTimeZoneWasSetAndReset()
472 Script verifyOnlyTimeZoneWasSetAndReset(String timeZoneId) { in verifyOnlyTimeZoneWasSetAndReset() argument
473 return verifyOnlyTimeZoneWasSetAndReset(timeZoneId, 1); in verifyOnlyTimeZoneWasSetAndReset()
484 Script verifyTimeAndZoneSetAndReset(long expectedTimeMillis, String timeZoneId) { in verifyTimeAndZoneSetAndReset() argument
485 mDevice.verifyTimeZoneWasSet(timeZoneId); in verifyTimeAndZoneSetAndReset()
559 void verifyTimeZoneWasSet(String timeZoneId) { in verifyTimeZoneWasSet() argument
560 verifyTimeZoneWasSet(timeZoneId, 1 /* times */); in verifyTimeZoneWasSet()
563 void verifyTimeZoneWasSet(String timeZoneId, int times) { in verifyTimeZoneWasSet() argument
564 verify(mTimeServiceHelper, times(times)).setDeviceTimeZone(timeZoneId); in verifyTimeZoneWasSet()
DTimeZoneLookupHelperTest.java310 String timeZoneId = lookupResult.zoneId; in assertOffsetResultZoneCountry() local
313 assertTrue(timeZoneId + " must be used in " + isoCountryCode, in assertOffsetResultZoneCountry()
314 zoneIdsByCountry.contains(timeZoneId)); in assertOffsetResultZoneCountry()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java100 private void testTimeZoneOffsetAndNameInner(String timeZoneId, String expectedName) { in testTimeZoneOffsetAndNameInner() argument
102 final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in testTimeZoneOffsetAndNameInner()