HomeSort by relevance Sort by last modified time
    Searched full:dtend (Results 1 - 25 of 29) sorted by null

1 2

  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
SyncCalendarTest.java 63 long dtEnd = time.toMillis(false) + ONE_HOUR_IN_MILLIS;
64 EventInfo allDayEvent = new EventInfo("allday0", dtStart, dtEnd, true);
83 long dtEnd = cursor.getLong(cursor.getColumnIndex("dtend"));
85 EventInfo event = new EventInfo(newTitle, dtStart, dtEnd, false);
127 assertEquals(cursor.getLong(cursor.getColumnIndex("dtend")), newDtEnd);
142 long dtEnd = cursor.getLong(cursor.getColumnIndex("dtend"));
145 EventInfo event = new EventInfo(title, dtStart, dtEnd, false, newDescription);
CalendarDatabaseHelperTest.java 83 // TODO: do we need both dtend and duration?
104 "dtend INTEGER," + // millis since epoch
292 "dtend INTEGER," + // millis since epoch
323 mBadDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration," +
329 mGoodDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration," +
336 mBadDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration," +
342 // April 5th midnight with 1 day duration, if only dtend was wrong we wouldn't fix it, but
343 // if anything else is wrong we clear dtend to be sure.
345 "_id,dtstart,dtend,duration," +
357 mBadDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration,dtstart2,dtend2,"
    [all...]
ICalendarTest.java 167 "DTEND:19970715T035959Z\n" +
179 assertEquals(1, event.getProperties("DTEND").size());
180 assertEquals(0, event.getFirstProperty("DTEND").getParameterNames().size());
181 assertEquals("19970715T035959Z", event.getFirstProperty("DTEND").getValue());
CalendarSyncTestingBase.java 115 m.put(CalendarContract.Events.DTEND, event.mDtend);
144 values.put(CalendarContract.Events.DTEND, event.mDtend);
CalendarProvider2Test.java 1251 long dtend = cursor.getLong(2); local
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon/
RecurrenceSetTest.java 37 + "DTEND;TZID=America/New_York:20080221T190000\n"
91 + "DTEND;TZID=America/New_York:20090821T110000\n"
99 + "DTEND;TZID=America/Los_Angeles:20090821T080000\n"
111 + "DTEND;TZID=GMT+05:30:20080221T190000\n"
121 + "DTEND;TZID=GMT+05:30:20080221T190000\n"
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
CalendarSyncAdapterTests.java 124 assertEquals(endTime, cv.getAsLong(Events.DTEND));
142 assertNull(cv.getAsLong(Events.DTEND));
167 assertNull(cv.getAsLong(Events.DTEND));
195 // The exception isn't all-day, so we should have DTEND and LAST_DATE and no EVENT_TIMEZONE
197 assertEquals(endTime, cv.getAsLong(Events.DTEND));
214 // Needs _SYNC_DATA and DTEND/DURATION
217 // Needs DTEND/DURATION since not an exception
224 // Needs DTEND since it's an exception
226 cv.put(Events.DTEND, validTime);
227 // Valid (DTSTART, DTEND, ORIGINAL_INSTANCE_TIME
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
CalendarSyncAdapterTests.java 124 assertEquals(endTime, cv.getAsLong(Events.DTEND));
142 assertNull(cv.getAsLong(Events.DTEND));
167 assertNull(cv.getAsLong(Events.DTEND));
195 // The exception isn't all-day, so we should have DTEND and LAST_DATE and no EVENT_TIMEZONE
197 assertEquals(endTime, cv.getAsLong(Events.DTEND));
214 // Needs _SYNC_DATA and DTEND/DURATION
217 // Needs DTEND/DURATION since not an exception
224 // Needs DTEND since it's an exception
226 cv.put(Events.DTEND, validTime);
227 // Valid (DTSTART, DTEND, ORIGINAL_INSTANCE_TIME
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
MeetingInfo.java 25 public static final String MEETING_DTEND = "DTEND";
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDatabaseHelper.java 92 Events.DTEND + "," +
517 // TODO: do we need both dtend and duration?
534 // dtend in millis since epoch
535 CalendarContract.Events.DTEND + " INTEGER," +
599 // dtend in millis since epoch
600 + "dtend INTEGER,"
668 // dtend in millis since epoch
669 "dtend INTEGER," +
2485 Long dtend; local
2688 long dtend = cursor.getLong(2); local
    [all...]
