Home
last modified time | relevance | path

Searched refs:alertCursor (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java289 Cursor alertCursor = cr.query(CalendarAlerts.CONTENT_URI, ALERT_PROJECTION, in updateAlertNotification() local
293 if (alertCursor == null || alertCursor.getCount() == 0) { in updateAlertNotification()
294 if (alertCursor != null) { in updateAlertNotification()
295 alertCursor.close(); in updateAlertNotification()
304 alertCursor, currentTime, MAX_NOTIFICATIONS); in updateAlertNotification()
308 AlarmManagerInterface alarmMgr, SharedPreferences prefs, Cursor alertCursor, in generateAlerts() argument
311 Log.d(TAG, "alertCursor count:" + alertCursor.getCount()); in generateAlerts()
318 int numFired = processQuery(alertCursor, context, currentTime, highPriorityEvents, in generateAlerts()
550 static int processQuery(final Cursor alertCursor, final Context context, in processQuery() argument
597 while (alertCursor.moveToNext()) { in processQuery()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java230 MatrixCursor alertCursor = new MatrixCursor(AlertService.ALERT_PROJECTION); in getAlertCursor() local
248 alertCursor.addRow(ca); in getAlertCursor()
250 return alertCursor; in getAlertCursor()