/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 248 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour, 250 // MSFT months are 1 based, same as RRule 251 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month); 252 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1 253 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1); 254 // 5 means "last" in MSFT land; for RRule, it's -1 255 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week); 397 * A class for storing RRULE information. The RRULE members can be accessed individually o 1346 StringBuilder rrule = new StringBuilder("FREQ=" + sTypeToFreq[type]); local 1902 String rrule = entityValues.getAsString(Events.RRULE); local [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 70 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit, 72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz); 77 * @param rrule The rule to expand 88 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit, 94 rrule = rrule.replace("RRULE:", ""); 96 rrule = rrule.replace("\n ", ""); 116 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate) [all...] |
RecurrenceProcessorTest.java | 63 public void verifyRecurrence(String dtstartStr, String rrule, String rdate, String exrule, 66 verifyRecurrence(dtstartStr, rrule, rdate, exrule, exdate, rangeStartStr, 70 public void verifyRecurrence(String dtstartStr, String rrule, String rdate, String exrule, 79 + " RRULE:" + rrule 107 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate); 121 Log.i(TAG, "DTSTART:" + dtstartStr + " RRULE:" + rrule); 133 Log.i(TAG, "DTSTART:" + dtstartStr + " RRULE:" + rrule); 2472 String rrule = performanceRrules[i]; local [all...] |
RecurrenceSetTest.java | 38 + "RRULE:FREQ=DAILY;UNTIL=20080222T000000Z\n" 48 + "RRULE:FREQ=YEARLY;WKST=SU"; 57 + "RRULE:FREQ=YEARLY;WKST=SU"; 62 // Test multi-rule RRULE. 66 + "RRULE:FREQ=YEARLY;WKST=SU\n" 67 + "RRULE:FREQ=MONTHLY;COUNT=3\n" 92 + "RRULE:FREQ=YEARLY\n"; 100 + "RRULE:FREQ=YEARLY\n"; 112 + "RRULE:FREQ=DAILY;UNTIL=20080222T000000Z\n" 122 + "RRULE:FREQ=NEVER;UNTIL=20080222T000000Z\n [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 57 * Please see RFC2445 for RRULE definition 198 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17"; local 199 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ=")); 200 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL=")); 201 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY=")); 202 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY=")); 203 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL=")); 466 // Set up a RRULE for this event 467 entity.getEntityValues().put(Events.RRULE, "FREQ=DAILY"); 672 String rrule = CalendarUtilities.rruleFromRecurrence local [all...] |
/packages/providers/CalendarProvider/ |
maketests.py | 38 RRULE = re.compile("RRULE:(.*)")
81 rrule = ""
variable 99 re_rrule = RRULE.match(s)
101 rrule = re_rrule.group(1)
variable 118 print " \"" + rrule + "\","
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 118 m.put(CalendarContract.Events.RRULE, event.mRrule); 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);
|
CalendarProvider2Test.java | 543 String rrule, boolean allDay) { 544 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE); 549 String rrule, boolean allDay, String timezone) { 550 init(title, description, startDate, endDate, rrule, allDay, timezone); 554 String rrule, boolean allDay, String timezone) { 580 mRrule = rrule; 604 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone); 1265 String rrule = cursor.getString(5); local [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceSet.java | 55 String rruleStr = values.getAsString(CalendarContract.Events.RRULE); 65 * CalendarProvider. The cursor must contain the RRULE, RDATE, EXRULE, 68 * @param cursor The cursor containing the RRULE, RDATE, EXRULE, and EXDATE 73 int rruleColumn = cursor.getColumnIndex(CalendarContract.Events.RRULE); 99 EventRecurrence rrule = new EventRecurrence(); local 100 rrule.parse(rruleStrs[i]); 101 rrules[i] = rrule; 180 * Populates the database map of values with the appropriate RRULE, RDATE, 187 * one of DTEND/DURATION, and one of RRULE/RDATE. Returns false if 211 String rrule = flattenProperties(component, "RRULE") local [all...] |
RecurrenceProcessor.java | 90 for (EventRecurrence rrule : recur.rrules) { 91 if (rrule.count != 0) { 93 } else if (rrule.until != null) { 95 mIterator.parse(rrule.until); 626 * @param recur the recurrence rules, including RRULE, RDATES, EXRULE, and 662 for (EventRecurrence rrule : recur.rrules) { 663 expand(dtstart, rrule, rangeStartDateValue, 751 // we return will not fit the RRULE pattern. [all...] |
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
RecurrencePickerDialog.java | 644 String rrule = b.getString(BUNDLE_RRULE); local 645 if (!TextUtils.isEmpty(rrule)) { 647 mRecurrence.parse(rrule); [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertAdapter.java | 57 String rrule = cursor.getString(AlertActivity.INDEX_RRULE); local 58 if (!TextUtils.isEmpty(rrule)) {
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventHelper.java | 80 Events.RRULE, // 11 368 // ignore the RRULE returned because the exception event doesn't want one. 390 values.put(Events.RRULE, newRrule); 649 values.remove(Events.RRULE); 688 * update to the old event's rrule to do that. 691 * RRULE for the exception event. 723 * TODO: the model assumes RRULE and ignores RDATE, EXRULE, and EXDATE. For the 909 String rrule = model.mRrule; local 1217 String rrule = model.mRrule; local [all...] |
EditEventView.java | 471 // TODO Should give option to clear/reset rrule 629 public void onRecurrenceSet(String rrule) { 630 Log.d(TAG, "Old rrule:" + mRrule); 631 Log.d(TAG, "New rrule:" + rrule); 632 mRrule = rrule; [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
CalendarSyncParser.java | 274 * Recurring events (i.e. events with RRULE) must have a DURATION 324 if (cv.containsKey(Events.RRULE)) { 465 String rrule = recurrenceParser(); local 466 if (rrule != null) { 467 cv.put(Events.RRULE, rrule); 819 String rrule = recurrenceParser(); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
vtzone.cpp | 54 static const UChar ICAL_RRULE[] = {0x52, 0x52, 0x55, 0x4C, 0x45, 0}; /* "RRULE" */ 369 * Parse individual RRULE 380 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, 401 prop_end = rrule.indexOf(SEMICOLON, prop_start); 403 prop.setTo(rrule, prop_start); 406 prop.setTo(rrule, prop_start, prop_end - prop_start); 538 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); local 544 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); 588 // Check if BYMONTH + BYMONTHDAY + BYDAY rule with multiple RRULE lines. 614 rrule = *((UnicodeString*)dates->elementAt(i)) [all...] |
/external/icu4c/i18n/ |
vtzone.cpp | 53 static const UChar ICAL_RRULE[] = {0x52, 0x52, 0x55, 0x4C, 0x45, 0}; /* "RRULE" */ 368 * Parse individual RRULE 379 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, 400 prop_end = rrule.indexOf(SEMICOLON, prop_start); 402 prop.setTo(rrule, prop_start); 405 prop.setTo(rrule, prop_start, prop_end - prop_start); 537 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); local 543 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); 587 // Check if BYMONTH + BYMONTHDAY + BYDAY rule with multiple RRULE lines. 613 rrule = *((UnicodeString*)dates->elementAt(i)) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
Event.java | 81 Instances.RRULE, // 14 408 String rrule = cEvents.getString(PROJECTION_RRULE_INDEX); local 410 if (!TextUtils.isEmpty(rrule) || !TextUtils.isEmpty(rdate)) {
|
CalendarEventModel.java | 342 String rrule = intent.getStringExtra(Events.RRULE); local 343 if (!TextUtils.isEmpty(rrule)) { 344 mRrule = rrule; 682 // if the rrule is no longer empty check if this is an exception
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasSyncCalendar.java | 513 final String rrule = entityValues.getAsString(Events.RRULE); local 514 if (rrule != null) { 515 CalendarUtilities.recurrenceFromRrule(rrule, startTime, localTimeZone, s); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 331 Events.RRULE, 421 // Events.RRULE, 441 * @param rrule Recurrence rule 446 String rrule) { 458 values.put(Events.RRULE, rrule); 3050 String rrule = "FREQ=DAILY;WKST=MO;COUNT=100"; local 3106 String rrule = "FREQ=DAILY;WKST=MO;COUNT=5\\nFREQ=WEEKLY;WKST=SU;COUNT=5"; local 3132 String rrule = "FREQ=OFTEN;WKST=MO"; local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarInstancesHelper.java | 114 Events.RRULE, 175 int rruleColumn = entries.getColumnIndex(Events.RRULE); 267 Log.w(CalendarProvider2.TAG, "Could not parse RRULE recurrence string: " 614 * This may be a recurring event (has an RRULE or RDATE), an exception to a recurring 651 String rrule = values.getAsString(Events.RRULE); local 655 if (CalendarProvider2.isRecurrenceEvent(rrule, rdate, originalId, originalSyncId)) { [all...] |
CalendarProvider2.java | 106 Events.RRULE, 410 ALLOWED_IN_EXCEPTION.add(Events.RRULE); 2090 String rrule = values.getAsString(Events.RRULE); local 2429 String rrule = values.getAsString(Events.RRULE); local 3230 String rrule = cursor.getString(EVENTS_RRULE_INDEX); local [all...] |
CalendarDatabaseHelper.java | 102 Events.RRULE + "," + 548 CalendarContract.Events.RRULE + " TEXT," + 615 + "rrule TEXT," 2546 String rrule = cursor.getString(8); local [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
readdwarf.c | [all...] |