Home
last modified time | relevance | path

Searched refs:DEFAULT_TIMEZONE (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java78 private static final String DEFAULT_TIMEZONE = Time.getCurrentTimezone(); field in UtilsTests
163 setTimezone(DEFAULT_TIMEZONE); in setUp()
213 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear()
220 result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear()
230 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_sameYear()
240 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_today()
250 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_todayMidnight()
260 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_tomorrow()
270 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_yesterday()
280 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_multiDay()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java120 private static final String DEFAULT_TIMEZONE = TIME_ZONE_AMERICA_LOS_ANGELES; field in CalendarProvider2Test
344 Time time = new Time(DEFAULT_TIMEZONE); in DumpInstances()
368 Time time = new Time(DEFAULT_TIMEZONE); in QueryNumInstances()
396 Time time = new Time(DEFAULT_TIMEZONE); in VerifyAllInstances()
491 Time time = new Time(DEFAULT_TIMEZONE); in VerifyInstance()
555 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo()
589 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE); in EventInfo()
634 title, description, startDate, endDate, allDay, DEFAULT_TIMEZONE, in EventInfo()
1515 int calendarId0 = insertCal("Calendar0", DEFAULT_TIMEZONE); in testInsertUpdateDeleteColor()
1610 final int calId = insertCal("Calendar0", DEFAULT_TIMEZONE); in testInsertNormalEvents()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java43 private static final String DEFAULT_TIMEZONE = "America/Los_Angeles"; field in CalendarAppWidgetServiceTest
79 TimeZone.setDefault(TimeZone.getTimeZone(DEFAULT_TIMEZONE)); in setUp()