Home
last modified time | relevance | path

Searched refs:getTimeZone (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java90 final TimeZone timeZone = TimeZone.getTimeZone(TIME_ZONE_LA_ID); in getTimeZoneOffsetAndName_withTtsSpan()
102 final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in testTimeZoneOffsetAndNameInner()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzData.java75 Calendar c = Calendar.getInstance(TimeZone.getTimeZone("GMT")); in parse()
128 zone = TimeZone.getTimeZone(tzname); in parse()
DTimeZoneLookupHelper.java222 return result != null ? TimeZone.getTimeZone(result.zoneId) : null; in guessZoneByNitzStatic()
249 TimeZone tz = TimeZone.getTimeZone(zone); in lookupByInstantOffsetDst()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DDateUtils.java39 TimeZone tz = TimeZone.getTimeZone("GMT"); in getKMLTimestamp()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java141 final TimeZone tz = TimeZone.getTimeZone(tzId); in loadTzs()
338 final TimeZone tz = TimeZone.getTimeZone(newTzId); in loadTzsInZoneTab()
387 final TimeZone tz = TimeZone.getTimeZone(timeZoneId); in loadTzsInZoneTab()
419 TimeZone defaultTz = TimeZone.getTimeZone(mDefaultTimeZoneId); in loadTzsInZoneTab()
DTimeZonePickerUtils.java67 TimeZone timezone = TimeZone.getTimeZone(id); in getGmtDisplayName()
/frameworks/base/core/java/android/util/
DTimeUtils.java41 public static java.util.TimeZone getTimeZone( in getTimeZone() method in TimeUtils
47 return icuTimeZone != null ? java.util.TimeZone.getTimeZone(icuTimeZone.getID()) : null; in getTimeZone()
/frameworks/base/core/java/android/widget/
DTextClock.java271 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime()
455 public String getTimeZone() { in getTimeZone() method in TextClock
DAnalogClock.java256 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
DCalendarViewLegacyDelegate.java953 + date.getTimeZone().getOffset(date.getTimeInMillis()); in getWeeksSinceMinDate()
955 + mMinDate.getTimeZone().getOffset(mMinDate.getTimeInMillis()); in getWeeksSinceMinDate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTimeZoneLookupHelperTest.java323 TimeZone timeZone = TimeZone.getTimeZone(lookupResult.zoneId); in assertOffsetResultZoneOffsets()
346 GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); in createUtcTime()
DNitzDataTest.java111 GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); in createUtcTime()
DNitzStateMachineTest.java425 Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("Etc/UTC")); in createUtcTime()
645 mZone = TimeZone.getTimeZone(zoneId); in Scenario()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java191 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));
193 mClockFormat.setTimeZone(mCalendar.getTimeZone());
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java478 .getInstance(TimeZone.getTimeZone("UTC"));
481 sExifGPSDateStamp.setTimeZone(TimeZone.getTimeZone("UTC"));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java258 TimeZone zone = TimeZone.getTimeZone(tz); in format()
/frameworks/base/media/java/android/media/
DMetadata.java500 TimeZone tz = TimeZone.getTimeZone(timeZone); in getDate()
/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/
DTextClassificationTest.java145 Calendar referenceTime = Calendar.getInstance(TimeZone.getTimeZone("GMT"), Locale.US); in testParcelOptions()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java53 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in setup()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java268 Calendar c = Calendar.getInstance(TimeZone.getTimeZone("UTC")); in toUTCString()
/frameworks/base/obex/javax/obex/
DObexHelper.java267 temp.setTimeZone(TimeZone.getTimeZone("UTC")); in updateHeaderSet()
494 if (dateHeader.getTimeZone().getID().equals("UTC")) { in createHeader()
/frameworks/base/core/java/android/text/format/
DDateFormat.java543 TimeZone tz = inDate.getTimeZone(); in getTimeZoneString()
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java339 cal.setTimeZone(Calendar.getInstance().getTimeZone());
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java377 final TimeZone tz = TimeZone.getTimeZone(olsonId);
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java208 Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("UTC")); in normalizeDate()

12