HomeSort by relevance Sort by last modified time
    Searched refs:RRULE (Results 1 - 21 of 21) sorted by null

  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
RecurrenceSetTest.java 109 values.put(Calendar.Events.RRULE, RRULE_LESS_THAN_75_CHARS);
116 list = component.getProperties("RRULE");
125 values.put(Calendar.Events.RRULE, RRULE_MORE_THAN_75_CHARS);
129 list = component.getProperties("RRULE");
138 values.put(Calendar.Events.RRULE, STRING_WITH_160_CHARS);
142 list = component.getProperties("RRULE");
CalendarProvider2Test.java 457 String rrule, boolean allDay) {
458 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE);
463 String rrule, boolean allDay, String timezone) {
464 init(title, description, startDate, endDate, rrule, allDay, timezone);
468 String rrule, boolean allDay, String timezone) {
494 mRrule = rrule;
512 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone);
1027 String rrule = cursor.getString(5); local
    [all...]
CalendarSyncTestingBase.java 119 m.put(Calendar.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);
  /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/apps/Email/tests/src/com/android/exchange/adapter/
CalendarSyncAdapterTests.java 66 cv.put(Events.RRULE, "FREQ=DAILY");
83 cv.put(Events.RRULE, "FREQ=WEEKLY;BYDAY=MO");
163 cv.put(Events.RRULE, validRrule);
164 // With RRULE, needs DURATION
167 // Valid (DTSTART, RRULE, DURATION)
172 // Valid (DTSTART, RRULE, ALL_DAY, DURATION(P<n>D)
  /packages/apps/Calendar/src/com/android/calendar/
DeleteEventHelper.java 83 Events.RRULE,
178 * <li> Events.RRULE </li>
204 mEventIndexRrule = mCursor.getColumnIndexOrThrow(Events.RRULE);
211 String rRule = mCursor.getString(mEventIndexRrule);
212 if (rRule == null) {
253 String rRule = mCursor.getString(mEventIndexRrule);
318 eventRecurrence.parse(rRule);
334 values.put(Events.RRULE, eventRecurrence.toString());
EditEvent.java 128 Events.RRULE, // 10
639 String rrule = mEventCursor.getString(EVENT_INDEX_RRULE); local
655 mInitialValues.put(Events.RRULE, rrule);
939 String rrule = intent.getStringExtra(Events.RRULE); local
    [all...]
AlertActivity.java 65 CalendarAlerts.RRULE, // 8
Event.java 57 Instances.RRULE, // 14
372 String rrule = c.getString(PROJECTION_RRULE_INDEX); local
374 if (!TextUtils.isEmpty(rrule) || !TextUtils.isEmpty(rdate)) {
AgendaWindowAdapter.java 88 Instances.RRULE, // 6
EventInfoActivity.java 103 Events.RRULE, // 2 do not remove; used in DeleteEventHelper
474 String rRule = mEventCursor.getString(EVENT_INDEX_RRULE);
475 mIsRepeating = (rRule != null);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/pim/
RecurrenceSetTest.java 37 + "RRULE:FREQ=DAILY;UNTIL=20080222T000000Z\n"
47 + "RRULE:FREQ=YEARLY;WKST=SU";
56 + "RRULE:FREQ=YEARLY;WKST=SU";
62 private void verifyPopulateContentValues(String recurrence, String rrule, String rdate,
72 assertEquals(rrule, values.get(android.provider.Calendar.Events.RRULE));
  /frameworks/base/core/java/android/pim/
RecurrenceSet.java 54 String rruleStr = values.getAsString(Calendar.Events.RRULE);
64 * CalendarProvider. The cursor must contain the RRULE, RDATE, EXRULE,
67 * @param cursor The cursor containing the RRULE, RDATE, EXRULE, and EXDATE
72 int rruleColumn = cursor.getColumnIndex(Calendar.Events.RRULE);
98 EventRecurrence rrule = new EventRecurrence(); local
99 rrule.parse(rruleStrs[i]);
100 rrules[i] = rrule;
161 * Populates the database map of values with the appropriate RRULE, RDATE,
168 * one of DTEND/DURATION, and one of RRULE/RDATE. Returns false if
189 String rrule = flattenProperties(component, "RRULE") local
    [all...]
ICalendar.java 231 public static final String RRULE = "RRULE";
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java 91 Events.RRULE,
2451 String rrule = cursor.getString(EVENTS_RRULE_INDEX); local
    [all...]
CalendarAppWidgetService.java 58 Instances.RRULE,
CalendarDatabaseHelper.java 269 "rrule TEXT," +
576 "eventTimezone, eventTimezone2, rrule FROM Events WHERE allDay=?",
592 String rrule = cursor.getString(8); local
600 if (TextUtils.isEmpty(rrule)) {
    [all...]
  /frameworks/base/core/java/android/provider/
Calendar.java 496 public static final String RRULE = "rrule";
687 DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, RRULE);
    [all...]
  /packages/apps/Email/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 50 * Please see RFC2445 for RRULE definition
143 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17"; local
144 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ="));
145 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL="));
146 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY="));
147 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY="));
148 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL="));
407 // Set up a RRULE for this event
408 entity.getEntityValues().put(Events.RRULE, "FREQ=DAILY");
611 String rrule = CalendarUtilities.rruleFromRecurrence local
    [all...]
  /packages/apps/Email/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 316 * Recurring events (i.e. events with RRULE) must have a DURATION
364 if (cv.containsKey(Events.RRULE)) {
502 String rrule = recurrenceParser(ops); local
503 if (rrule != null) {
504 cv.put(Events.RRULE, rrule);
820 String rrule = recurrenceParser(ops); local
1511 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]
  /packages/apps/Email/src/com/android/exchange/utility/
CalendarUtilities.java 190 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour,
192 // MSFT months are 1 based, same as RRule
193 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month);
194 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1
195 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1);
196 // 5 means "last" in MSFT land; for RRule, it's -1
197 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week);
338 * A class for storing RRULE information. The RRULE members can be accessed individually o
1128 StringBuilder rrule = new StringBuilder("FREQ=" + sTypeToFreq[type]); local
1574 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]

Completed in 425 milliseconds