Home
last modified time | relevance | path

Searched refs:Events (Results 1 – 25 of 62) sorted by relevance

123

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java49 import android.provider.CalendarContract.Events;
103 new String[] {Events._ID};
106 Events._SYNC_ID,
107 Events.RRULE,
108 Events.RDATE,
109 Events.ORIGINAL_ID,
110 Events.ORIGINAL_SYNC_ID,
160 Events._ID,
161 Events.DTSTART,
162 Events.DTEND,
[all …]
DCalendarDatabaseHelper.java35 import android.provider.CalendarContract.Events;
83 Events._SYNC_ID + "," +
84 Events.CALENDAR_ID + "," +
85 Events.TITLE + "," +
86 Events.EVENT_LOCATION + "," +
87 Events.DESCRIPTION + "," +
88 Events.EVENT_COLOR + "," +
89 Events.EVENT_COLOR_KEY + "," +
90 Events.STATUS + "," +
91 Events.SELF_ATTENDEE_STATUS + "," +
[all …]
DCalendarInstancesHelper.java33 import android.provider.CalendarContract.Events;
66 "((" + Events.DTSTART + " <= ? AND "
67 + "(" + Events.LAST_DATE + " IS NULL OR " + Events.LAST_DATE + " >= ?)) OR "
68 + "(" + Events.ORIGINAL_INSTANCE_TIME + " IS NOT NULL AND "
69 + Events.ORIGINAL_INSTANCE_TIME
70 + " <= ? AND " + Events.ORIGINAL_INSTANCE_TIME + " >= ?)) AND "
72 + "(" + Events.LAST_SYNCED + " = ?)";
85 Tables.EVENTS + "." + Events._ID + "=" + Tables.INSTANCES + "." + Instances.EVENT_ID +
87 " WHERE " + Tables.EVENTS + "." + Events._ID + "=? OR " +
88 Tables.EVENTS + "." + Events.ORIGINAL_ID + "=?)";
[all …]
DCalendarDebug.java50 CalendarContract.Events._ID,
99 String where = CalendarContract.Events.CALENDAR_ID + "=" + id; in doInBackground()
101 CalendarContract.Events.CONTENT_URI, EVENTS_PROJECTION, where, in doInBackground()
110 String dirtyWhere = CalendarContract.Events.CALENDAR_ID + "=" + id in doInBackground()
111 + " AND " + CalendarContract.Events.DIRTY + "=1"; in doInBackground()
113 CalendarContract.Events.CONTENT_URI, EVENTS_PROJECTION, dirtyWhere, in doInBackground()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java29 import android.provider.CalendarContract.Events;
69 Events._ID, // 0
70 Events.TITLE, // 1
71 Events.DESCRIPTION, // 2
72 Events.EVENT_LOCATION, // 3
73 Events.ALL_DAY, // 4
74 Events.HAS_ALARM, // 5
75 Events.CALENDAR_ID, // 6
76 Events.DTSTART, // 7
77 Events.DTEND, // 8
[all …]
DEventLocationAdapter.java27 import android.provider.CalendarContract.Events;
127 Events._ID,
128 Events.EVENT_LOCATION,
129 Events.VISIBLE,
134 private static final String LOCATION_WHERE = Events.VISIBLE + "=? AND "
135 + Events.EVENT_LOCATION + " LIKE ?";
433 Cursor c = resolver.query(Events.CONTENT_URI, EVENT_PROJECTION, LOCATION_WHERE, in queryRecentLocations()
434 new String[] { "1", filter }, Events._ID + " DESC"); in queryRecentLocations()
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java33 import android.provider.CalendarContract.Events;
138 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
210 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, eventId); in delete()
347 values.put(Events.STATUS, Events.STATUS_CANCELED); in deleteExceptionEvent()
349 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id); in deleteExceptionEvent()
376 values.put(Events.TITLE, title); in deleteRepeatingEvent()
380 values.put(Events.EVENT_TIMEZONE, timezone); in deleteRepeatingEvent()
381 values.put(Events.ALL_DAY, allDay ? 1 : 0); in deleteRepeatingEvent()
382 values.put(Events.ORIGINAL_ALL_DAY, allDay ? 1 : 0); in deleteRepeatingEvent()
383 values.put(Events.CALENDAR_ID, calendarId); in deleteRepeatingEvent()
[all …]
DGoogleCalendarUriIntentFilter.java33 import android.provider.CalendarContract.Events;
52 Events._ID, // 0
53 Events.DTSTART, // 1
54 Events.DTEND, // 2
55 Events.DURATION, // 3
151 final String selection = Events._SYNC_ID + " LIKE \"%" + syncId + "\" AND " in onCreate()
155 Cursor eventCursor = getContentResolver().query(Events.CONTENT_URI, in onCreate()
222 Events.CONTENT_URI, eventId); in onCreate()
DEventInfoFragment.java55 import android.provider.CalendarContract.Events;
184 Events._ID, // 0 do not remove; used in DeleteEventHelper
185 Events.TITLE, // 1 do not remove; used in DeleteEventHelper
186 Events.RRULE, // 2 do not remove; used in DeleteEventHelper
187 Events.ALL_DAY, // 3 do not remove; used in DeleteEventHelper
188 Events.CALENDAR_ID, // 4 do not remove; used in DeleteEventHelper
189 Events.DTSTART, // 5 do not remove; used in DeleteEventHelper
190 Events._SYNC_ID, // 6 do not remove; used in DeleteEventHelper
191 Events.EVENT_TIMEZONE, // 7 do not remove; used in DeleteEventHelper
192 Events.DESCRIPTION, // 8
[all …]
DCalendarEventModel.java24 import android.provider.CalendarContract.Events;
249 public int mAvailability = Events.AVAILABILITY_BUSY;
267 public int mEventStatus = Events.STATUS_CONFIRMED;
312 String title = intent.getStringExtra(Events.TITLE); in CalendarEventModel()
317 String location = intent.getStringExtra(Events.EVENT_LOCATION); in CalendarEventModel()
322 String description = intent.getStringExtra(Events.DESCRIPTION); in CalendarEventModel()
327 int availability = intent.getIntExtra(Events.AVAILABILITY, -1); in CalendarEventModel()
332 int accessLevel = intent.getIntExtra(Events.ACCESS_LEVEL, -1); in CalendarEventModel()
342 String rrule = intent.getStringExtra(Events.RRULE); in CalendarEventModel()
434 mEventStatus = Events.STATUS_CONFIRMED; in clear()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java28 import android.provider.CalendarContract.Events;
260 mExpectedValues.put(Events.DTSTART, TEST_START + dayInMs); in moveExpectedTimeValuesForwardOneDay()
261 mExpectedValues.put(Events.DTEND, TEST_END + dayInMs); in moveExpectedTimeValuesForwardOneDay()
405 mExpectedValues.put(Events.HAS_ALARM, 0); in verifySaveEventNewEvent()
406 mExpectedValues.put(Events.HAS_ATTENDEE_DATA, 1); in verifySaveEventNewEvent()
408 .newInsert(Events.CONTENT_URI) in verifySaveEventNewEvent()
451 mExpectedValues.put(Events.HAS_ALARM, 0); in verifySaveEventModifyRecurring()
502 mExpectedValues.put(Events.HAS_ALARM, 0); in verifySaveEventRecurringToNonRecurring()
510 .newInsert(Events.CONTENT_URI) in verifySaveEventRecurringToNonRecurring()
590 mExpectedValues.put(Events.HAS_ALARM, 0); in verifySaveEventUpdateNonRecurring()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleDeskClockApiCalls.java27 import com.android.deskclock.events.Events;
125 Events.sendStopwatchEvent(R.string.action_show, eventLabel); in handleStopwatchIntent()
132 Events.sendStopwatchEvent(R.string.action_start, eventLabel); in handleStopwatchIntent()
138 Events.sendStopwatchEvent(R.string.action_pause, eventLabel); in handleStopwatchIntent()
145 Events.sendStopwatchEvent(R.string.action_reset, eventLabel); in handleStopwatchIntent()
155 Events.sendStopwatchEvent(R.string.action_lap, eventLabel); in handleStopwatchIntent()
187 Events.sendTimerEvent(R.string.action_show, eventLabel); in handleTimerIntent()
229 Events.sendTimerEvent(R.string.action_start, eventLabel); in handleTimerIntent()
235 Events.sendTimerEvent(R.string.action_pause, eventLabel); in handleTimerIntent()
264 Events.sendClockEvent(R.string.action_show, label); in handleClockIntent()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java38 import android.provider.CalendarContract.Events;
98 private Uri mEventsUri = Events.CONTENT_URI;
250 if (CalendarContract.Events.STATUS.equals(pair.key)) { in execute()
257 if (map.size() == 1 && map.containsKey(Events.STATUS)) { in execute()
408 int titleColumn = cursor.getColumnIndex(Events.TITLE); in execute()
409 int allDayColumn = cursor.getColumnIndex(Events.ALL_DAY); in execute()
852 new KeyValue(CalendarContract.Events.STATUS,
853 Integer.toString(CalendarContract.Events.STATUS_CANCELED)),
899 new KeyValue(Events.RRULE, "FREQ=DAILY;UNTIL=20080505T150000Z;WKST=SU"),
909 new KeyValue(Events.RRULE, "FREQ=DAILY;UNTIL=20080502T150000Z;WKST=SU"),
[all …]
DRecurrenceSetTest.java108 values.put(CalendarContract.Events.DTSTART, 0); in testRRULEfolding()
109 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
110 values.put(CalendarContract.Events.RRULE, RRULE_LESS_THAN_75_CHARS); in testRRULEfolding()
124 values.put(CalendarContract.Events.DTSTART, 0); in testRRULEfolding()
125 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
126 values.put(CalendarContract.Events.RRULE, RRULE_MORE_THAN_75_CHARS); in testRRULEfolding()
137 values.put(CalendarContract.Events.DTSTART, 0); in testRRULEfolding()
138 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
139 values.put(CalendarContract.Events.RRULE, STRING_WITH_160_CHARS); in testRRULEfolding()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DGlobalDismissManager.java31 import android.provider.CalendarContract.Events;
177 Events._ID,
178 Events.CALENDAR_ID
181 Events._ID,
182 Events._SYNC_ID
298 Uri uri = asSync(Events.CONTENT_URI, dismissId.mAccountType, in syncSenderDismissCache()
301 Events._ID + " = " + dismissId.mEventId, null, null); in syncSenderDismissCache()
304 int sync_id_idx = cursor.getColumnIndex(Events._SYNC_ID); in syncSenderDismissCache()
423 String eventSelection = buildMultipleIdQuery(eventIds, Events._ID); in lookupEventToCalendarMap()
424 Cursor eventCursor = resolver.query(Events.CONTENT_URI, EVENT_PROJECTION, in lookupEventToCalendarMap()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java433 Log.event(this, Log.Events.CREATED); in Call()
511 Log.event(this, Log.Events.DESTROYED); in destroy()
650 event = Log.Events.SET_ACTIVE; in setState()
653 event = Log.Events.SET_CONNECTING; in setState()
656 event = Log.Events.SET_DIALING; in setState()
659 event = Log.Events.SET_DISCONNECTED; in setState()
663 event = Log.Events.SET_DISCONNECTING; in setState()
666 event = Log.Events.SET_HOLD; in setState()
669 event = Log.Events.SET_SELECT_PHONE_ACCOUNT; in setState()
672 event = Log.Events.SET_RINGING; in setState()
[all …]
DRinger.java108 Log.event(foregroundCall, Log.Events.SKIP_RINGING); in startRinging()
122 Log.event(foregroundCall, Log.Events.START_RINGER); in startRinging()
145 Log.event(call, Log.Events.SKIP_RINGING); in startCallWaiting()
154 Log.event(call, Log.Events.START_CALL_WAITING_TONE); in startCallWaiting()
164 Log.event(mRingingCall, Log.Events.STOP_RINGER); in stopRinging()
180 Log.event(mCallWaitingCall, Log.Events.STOP_CALL_WAITING_TONE); in stopCallWaiting()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java26 import com.android.deskclock.events.Events;
47 Events.sendStopwatchEvent(R.string.action_start, R.string.label_notification); in onStartCommand()
52 Events.sendStopwatchEvent(R.string.action_pause, R.string.label_notification); in onStartCommand()
57 Events.sendStopwatchEvent(R.string.action_lap, R.string.label_notification); in onStartCommand()
63 Events.sendStopwatchEvent(R.string.action_reset, R.string.label_notification); in onStartCommand()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerService.java28 import com.android.deskclock.events.Events;
116 Events.sendTimerEvent(R.string.action_start, R.string.label_notification); in onStartCommand()
120 Events.sendTimerEvent(R.string.action_pause, R.string.label_notification); in onStartCommand()
124 Events.sendTimerEvent(R.string.action_add_minute, R.string.label_notification); in onStartCommand()
131 Events.sendTimerEvent(R.string.action_fire, R.string.label_intent); in onStartCommand()
/packages/apps/Email/src/com/android/email/activity/
DEventViewer.java48 Cursor c = getContentResolver().query(CalendarContract.Events.CONTENT_URI, in onCreate()
49 new String[] {CalendarContract.Events._ID}, in onCreate()
50 CalendarContract.Events.SYNC_DATA2 + "=?", in onCreate()
65 uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, eventId); in onCreate()
/packages/experimental/PermissionApp2/src/foo/bar/permission2/
DPermissionActivity.java62 CalendarContract.Events.TITLE
71 CalendarContract.Events._ID,
72 CalendarContract.Events.TITLE
130 CalendarContract.Events.CONTENT_URI, in onCreateLoader()
/packages/experimental/PermissionApp/src/foo/bar/permission/
DPermissionActivity.java63 CalendarContract.Events.TITLE
72 CalendarContract.Events._ID,
73 CalendarContract.Events.TITLE
131 CalendarContract.Events.CONTENT_URI, in onCreateLoader()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.java29 import com.android.deskclock.events.Events;
67 Events.sendAlarmEvent(R.string.action_create, R.string.label_deskclock); in asyncAddAlarm()
108 Events.sendAlarmEvent(R.string.action_update, R.string.label_deskclock); in asyncUpdateAlarm()
166 Events.sendAlarmEvent(R.string.action_delete, R.string.label_deskclock); in asyncDeleteAlarm()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DIncomingCallFilter.java69 Log.event(mCall, Log.Events.FILTERING_INITIATED); in performFiltering()
80 Log.event(mCall, Log.Events.FILTERING_TIMED_OUT); in performFiltering()
100 Log.event(mCall, Log.Events.FILTERING_COMPLETED, mResult); in onCallFilteringComplete()
DCallScreeningServiceFilter.java55 Log.event(mCall, Log.Events.SCREENING_BOUND, componentName); in onServiceConnected()
177 Log.event(call, Log.Events.SCREENING_SENT); in startFilterLookup()
188 Log.event(mCall, Log.Events.SCREENING_COMPLETED, mResult); in finishCallScreening()
233 Log.event(mCall, Log.Events.BIND_SCREENING, componentName); in bindService()

123