OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AlertUtils
(Results
1 - 8
of
8
) sorted by null
/packages/apps/Calendar/src/com/android/calendar/alerts/
SnoozeAlarmsService.java
51
long eventId = intent.getLongExtra(
AlertUtils
.EVENT_ID_KEY, -1);
52
long eventStart = intent.getLongExtra(
AlertUtils
.EVENT_START_KEY, -1);
53
long eventEnd = intent.getLongExtra(
AlertUtils
.EVENT_END_KEY, -1);
57
int notificationId = intent.getIntExtra(
AlertUtils
.NOTIFICATION_ID_KEY,
58
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID);
64
if (notificationId !=
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID) {
79
long alarmTime = System.currentTimeMillis() +
AlertUtils
.SNOOZE_DELAY;
80
ContentValues values =
AlertUtils
.makeContentValues(eventId, eventStart, eventEnd,
83
AlertUtils
.scheduleAlarm(SnoozeAlarmsService.this,
AlertUtils
.createAlarmManager(this)
[
all
...]
DismissAlarmsService.java
65
long eventId = intent.getLongExtra(
AlertUtils
.EVENT_ID_KEY, -1);
66
long eventStart = intent.getLongExtra(
AlertUtils
.EVENT_START_KEY, -1);
67
long eventEnd = intent.getLongExtra(
AlertUtils
.EVENT_END_KEY, -1);
68
long[] eventIds = intent.getLongArrayExtra(
AlertUtils
.EVENT_IDS_KEY);
69
long[] eventStarts = intent.getLongArrayExtra(
AlertUtils
.EVENT_STARTS_KEY);
70
int notificationId = intent.getIntExtra(
AlertUtils
.NOTIFICATION_ID_KEY, -1);
109
Intent i =
AlertUtils
.buildEventViewIntent(this, eventId, eventStart, eventEnd);
AlertService.java
303
return generateAlerts(context, nm,
AlertUtils
.createAlarmManager(context), prefs,
342
String summaryText =
AlertUtils
.formatTimeLocation(context, info.startMillis,
361
String summaryText =
AlertUtils
.formatTimeLocation(context, info.startMillis,
378
String summaryText =
AlertUtils
.formatTimeLocation(context, info.startMillis,
382
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID, false,
398
+ ", notificationId:" +
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID);
402
nm.notify(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID, notification);
404
nm.cancel(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID);
422
AlertUtils
.scheduleNextNotificationRefresh(context, alarmMgr, nextRefreshTime);
436
AlertUtils
.flushOldAlertsFromInternalStorage(context)
[
all
...]
AlertReceiver.java
218
intent.putExtra(
AlertUtils
.EVENT_ID_KEY, eventId);
219
intent.putExtra(
AlertUtils
.EVENT_START_KEY, startMillis);
220
intent.putExtra(
AlertUtils
.EVENT_END_KEY, endMillis);
221
intent.putExtra(
AlertUtils
.NOTIFICATION_ID_KEY, notificationId);
239
intent.putExtra(
AlertUtils
.EVENT_ID_KEY, eventId);
240
intent.putExtra(
AlertUtils
.EVENT_START_KEY, startMillis);
241
intent.putExtra(
AlertUtils
.EVENT_END_KEY, endMillis);
242
intent.putExtra(
AlertUtils
.NOTIFICATION_ID_KEY, notificationId);
472
deleteIntent.putExtra(
AlertUtils
.EVENT_IDS_KEY, eventIds);
473
deleteIntent.putExtra(
AlertUtils
.EVENT_STARTS_KEY, startMillis)
[
all
...]
AlarmScheduler.java
105
scheduleNextAlarm(context,
AlertUtils
.createAlarmManager(context),
AlertActivity.java
193
Intent eventIntent =
AlertUtils
.buildEventViewIntent(AlertActivity.this, eventId,
AlertUtils.java
43
public class
AlertUtils
{
44
private static final String TAG = "
AlertUtils
";
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java
265
assertEquals(0,
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID);
429
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID, id, PRIORITY_MIN);
437
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID, id, PRIORITY_MIN);
489
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID,
502
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID,
511
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID,
561
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID,
574
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID,
680
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID, id1, PRIORITY_MIN);
691
ntm.expectTestNotification(
AlertUtils
.EXPIRED_GROUP_NOTIFICATION_ID, new int[] {id3, id1}
[
all
...]
Completed in 283 milliseconds