Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java92 final TimeZone timeZone = TimeZone.getTimeZone(TIME_ZONE_LA_ID); in getTimeZoneOffsetAndName_withTtsSpan()
104 final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in testTimeZoneOffsetAndNameInner()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DDateUtils.java39 TimeZone tz = TimeZone.getTimeZone("GMT"); in getKMLTimestamp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzData.java76 Calendar c = Calendar.getInstance(TimeZone.getTimeZone("GMT")); in parse()
129 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/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/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java161 nightTileFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in getSecondaryLabel()
162 c.setTimeZone(nightTileFormat.getTimeZone()); in getSecondaryLabel()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNewNitzStateMachineTest.java572 java.util.TimeZone.getTimeZone(emulatorTimeZoneId) /* emulatorHostTimeZone */); in test_emulatorNitzExtensionUsedForTimeZone()
665 assertEquals(TimeZone.getTimeZone(zoneId1).getOffset(timeMillis), in assertSameOffset()
666 TimeZone.getTimeZone(zoneId2).getOffset(timeMillis)); in assertSameOffset()
671 Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("Etc/UTC")); in createUtcTime()
876 mZone = TimeZone.getTimeZone(zoneId); in Scenario()
DNitzDataTest.java108 GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); in createUtcTime()
DTimeZoneLookupHelperTest.java323 TimeZone timeZone = TimeZone.getTimeZone(lookupResult.zoneId); in assertOffsetResultZoneOffsets()
346 GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); in createUtcTime()
DOldNitzStateMachineTest.java695 java.util.TimeZone.getTimeZone(emulatorTimeZoneId) /* emulatorHostTimeZone */); in test_emulatorNitzExtensionUsedForTimeZone()
789 assertEquals(TimeZone.getTimeZone(zoneId1).getOffset(timeMillis), in assertSameOffset()
790 TimeZone.getTimeZone(zoneId2).getOffset(timeMillis)); in assertSameOffset()
795 Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("Etc/UTC")); in createUtcTime()
1015 mZone = TimeZone.getTimeZone(zoneId); in Scenario()
/frameworks/base/core/java/android/util/
DTimeUtils.java55 public static java.util.TimeZone getTimeZone( in getTimeZone() method in TimeUtils
61 return icuTimeZone != null ? java.util.TimeZone.getTimeZone(icuTimeZone.getID()) : null; in getTimeZone()
/frameworks/base/core/java/android/widget/
DTextClock.java278 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime()
466 public String getTimeZone() { in getTimeZone() method in TextClock
DAnalogClock.java262 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java260 TimeZone zone = TimeZone.getTimeZone(tz); in format()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java478 .getInstance(TimeZone.getTimeZone("UTC"));
481 sExifGPSDateStamp.setTimeZone(TimeZone.getTimeZone("UTC"));
/frameworks/base/media/java/android/media/
DMetadata.java516 TimeZone tz = TimeZone.getTimeZone(timeZone); in getDate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java234 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));
236 mClockFormat.setTimeZone(mCalendar.getTimeZone());
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java69 GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); in createTimestampFormat()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java54 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in setup()
/frameworks/base/obex/javax/obex/
DObexHelper.java267 temp.setTimeZone(TimeZone.getTimeZone("UTC")); in updateHeaderSet()
494 if (dateHeader.getTimeZone().getID().equals("UTC")) { in createHeader()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java311 Calendar c = Calendar.getInstance(TimeZone.getTimeZone("UTC")); in toUTCString()
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DSimpleTimeZoneDetectorStrategyTest.java509 Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("Etc/UTC")); in createUtcTime()
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java339 cal.setTimeZone(Calendar.getInstance().getTimeZone());
/frameworks/base/core/java/android/text/format/
DDateFormat.java549 TimeZone tz = inDate.getTimeZone(); in getTimeZoneString()

12