/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() 509 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear() 516 result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear() 526 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_sameYear() 536 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_today() 546 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_todayMidnight() 556 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_tomorrow() 566 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_yesterday() 576 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 | 110 private static final String DEFAULT_TIMEZONE = TIME_ZONE_AMERICA_LOS_ANGELES; field in CalendarProvider2Test 299 Time time = new Time(DEFAULT_TIMEZONE); in DumpInstances() 323 Time time = new Time(DEFAULT_TIMEZONE); in QueryNumInstances() 351 Time time = new Time(DEFAULT_TIMEZONE); in VerifyAllInstances() 446 Time time = new Time(DEFAULT_TIMEZONE); in VerifyInstance() 510 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo() 544 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE); in EventInfo() 589 title, description, startDate, endDate, allDay, DEFAULT_TIMEZONE, in EventInfo() 1373 int calendarId0 = insertCal("Calendar0", DEFAULT_TIMEZONE); in testInsertUpdateDeleteColor() 1468 final int calId = insertCal("Calendar0", DEFAULT_TIMEZONE); in testInsertNormalEvents() [all …]
|
D | CalendarSyncTestingBase.java | 48 static final String DEFAULT_TIMEZONE = "America/Los_Angeles"; field in CalendarSyncTestingBase 235 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo() 241 mTimezone = DEFAULT_TIMEZONE; in EventInfo() 252 mTimezone = DEFAULT_TIMEZONE; in EventInfo() 289 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE); in EventInfo() 333 title, description, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo()
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 42 private static final String DEFAULT_TIMEZONE = "America/Los_Angeles"; field in CalendarAppWidgetServiceTest 78 TimeZone.setDefault(TimeZone.getTimeZone(DEFAULT_TIMEZONE)); in setUp()
|