/packages/providers/CalendarProvider/ |
H A D | maketests.py | 81 rrule = ""
variable 101 rrule = re_rrule.group(1)
variable 118 print " \"" + rrule + "\","
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
H A D | CalendarUtilitiesTests.java | 188 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17"; 189 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ=")); 190 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL=")); 191 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY=")); 192 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY=")); 193 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL=")); 662 String rrule = CalendarUtilities.rruleFromRecurrence( 664 assertEquals("FREQ=WEEKLY;COUNT=2;INTERVAL=1;BYDAY=MO", rrule); 666 rrule = CalendarUtilities.rruleFromRecurrence( 668 assertEquals("FREQ=WEEKLY;BYDAY=TU,FR", rrule); 704 testSingleRecurrenceFromRrule(CalendarSyncAdapter adapter, String rrule) argument [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarSyncTestingBase.java | 288 String rrule, boolean allDay) { 289 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE); 294 String rrule, boolean allDay, String timezone) { 295 init(title, description, startDate, endDate, rrule, allDay, timezone); 299 String rrule, boolean allDay, String timezone) { 325 mRrule = rrule; 343 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone); 287 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay) argument 293 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument 298 init(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument
|
H A D | CalendarProvider2Test.java | 537 String rrule, boolean allDay) { 538 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE); 543 String rrule, boolean allDay, String timezone) { 544 init(title, description, startDate, endDate, rrule, allDay, timezone); 548 String rrule, boolean allDay, String timezone) { 574 mRrule = rrule; 592 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone); 1177 String rrule = cursor.getString(5); 1185 if (!values.containsKey(Events.DTEND) && rrule == null) { 1194 if (!values.containsKey(Events.RRULE) && rrule ! 536 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay) argument 542 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument 547 init(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 235 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour, argument 238 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month); 240 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1); 242 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week); 1017 static void addByDay(StringBuilder rrule, int dow, int wom) { argument 1018 rrule.append(";BYDAY="); 1023 rrule.append(','); 1028 rrule.append(wom == 5 ? -1 : wom); 1030 rrule 1037 addBySetpos(StringBuilder rrule, int dow, int wom) argument 1044 addByMonthDay(StringBuilder rrule, int dom) argument 1076 tokenFromRrule(String rrule, String token) argument 1115 addCountIntervalAndUntil(String rrule, Serializer s) argument 1169 recurrenceFromRrule(String rrule, long startTime, Serializer s) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 1454 public static boolean isRecurrenceEvent(String rrule, String rdate, String originalId, argument 1456 return (!TextUtils.isEmpty(rrule) || 1644 * There are two modes, selected based on the presence of "rrule" in modValues: 1723 Log.e(TAG, "Original event has no rrule"); 2015 String rrule = values.getAsString(Events.RRULE); 2020 (TextUtils.isEmpty(rrule) && TextUtils.isEmpty(rdate))) { 2338 String rrule = values.getAsString(Events.RRULE); 2340 if (!TextUtils.isEmpty(rrule)) { 2341 String[] ruleList = rrule.split("\n"); 2403 // rrule i [all...] |