CalendarProvider2.java 158 Events.DTEND,
393 // dtend -- set from duration as part of creating the exception
721 values.put(Events.DTEND, get2445ToMillis(timezone, dtEnd2445));
1516 Long dtend = values.getAsLong(Events.DTEND); local
    [all...]
CalendarInstancesHelper.java 112 Events.DTEND,
172 int dtendColumn = entries.getColumnIndex(Events.DTEND);
313 // compute the duration from dtend, if we can.
682 Long dtendMillis = values.getAsLong(Events.DTEND);
    [all...]
  /packages/apps/Calendar/tests/src/com/android/calendar/event/
EditEventHelperTest.java 80 "1272931200000", // 8 dtend, Tuesday, May 4th midnight UTC
232 mExpectedValues.put(Events.DTEND, TEST_END + dayInMs);
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 352 * Set DTSTART, DTEND, DURATION and EVENT_TIMEZONE as appropriate for the given Event
354 * Events that aren't exceptions MUST have either 1) a DTEND or 2) a DURATION
410 // For other events, set DTEND and LAST_DATE
412 cv.put(Events.DTEND, endTime);
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 249 entityValues.put(Events.DTEND,
329 entityValues.remove(Events.DTEND);
383 assertEquals("20100413", vevent.get("DTEND;VALUE=DATE"));
445 assertNotNull(vevent.get("DTEND"));
447 assertNull(vevent.get("DTEND;VALUE=DATE"));
518 // We should have DTSTART/DTEND with time zone
520 assertNotNull(vevent.get("DTEND;TZID=" + timeZone.getID()));
522 assertNull(vevent.get("DTEND"));
524 assertNull(vevent.get("DTEND;VALUE=DATE"));
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 249 entityValues.put(Events.DTEND,
329 entityValues.remove(Events.DTEND);
383 assertEquals("20100413", vevent.get("DTEND;VALUE=DATE"));
445 assertNotNull(vevent.get("DTEND"));
447 assertNull(vevent.get("DTEND;VALUE=DATE"));
518 // We should have DTSTART/DTEND with time zone
520 assertNotNull(vevent.get("DTEND;TZID=" + timeZone.getID()));
522 assertNull(vevent.get("DTEND"));
524 assertNull(vevent.get("DTEND;VALUE=DATE"));
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon/
RecurrenceSet.java 176 * one of DTEND/DURATION, and one of RRULE/RDATE. Returns false if
210 Log.d(TAG, "Recurrence missing DTSTART, DTEND/DURATION, "
464 // must compute a duration from the DTEND
466 component.getFirstProperty("DTEND");
468 // no DURATION, no DTEND: 0 second duration
ICalendar.java 221 * A property within an iCalendar component (e.g., DTSTART, DTEND, etc.,
228 public static final String DTEND = "DTEND";
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java 305 Events.DTEND,
365 values.put(Events.DTEND, seed + DateUtils.HOUR_IN_MILLIS);
372 // Must be 0 or dtstart/dtend will get adjusted.
442 // Add in the recurrence-specific fields, and drop DTEND.
445 values.remove(Events.DTEND);
474 values.put(Events.DTEND, seed + DateUtils.HOUR_IN_MILLIS);
2263 long dtend = eventValues.getAsLong(Events.DTEND); local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventHelper.java 70 Events.DTEND, // 8
608 values.remove(Events.DTEND);
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
GoogleCalendarUriIntentFilter.java 56 Events.DTEND, // 2
DeleteEventHelper.java 385 values.put(Events.DTEND, mEndMillis);
  /frameworks/base/docs/html/guide/topics/providers/
calendar-provider.jd 424 <td>{@link android.provider.CalendarContract.EventsColumns#DTEND}</td>
524 android.provider.CalendarContract.EventsColumns#DTEND}. </li>
535 android.provider.CalendarContract.EventsColumns#RRULE} in conjunction with {@link android.provider.CalendarContract.EventsColumns#DTSTART} and {@link android.provider.CalendarContract.EventsColumns#DTEND}, and the Calendar application
561 values.put(Events.DTEND, endMillis);
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
CalendarUtilities.java     [all...]
  /frameworks/base/core/java/android/provider/
CalendarContract.java     [all...]

Completed in 1241 milliseconds

1 2