Home
last modified time | relevance | path

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

123

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java57 import android.provider.CalendarContract.Events;
116 new String[] {Events._ID};
119 Events._SYNC_ID,
120 Events.RRULE,
121 Events.RDATE,
122 Events.ORIGINAL_ID,
123 Events.ORIGINAL_SYNC_ID,
173 Events._ID,
174 Events.DTSTART,
175 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/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java61 put(LogUtils.Events.SET_SELECT_PHONE_ACCOUNT,
63 put(LogUtils.Events.REQUEST_HOLD, AnalyticsEvent.REQUEST_HOLD);
64 put(LogUtils.Events.REQUEST_UNHOLD, AnalyticsEvent.REQUEST_UNHOLD);
65 put(LogUtils.Events.SWAP, AnalyticsEvent.SWAP);
66 put(LogUtils.Events.SKIP_RINGING, AnalyticsEvent.SKIP_RINGING);
67 put(LogUtils.Events.CONFERENCE_WITH, AnalyticsEvent.CONFERENCE_WITH);
68 put(LogUtils.Events.SPLIT_FROM_CONFERENCE, AnalyticsEvent.SPLIT_CONFERENCE);
69 put(LogUtils.Events.SET_PARENT, AnalyticsEvent.SET_PARENT);
70 put(LogUtils.Events.MUTE, AnalyticsEvent.MUTE);
71 put(LogUtils.Events.UNMUTE, AnalyticsEvent.UNMUTE);
[all …]
DRinger.java247 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Dialer handles"); in startRinging()
250 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Silent ringing " in startRinging()
271 Log.addEvent(foregroundCall, LogUtils.Events.START_RINGER); in startRinging()
324 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Inaudible: " + reason); in startRinging()
336 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_VIBRATION, in startRinging()
372 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_VIBRATION, "already vibrating"); in maybeStartVibration()
409 Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Dialer handles"); in startCallWaiting()
414 Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Self-managed"); in startCallWaiting()
423 Log.addEvent(call, LogUtils.Events.START_CALL_WAITING_TONE, reason); in startCallWaiting()
433 Log.addEvent(mRingingCall, LogUtils.Events.STOP_RINGER); in stopRinging()
[all …]
DCall.java672 Log.addEvent(this, LogUtils.Events.CREATED, callingPackage); in initAnalytics()
689 Log.addEvent(this, LogUtils.Events.DESTROYED); in destroy()
940 event = LogUtils.Events.SET_ACTIVE; in setState()
943 event = LogUtils.Events.SET_CONNECTING; in setState()
946 event = LogUtils.Events.SET_DIALING; in setState()
949 event = LogUtils.Events.SET_PULLING; in setState()
952 event = LogUtils.Events.SET_DISCONNECTED; in setState()
956 event = LogUtils.Events.SET_DISCONNECTING; in setState()
959 event = LogUtils.Events.SET_HOLD; in setState()
962 event = LogUtils.Events.SET_SELECT_PHONE_ACCOUNT; in setState()
[all …]
DCallAudioRouteStateMachine.java163 put(CallAudioState.ROUTE_BLUETOOTH, LogUtils.Events.AUDIO_ROUTE_BT);
164 put(CallAudioState.ROUTE_EARPIECE, LogUtils.Events.AUDIO_ROUTE_EARPIECE);
165 put(CallAudioState.ROUTE_SPEAKER, LogUtils.Events.AUDIO_ROUTE_SPEAKER);
166 put(CallAudioState.ROUTE_WIRED_HEADSET, LogUtils.Events.AUDIO_ROUTE_HEADSET);
240 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in enter()
244 AUDIO_ROUTE_TO_LOG_EVENT.get(getRouteCode(), LogUtils.Events.AUDIO_ROUTE)); in enter()
250 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in exit()
265 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
271 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
279 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
[all …]
DVideoProviderProxy.java159 Log.addEvent(mCall, LogUtils.Events.RECEIVE_VIDEO_REQUEST, in receiveSessionModifyRequest()
172 Log.addEvent(mCall, LogUtils.Events.SEND_VIDEO_RESPONSE, in receiveSessionModifyRequest()
213 Log.addEvent(mCall, LogUtils.Events.RECEIVE_VIDEO_RESPONSE, eventMessage); in receiveSessionModifyResponse()
439 Log.addEvent(mCall, LogUtils.Events.SEND_VIDEO_REQUEST, in onSendSessionModifyRequest()
466 Log.addEvent(mCall, LogUtils.Events.SEND_VIDEO_RESPONSE, in onSendSessionModifyResponse()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/
DCrossProfileCalendarHelper.java46 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events._ID);
47 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.CALENDAR_ID);
48 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.TITLE);
49 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.EVENT_LOCATION);
50 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.EVENT_COLOR);
51 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.STATUS);
52 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.DTSTART);
53 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.DTEND);
54 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.EVENT_TIMEZONE);
55 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.EVENT_END_TIMEZONE);
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java39 import android.provider.CalendarContract.Events;
104 private Uri mEventsUri = Events.CONTENT_URI;
286 if (CalendarContract.Events.STATUS.equals(pair.key)) { in execute()
293 if (map.size() == 1 && map.containsKey(Events.STATUS)) { in execute()
444 int titleColumn = cursor.getColumnIndex(Events.TITLE); in execute()
445 int allDayColumn = cursor.getColumnIndex(Events.ALL_DAY); in execute()
888 new KeyValue(CalendarContract.Events.STATUS,
889 Integer.toString(CalendarContract.Events.STATUS_CANCELED)),
935 new KeyValue(Events.RRULE, "FREQ=DAILY;UNTIL=20080505T150000Z;WKST=SU"),
945 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/
DEventInfoFragment.java54 import android.provider.CalendarContract.Events;
171 Events._ID, // 0 do not remove; used in DeleteEventHelper
172 Events.TITLE, // 1 do not remove; used in DeleteEventHelper
173 Events.RRULE, // 2 do not remove; used in DeleteEventHelper
174 Events.ALL_DAY, // 3 do not remove; used in DeleteEventHelper
175 Events.CALENDAR_ID, // 4 do not remove; used in DeleteEventHelper
176 Events.DTSTART, // 5 do not remove; used in DeleteEventHelper
177 Events._SYNC_ID, // 6 do not remove; used in DeleteEventHelper
178 Events.EVENT_TIMEZONE, // 7 do not remove; used in DeleteEventHelper
179 Events.DESCRIPTION, // 8
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/enterprise/
DCrossProfileCalendarHelperTest.java20 import android.provider.CalendarContract.Events;
53 Events._ID, in testProjectionNotWhitelisted_throwErrorForEvents()
54 Events.DESCRIPTION in testProjectionNotWhitelisted_throwErrorForEvents()
57 mHelper.getCalibratedProjection(projection, Events.CONTENT_URI); in testProjectionNotWhitelisted_throwErrorForEvents()
58 fail(String.format("Exception not found for projection %s", Events.DESCRIPTION)); in testProjectionNotWhitelisted_throwErrorForEvents()
67 Events.DESCRIPTION in testProjectionNotWhitelisted_throwErrorForInstances()
71 fail(String.format("Exception not found for projection %s", Events.DESCRIPTION)); in testProjectionNotWhitelisted_throwErrorForInstances()
85 final String[] projection = mHelper.getCalibratedProjection(null, Events.CONTENT_URI); in testNoProjection_getFullWhitelistedProjectionForEvents()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java26 import com.android.deskclock.events.Events;
61 final int label = intent.getIntExtra(Events.EXTRA_EVENT_LABEL, R.string.label_intent); in onStartCommand()
64 Events.sendStopwatchEvent(R.string.action_show, label); in onStartCommand()
74 Events.sendStopwatchEvent(R.string.action_start, label); in onStartCommand()
79 Events.sendStopwatchEvent(R.string.action_pause, label); in onStartCommand()
84 Events.sendStopwatchEvent(R.string.action_reset, label); in onStartCommand()
89 Events.sendStopwatchEvent(R.string.action_lap, label); in onStartCommand()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRefreshHelper.java25 import com.android.documentsui.base.Events;
41 if (Events.isMouseEvent(e)) { in onInterceptTouchEvent()
42 if (Events.isActionDown(e)) { in onInterceptTouchEvent()
48 if (Events.isActionDown(e) && rv.computeVerticalScrollOffset() != 0) { in onInterceptTouchEvent()
53 if (Events.isActionUp(e)) { in onInterceptTouchEvent()
61 if (Events.isActionUp(e)) { in onTouchEvent()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerService.java28 import com.android.deskclock.events.Events;
116 final int label = intent.getIntExtra(Events.EXTRA_EVENT_LABEL, R.string.label_intent); in onStartCommand()
148 Events.sendTimerEvent(R.string.action_show, label); in onStartCommand()
161 Events.sendTimerEvent(R.string.action_start, label); in onStartCommand()
165 Events.sendTimerEvent(R.string.action_pause, label); in onStartCommand()
169 Events.sendTimerEvent(R.string.action_add_minute, label); in onStartCommand()
176 Events.sendTimerEvent(R.string.action_fire, label); in onStartCommand()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.java32 import com.android.deskclock.events.Events;
81 Events.sendAlarmEvent(newState ? R.string.action_enable : R.string.action_disable, in setAlarmEnabled()
91 Events.sendAlarmEvent(R.string.action_toggle_vibrate, R.string.label_deskclock); in setAlarmVibrationEnabled()
131 Events.sendAlarmEvent(R.string.action_toggle_repeat_days, R.string.label_deskclock); in setAlarmRepeatEnabled()
153 Events.sendAlarmEvent(R.string.action_delete, R.string.label_deskclock); in onDeleteClicked()
160 Events.sendAlarmEvent(R.string.action_set_time, R.string.label_deskclock); in onClockClicked()
174 Events.sendAlarmEvent(R.string.action_set_ringtone, R.string.label_deskclock); in onRingtoneClicked()
182 Events.sendAlarmEvent(R.string.action_set_label, R.string.label_deskclock); in onEditLabelClicked()
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessor.java101 ? LogUtils.Events.REDIRECTION_SENT_USER in onServiceBound()
102 : LogUtils.Events.REDIRECTION_SENT_CARRIER, mComponentName); in onServiceBound()
134 ? LogUtils.Events.REDIRECTION_BOUND_USER in onServiceConnected()
135 : LogUtils.Events.REDIRECTION_BOUND_CARRIER, componentName); in onServiceConnected()
305 Log.addEvent(mCall, LogUtils.Events.REDIRECTION_COMPLETED_USER); in onCallRedirectionComplete()
316 Log.addEvent(mCall, LogUtils.Events.REDIRECTION_COMPLETED_CARRIER); in onCallRedirectionComplete()
388 ? LogUtils.Events.REDIRECTION_TIMED_OUT_USER in processTimeoutForCallRedirection()
389 : LogUtils.Events.REDIRECTION_TIMED_OUT_CARRIER); in processTimeoutForCallRedirection()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchNotificationBuilder.java35 import com.android.deskclock.events.Events;
55 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
75 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
86 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
108 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
118 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
DWidgetModel.java23 import com.android.deskclock.events.Events;
44 Events.sendEvent(eventCategoryId, R.string.action_create, 0); in updateWidgetCount()
47 Events.sendEvent(eventCategoryId, R.string.action_delete, 0); in updateWidgetCount()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.java41 import com.android.deskclock.events.Events;
87 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut); in createNewAlarmShortcut()
104 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut); in createNewTimerShortcut()
129 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut); in createStopwatchShortcut()
134 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut); in createStopwatchShortcut()
149 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut); in createScreensaverShortcut()
/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/apps/TV/common/src/com/android/tv/common/compat/internal/
DTvViewCompatProcessor.java25 import com.android.tv.common.compat.internal.Events.NotifyDevToast;
26 import com.android.tv.common.compat.internal.Events.NotifySignalStrength;
27 import com.android.tv.common.compat.internal.Events.SessionEvent;
62 protected final void handleSessionEvent(String inputId, Events.SessionEvent sessionEvent) { in handleSessionEvent()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java37 import com.android.deskclock.events.Events;
165 Events.sendAlarmEvent(R.string.action_dismiss, R.string.label_intent); in dismissAlarmInstance()
294 Events.sendAlarmEvent(R.string.action_snooze, R.string.label_intent); in snoozeAlarm()
364 Events.sendAlarmEvent(R.string.action_update, R.string.label_intent); in handleSetAlarm()
375 Events.sendAlarmEvent(R.string.action_create, R.string.label_intent); in handleSetAlarm()
432 Events.sendAlarmEvent(R.string.action_show, R.string.label_intent); in handleShowAlarms()
440 Events.sendTimerEvent(R.string.action_show, R.string.label_intent); in handleShowTimers()
493 Events.sendTimerEvent(R.string.action_create, R.string.label_intent); in handleSetTimer()
498 Events.sendTimerEvent(R.string.action_start, R.string.label_intent); in handleSetTimer()

123