Home
last modified time | relevance | path

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

1234

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java61 import android.provider.CalendarContract.Events;
119 new String[] {Events._ID};
122 Events._SYNC_ID,
123 Events.RRULE,
124 Events.RDATE,
125 Events.ORIGINAL_ID,
126 Events.ORIGINAL_SYNC_ID,
176 Events._ID,
177 Events.DTSTART,
178 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.java34 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/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/
DCrossProfileCalendarHelper.java46 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events._ID);
47 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.CALENDAR_ID);
48 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.TITLE);
49 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.EVENT_LOCATION);
50 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.EVENT_COLOR);
51 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.STATUS);
52 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.DTSTART);
53 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.DTEND);
54 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.EVENT_TIMEZONE);
55 EVENTS_TABLE_ALLOWED_LIST.add(CalendarContract.Events.EVENT_END_TIMEZONE);
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java64 put(LogUtils.Events.SET_SELECT_PHONE_ACCOUNT,
66 put(LogUtils.Events.REQUEST_HOLD, AnalyticsEvent.REQUEST_HOLD);
67 put(LogUtils.Events.REQUEST_UNHOLD, AnalyticsEvent.REQUEST_UNHOLD);
68 put(LogUtils.Events.SWAP, AnalyticsEvent.SWAP);
69 put(LogUtils.Events.SKIP_RINGING, AnalyticsEvent.SKIP_RINGING);
70 put(LogUtils.Events.CONFERENCE_WITH, AnalyticsEvent.CONFERENCE_WITH);
71 put(LogUtils.Events.SPLIT_FROM_CONFERENCE, AnalyticsEvent.SPLIT_CONFERENCE);
72 put(LogUtils.Events.SET_PARENT, AnalyticsEvent.SET_PARENT);
73 put(LogUtils.Events.MUTE, AnalyticsEvent.MUTE);
74 put(LogUtils.Events.UNMUTE, AnalyticsEvent.UNMUTE);
[all …]
DRinger.java243 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "RingerAttributes error"); in startRinging()
249 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Dialer handles"); in startRinging()
252 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Silent ringing " in startRinging()
269 Log.addEvent(foregroundCall, LogUtils.Events.START_RINGER); in startRinging()
300 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Inaudible: " in startRinging()
320 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_VIBRATION, in startRinging()
354 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_VIBRATION, "already vibrating"); in maybeStartVibration()
391 Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Dialer handles"); in startCallWaiting()
396 Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Self-managed"); in startCallWaiting()
405 Log.addEvent(call, LogUtils.Events.START_CALL_WAITING_TONE, reason); in startCallWaiting()
[all …]
DCall.java852 Log.addEvent(this, LogUtils.Events.CREATED, callingPackage); in initAnalytics()
869 Log.addEvent(this, LogUtils.Events.DESTROYED); in destroy()
1133 Log.addEvent(this, LogUtils.Events.OVERRIDE_DISCONNECT_MESSAGE, message); in handleOverrideDisconnectMessage()
1201 event = LogUtils.Events.SET_ACTIVE; in setState()
1204 event = LogUtils.Events.SET_CONNECTING; in setState()
1207 event = LogUtils.Events.SET_DIALING; in setState()
1210 event = LogUtils.Events.SET_PULLING; in setState()
1213 event = LogUtils.Events.SET_DISCONNECTED; in setState()
1217 event = LogUtils.Events.SET_DISCONNECTING; in setState()
1220 event = LogUtils.Events.SET_HOLD; in setState()
[all …]
DCallAudioRouteStateMachine.java169 put(CallAudioState.ROUTE_BLUETOOTH, LogUtils.Events.AUDIO_ROUTE_BT);
170 put(CallAudioState.ROUTE_EARPIECE, LogUtils.Events.AUDIO_ROUTE_EARPIECE);
171 put(CallAudioState.ROUTE_SPEAKER, LogUtils.Events.AUDIO_ROUTE_SPEAKER);
172 put(CallAudioState.ROUTE_WIRED_HEADSET, LogUtils.Events.AUDIO_ROUTE_HEADSET);
248 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in enter()
252 AUDIO_ROUTE_TO_LOG_EVENT.get(getRouteCode(), LogUtils.Events.AUDIO_ROUTE)); in enter()
258 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in exit()
273 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
279 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
287 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java40 import android.provider.CalendarContract.Events;
105 private Uri mEventsUri = Events.CONTENT_URI;
287 if (CalendarContract.Events.STATUS.equals(pair.key)) { in execute()
294 if (map.size() == 1 && map.containsKey(Events.STATUS)) { in execute()
445 int titleColumn = cursor.getColumnIndex(Events.TITLE); in execute()
446 int allDayColumn = cursor.getColumnIndex(Events.ALL_DAY); in execute()
889 new KeyValue(CalendarContract.Events.STATUS,
890 Integer.toString(CalendarContract.Events.STATUS_CANCELED)),
936 new KeyValue(Events.RRULE, "FREQ=DAILY;UNTIL=20080505T150000Z;WKST=SU"),
946 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 testProjectionNotInAllowedList_throwErrorForEvents()
54 Events.DESCRIPTION in testProjectionNotInAllowedList_throwErrorForEvents()
57 mHelper.getCalibratedProjection(projection, Events.CONTENT_URI); in testProjectionNotInAllowedList_throwErrorForEvents()
58 fail(String.format("Exception not found for projection %s", Events.DESCRIPTION)); in testProjectionNotInAllowedList_throwErrorForEvents()
67 Events.DESCRIPTION in testProjectionNotInAllowedList_throwErrorForInstances()
71 fail(String.format("Exception not found for projection %s", Events.DESCRIPTION)); in testProjectionNotInAllowedList_throwErrorForInstances()
85 final String[] projection = mHelper.getCalibratedProjection(null, Events.CONTENT_URI); in testNoProjection_getFullAllowedListProjectionForEvents()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.kt26 import com.android.deskclock.events.Events
42 val label: Int = intent.getIntExtra(Events.EXTRA_EVENT_LABEL, R.string.label_intent) in onBind()
45 Events.sendStopwatchEvent(R.string.action_show, label) in onBind()
54 Events.sendStopwatchEvent(R.string.action_start, label) in onBind()
58 Events.sendStopwatchEvent(R.string.action_pause, label) in onBind()
62 Events.sendStopwatchEvent(R.string.action_reset, label) in onBind()
66 Events.sendStopwatchEvent(R.string.action_lap, label) in onBind()
/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.kt28 import com.android.deskclock.events.Events
51 val label = intent.getIntExtra(Events.EXTRA_EVENT_LABEL, R.string.label_intent) in onStartCommand()
78 Events.sendTimerEvent(R.string.action_show, label) in onStartCommand()
91 Events.sendTimerEvent(R.string.action_start, label) in onStartCommand()
95 Events.sendTimerEvent(R.string.action_pause, label) in onStartCommand()
99 Events.sendTimerEvent(R.string.action_add_minute, label) in onStartCommand()
106 Events.sendTimerEvent(R.string.action_fire, label) in onStartCommand()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt32 import com.android.deskclock.events.Events
74 Events.sendAlarmEvent(if (newState) R.string.action_enable else R.string.action_disable, in setAlarmEnabled()
84 Events.sendAlarmEvent(R.string.action_toggle_vibrate, R.string.label_deskclock) in setAlarmVibrationEnabled()
123 Events.sendAlarmEvent(R.string.action_toggle_repeat_days, R.string.label_deskclock) in setAlarmRepeatEnabled()
145 Events.sendAlarmEvent(R.string.action_delete, R.string.label_deskclock) in onDeleteClicked()
152 Events.sendAlarmEvent(R.string.action_set_time, R.string.label_deskclock) in onClockClicked()
166 Events.sendAlarmEvent(R.string.action_set_ringtone, R.string.label_deskclock) in onRingtoneClicked()
173 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()
312 Log.addEvent(mCall, LogUtils.Events.REDIRECTION_COMPLETED_USER); in onCallRedirectionComplete()
323 Log.addEvent(mCall, LogUtils.Events.REDIRECTION_COMPLETED_CARRIER); in onCallRedirectionComplete()
395 ? LogUtils.Events.REDIRECTION_TIMED_OUT_USER in processTimeoutForCallRedirection()
396 : LogUtils.Events.REDIRECTION_TIMED_OUT_CARRIER); in processTimeoutForCallRedirection()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java64 import com.android.systemui.volume.Events;
149 Events.SHOW_REASON_VOLUME_CHANGED).sendToTarget();
189 dismissH(Events.DISMISS_REASON_VOLUME_CONTROLLER);
315 Log.d(TAG, "showH r=" + Events.DISMISS_REASONS[reason]); in showH()
338 Events.writeEvent(Events.EVENT_SHOW_DIALOG, reason, mKeyguard.isKeyguardLocked()); in showH()
353 .obtainMessage(H.DISMISS, Events.DISMISS_REASON_TIMEOUT), timeout); in rescheduleTimeoutH()
370 Log.d(TAG, "dismissH r=" + Events.DISMISS_REASONS[reason]); in dismissH()
401 Events.writeEvent(Events.EVENT_DISMISS_DIALOG, reason); in dismissH()
570 H.DISMISS, Events.DISMISS_REASON_TOUCH_OUTSIDE).sendToTarget(); in onTouchEvent()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.kt41 import com.android.deskclock.events.Events
77 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut) in createNewAlarmShortcut()
94 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut) in createNewTimerShortcut()
122 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut) in createStopwatchShortcut()
127 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut) in createStopwatchShortcut()
142 .putExtra(Events.EXTRA_EVENT_LABEL, R.string.label_shortcut) in createScreensaverShortcut()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchNotificationBuilder.kt39 import com.android.deskclock.events.Events
62 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel) in build()
82 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel) in build()
93 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel) in build()
115 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel) in build()
125 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel) in build()
DWidgetModel.kt23 import com.android.deskclock.events.Events
37 Events.sendEvent(eventCategoryId, R.string.action_create, 0) in updateWidgetCount()
41 Events.sendEvent(eventCategoryId, R.string.action_delete, 0) in updateWidgetCount()
/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.kt38 import com.android.deskclock.events.Events
269 Events.sendAlarmEvent(R.string.action_update, R.string.label_intent) in handleSetAlarm()
280 Events.sendAlarmEvent(R.string.action_create, R.string.label_intent) in handleSetAlarm()
336 Events.sendAlarmEvent(R.string.action_show, R.string.label_intent) in handleShowAlarms()
344 Events.sendTimerEvent(R.string.action_show, R.string.label_intent) in handleShowTimers()
404 Events.sendTimerEvent(R.string.action_create, R.string.label_intent) in handleSetTimer()
409 Events.sendTimerEvent(R.string.action_start, R.string.label_intent) in handleSetTimer()
536 Events.sendAlarmEvent(R.string.action_dismiss, R.string.label_intent) in dismissAlarmInstance()
549 Events.sendAlarmEvent(R.string.action_snooze, R.string.label_intent) in snoozeAlarm()
DHandleShortcuts.kt23 import com.android.deskclock.events.Events
36 Events.sendStopwatchEvent(R.string.action_pause, R.string.label_shortcut) in onCreate()
45 Events.sendStopwatchEvent(R.string.action_start, R.string.label_shortcut) in onCreate()

1234