Home
last modified time | relevance | path

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

1234

/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/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/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 …]
DCall.java771 Log.addEvent(this, LogUtils.Events.CREATED, callingPackage); in initAnalytics()
788 Log.addEvent(this, LogUtils.Events.DESTROYED); in destroy()
1054 event = LogUtils.Events.SET_ACTIVE; in setState()
1057 event = LogUtils.Events.SET_CONNECTING; in setState()
1060 event = LogUtils.Events.SET_DIALING; in setState()
1063 event = LogUtils.Events.SET_PULLING; in setState()
1066 event = LogUtils.Events.SET_DISCONNECTED; in setState()
1070 event = LogUtils.Events.SET_DISCONNECTING; in setState()
1073 event = LogUtils.Events.SET_HOLD; in setState()
1076 event = LogUtils.Events.SET_SELECT_PHONE_ACCOUNT; in setState()
[all …]
DRinger.java247 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "RingerAttributes error"); in startRinging()
253 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Dialer handles"); in startRinging()
256 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Silent ringing " in startRinging()
273 Log.addEvent(foregroundCall, LogUtils.Events.START_RINGER); in startRinging()
322 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Inaudible: " in startRinging()
343 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_VIBRATION, in startRinging()
378 Log.addEvent(foregroundCall, LogUtils.Events.SKIP_VIBRATION, "already vibrating"); in maybeStartVibration()
415 Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Dialer handles"); in startCallWaiting()
420 Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Self-managed"); in startCallWaiting()
429 Log.addEvent(call, LogUtils.Events.START_CALL_WAITING_TONE, reason); in startCallWaiting()
[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/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java39 import android.provider.CalendarContract.Events;
109 argThat(startsWithUriMatcher(CalendarContract.Events.CONTENT_URI)), in setUp()
111 CalendarContract.Events.CONTENT_URI.buildUpon().path( in setUp()
159 argThat(startsWithUriMatcher(CalendarContract.Events.CONTENT_URI)), in importCalendarsWithExistingCalendar()
162 argThat(startsWithUriMatcher(CalendarContract.Events.CONTENT_URI)), in importCalendarsWithExistingCalendar()
217 if (argument.containsKey(Events.EVENT_COLOR) && in eventMatcher()
218 !argument.getAsInteger(Events.EVENT_COLOR).equals( in eventMatcher()
223 return argument.getAsString(Events.CALENDAR_ID).equals(calendarId) && in eventMatcher()
224 argument.getAsString(Events.TITLE).equals(event.getTitle()) && in eventMatcher()
225 argument.getAsString(Events.DESCRIPTION).equals(event.getDescription()) && in eventMatcher()
[all …]
DCalendarCleanerTest.java39 import android.provider.CalendarContract.Events;
79 when(mContentResolver.query(eq(Events.CONTENT_URI), any(), any(), any(), in setUp()
93 eq(Events.CONTENT_URI), in eraseCalendarDeleteOpsHaveCorrectOrder()
110 assertEquals(Events.CONTENT_URI, capturedOps.get(2).getUri()); in eraseCalendarDeleteOpsHaveCorrectOrder()
131 verifyDelete(Events.CONTENT_URI, Events.CALENDAR_ID, CALENDAR_IDENTIFIER); in eraseCalendar()
160 verifyDelete(Events.CONTENT_URI, Events.CALENDAR_ID, CALENDAR_IDENTIFIER); in eraseCalendars()
163 verifyDelete(Events.CONTENT_URI, Events.CALENDAR_ID, secondCalendarId); in eraseCalendars()
/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/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporter.java162 values.put(CalendarContract.Events.CALENDAR_ID, calId); in insertEvent()
163 values.put(CalendarContract.Events.TITLE, event.getTitle()); in insertEvent()
164 values.put(CalendarContract.Events.DESCRIPTION, event.getDescription()); in insertEvent()
165 values.put(CalendarContract.Events._SYNC_ID, event.getExternalIdentifier()); in insertEvent()
166 values.put(CalendarContract.Events.DTSTART, in insertEvent()
168 values.put(CalendarContract.Events.DTEND, in insertEvent()
170 values.put(CalendarContract.Events.ALL_DAY, event.getIsAllDay() ? 1 : 0); in insertEvent()
171 values.put(CalendarContract.Events.EVENT_LOCATION, event.getLocation()); in insertEvent()
172 values.put(CalendarContract.Events.ORGANIZER, event.getOrganizer()); in insertEvent()
176 values.put(CalendarContract.Events.EVENT_COLOR, event.getColor().getArgb()); in insertEvent()
[all …]
/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()
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.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()
DTimerService.java28 import com.android.deskclock.events.Events;
116 final int label = intent.getIntExtra(Events.EXTRA_EVENT_LABEL, R.string.label_intent); in onStartCommand()
152 Events.sendTimerEvent(R.string.action_show, label); in onStartCommand()
165 Events.sendTimerEvent(R.string.action_start, label); in onStartCommand()
169 Events.sendTimerEvent(R.string.action_pause, label); in onStartCommand()
173 Events.sendTimerEvent(R.string.action_add_minute, label); in onStartCommand()
180 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
75 Events.sendAlarmEvent(if (newState) R.string.action_enable else R.string.action_disable, in setAlarmEnabled()
85 Events.sendAlarmEvent(R.string.action_toggle_vibrate, R.string.label_deskclock) in setAlarmVibrationEnabled()
124 Events.sendAlarmEvent(R.string.action_toggle_repeat_days, R.string.label_deskclock) in setAlarmRepeatEnabled()
146 Events.sendAlarmEvent(R.string.action_delete, R.string.label_deskclock) in onDeleteClicked()
153 Events.sendAlarmEvent(R.string.action_set_time, R.string.label_deskclock) in onClockClicked()
167 Events.sendAlarmEvent(R.string.action_set_ringtone, R.string.label_deskclock) in onRingtoneClicked()
174 Events.sendAlarmEvent(R.string.action_set_label, R.string.label_deskclock) in onEditLabelClicked()
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()
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/DeskClock/src/com/android/deskclock/data/
DStopwatchNotificationBuilder.java40 import com.android.deskclock.events.Events;
60 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
80 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
91 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
113 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
123 .putExtra(Events.EXTRA_EVENT_LABEL, eventLabel); in build()
/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()

1234