Searched refs:instancesCursor (Results 1 – 2 of 2) sorted by relevance
112 Cursor instancesCursor = null; in scheduleNextAlarm() local114 instancesCursor = queryUpcomingEvents(context, context.getContentResolver(), in scheduleNextAlarm()116 if (instancesCursor != null) { in scheduleNextAlarm()117 queryNextReminderAndSchedule(instancesCursor, context, in scheduleNextAlarm()121 if (instancesCursor != null) { in scheduleNextAlarm()122 instancesCursor.close(); in scheduleNextAlarm()176 private static void queryNextReminderAndSchedule(Cursor instancesCursor, Context context, in queryNextReminderAndSchedule() argument180 int eventCount = instancesCursor.getCount(); in queryNextReminderAndSchedule()194 instancesCursor.moveToPosition(-1); in queryNextReminderAndSchedule()195 while (!instancesCursor.isAfterLast()) { in queryNextReminderAndSchedule()[all …]
83 MatrixCursor instancesCursor = new MatrixCursor(AlarmScheduler.INSTANCES_PROJECTION); in getInstancesCursor() local93 instancesCursor.addRow(ca); in getInstancesCursor()97 return instancesCursor; in getInstancesCursor()