/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 109 * @param alarmTime The time to fire the intent in UTC millis since epoch 112 long alarmTime) { 113 scheduleAlarmHelper(context, manager, alarmTime, false); 121 long alarmTime) { 122 scheduleAlarmHelper(context, manager, alarmTime, true); 126 long alarmTime, boolean quietUpdate) { 136 ContentUris.appendId(builder, alarmTime); 140 intent.putExtra(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime); 143 manager.set(alarmType, alarmTime, pi); 203 long alarmTime, int minutes) [all...] |
AlarmScheduler.java | 251 long alarmTime = startTime - 253 if (alarmTime > currentMillis && alarmTime < nextAlarmTime) { 254 nextAlarmTime = alarmTime; 259 timeObj.set(alarmTime); 264 msg.append(", alarmTime:").append(alarmTime); 290 private static void scheduleAlarm(Context context, long eventId, long alarmTime, 296 if (alarmTime > maxAlarmTime) { 297 alarmTime = maxAlarmTime [all...] |
SnoozeAlarmsService.java | 79 long alarmTime = System.currentTimeMillis() + AlertUtils.SNOOZE_DELAY; 81 alarmTime, 0); 84 alarmTime);
|
AlertService.java | 612 final long alarmTime = alertCursor.getLong(ALERT_INDEX_ALARM_TIME); 616 time.set(alarmTime); 659 if (AlertUtils.BYPASS_DB && ((currentTime - alarmTime) / MINUTE_MS < 1)) { 660 // To avoid re-firing alerts, only fire if alarmTime is very recent. Otherwise 665 beginTime, alarmTime); 673 msgBuilder.append("alertCursor result: alarmTime:").append(alarmTime) [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothDiscoverableTimeoutReceiver.java | 37 static void setDiscoverableAlarm(Context context, long alarmTime) { 38 Log.d(TAG, "setDiscoverableAlarm(): alarmTime = " + alarmTime); 55 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pending);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
DictionaryDecayBroadcastReciever.java | 52 final long alarmTime = System.currentTimeMillis() + DICTIONARY_DECAY_INTERVAL; 56 alarmTime, DICTIONARY_DECAY_INTERVAL, pendingIntent);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 318 // "alarmTime" column in CalendarAlerts because otherwise the 406 final long alarmTime = cursor.getLong(alarmTimeIndex); 413 time.set(alarmTime); 420 + " alarm: " + alarmTime + schedTime); 423 if (alarmTime < nextAlarmTime) { 424 nextAlarmTime = alarmTime; 425 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { 437 if (CalendarAlerts.alarmExists(resolver, eventId, startTime, alarmTime)) { 449 resolver, eventId, startTime, endTime, alarmTime, minutes); 458 scheduleAlarm(alarmTime); [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
background.js | 41 var alarmTime = (alarmHours * 60 + alarmMinutes) * 60 * 1000; 46 var delta = (alarmTime - now);
|
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2ForTesting.java | 69 public void scheduleAlarm(long alarmTime) {
|
CalendarProvider2Test.java | [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmStateManager.java | 174 Calendar alarmTime = instance.getAlarmTime(); 175 if (currentTime.after(alarmTime)) { 176 alarmTime = currentTime; 178 AlarmInstance nextRepeatedInstance = alarm.createInstanceAfter(alarmTime); 508 Calendar alarmTime = instance.getAlarmTime(); 528 if (currentTime.before(alarmTime)) { 553 } else if (currentTime.after(alarmTime)) { 558 alarmBuffer.setTime(alarmTime.getTime());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionaryService.java | 200 final long alarmTime = now + new Random().nextInt(MAX_ALARM_DELAY); 208 if (null != alarmManager) alarmManager.set(AlarmManager.RTC, alarmTime, pendingIntent);
|
/frameworks/base/services/java/com/android/server/content/ |
SyncManager.java | [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlertServiceTest.java | 203 long end, int minute, long alarmTime) { 211 mAlarmTime = alarmTime; 221 long end, long alarmTime) { 223 5 /* minute */, alarmTime); [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceScript.java | 600 long alarmTime = 0; 606 alarmTime = Long.parseLong(args[2]); 617 MonkeyActivityEvent e = new MonkeyActivityEvent(mApp, alarmTime); [all...] |
/packages/apps/Exchange/src/com/android/exchange/ |
EasSyncService.java | [all...] |
/frameworks/base/services/java/com/android/server/ |
DevicePolicyManagerService.java | 618 final long alarmTime; 621 alarmTime = 0; 624 alarmTime = now + MS_PER_DAY; 632 alarmTime = now + alarmInterval; 643 if (alarmTime != 0) { 644 am.set(AlarmManager.RTC, alarmTime, pi); [all...] |