Searched refs:DEFAULT_TIMEZONE (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 94 private static final String DEFAULT_TIMEZONE = Time.getCurrentTimezone(); field in UtilsTests 179 setTimezone(DEFAULT_TIMEZONE); in setUp() 231 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear() 238 result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear() 248 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_sameYear() 258 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_today() 268 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_todayMidnight() 278 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_tomorrow() 288 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_yesterday() 298 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_multiDay() [all …]
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 120 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/ |
D | CalendarAppWidgetServiceTest.java | 43 private static final String DEFAULT_TIMEZONE = "America/Los_Angeles"; field in CalendarAppWidgetServiceTest 79 TimeZone.setDefault(TimeZone.getTimeZone(DEFAULT_TIMEZONE)); in setUp()
|