/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmUtil.java | 51 Calendar alarmTime = Calendar.getInstance(); 52 alarmTime.set(Calendar.MONTH, alarm.month); 53 alarmTime.set(Calendar.DATE, alarm.date); 54 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); 55 alarmTime.set(Calendar.MINUTE, alarm.minute); 58 alarmTime.getTimeInMillis(), 89 Calendar alarmTime = Calendar.getInstance(); 90 alarmTime.set(Calendar.HOUR_OF_DAY, hour); 91 alarmTime.set(Calendar.MINUTE, minute); 92 if ((alarmTime.getTimeInMillis() - System.currentTimeMillis()) < 0) [all...] |
AlarmAdapter.java | 72 Calendar alarmTime = Calendar.getInstance(); 73 alarmTime.set(Calendar.MONTH, alarm.month); 74 alarmTime.set(Calendar.DATE, alarm.date); 75 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); 76 alarmTime.set(Calendar.MINUTE, alarm.minute); 78 .setText(mTimeFormat.format(alarmTime.getTime())); 80 .setText(mDateFormat.format(alarmTime.getTime()));
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmUtil.java | 51 Calendar alarmTime = Calendar.getInstance(); 52 alarmTime.set(Calendar.MONTH, alarm.month); 53 alarmTime.set(Calendar.DATE, alarm.date); 54 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); 55 alarmTime.set(Calendar.MINUTE, alarm.minute); 58 alarmTime.getTimeInMillis(), 89 Calendar alarmTime = Calendar.getInstance(); 90 alarmTime.set(Calendar.HOUR_OF_DAY, hour); 91 alarmTime.set(Calendar.MINUTE, minute); 92 if ((alarmTime.getTimeInMillis() - System.currentTimeMillis()) < 0) [all...] |
AlarmAdapter.java | 72 Calendar alarmTime = Calendar.getInstance(); 73 alarmTime.set(Calendar.MONTH, alarm.month); 74 alarmTime.set(Calendar.DATE, alarm.date); 75 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); 76 alarmTime.set(Calendar.MINUTE, alarm.minute); 78 .setText(mTimeFormat.format(alarmTime.getTime())); 80 .setText(mDateFormat.format(alarmTime.getTime()));
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmUtil.java | 51 Calendar alarmTime = Calendar.getInstance(); 52 alarmTime.set(Calendar.MONTH, alarm.month); 53 alarmTime.set(Calendar.DATE, alarm.date); 54 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); 55 alarmTime.set(Calendar.MINUTE, alarm.minute); 58 alarmTime.getTimeInMillis(), 89 Calendar alarmTime = Calendar.getInstance(); 90 alarmTime.set(Calendar.HOUR_OF_DAY, hour); 91 alarmTime.set(Calendar.MINUTE, minute); 92 if ((alarmTime.getTimeInMillis() - System.currentTimeMillis()) < 0) [all...] |
AlarmAdapter.java | 72 Calendar alarmTime = Calendar.getInstance(); 73 alarmTime.set(Calendar.MONTH, alarm.month); 74 alarmTime.set(Calendar.DATE, alarm.date); 75 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); 76 alarmTime.set(Calendar.MINUTE, alarm.minute); 78 .setText(mTimeFormat.format(alarmTime.getTime())); 80 .setText(mDateFormat.format(alarmTime.getTime()));
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/ |
AlarmSelectionAdapter.java | 50 final TextTime alarmTime = (TextTime) row.findViewById(R.id.digital_clock); 51 alarmTime.setFormat(context); 52 alarmTime.setTime(alarm.hour, alarm.minutes);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
SnoozeAlarmsService.java | 79 long alarmTime = System.currentTimeMillis() + AlertUtils.SNOOZE_DELAY; 81 alarmTime, 0); 84 alarmTime);
|
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...] |
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/DeskClock/src/com/android/deskclock/alarms/ |
AlarmNotifications.java | 146 String alarmTime = AlarmUtils.getFormattedTime(context, instance.getAlarmTime()); 149 .setContentText(instance.mLabel.isEmpty() ? alarmTime : 150 context.getString(R.string.alarm_missed_text, alarmTime, label))
|
AlarmStateManager.java | 246 long alarmTime = nextAlarm.getAlarmTime().getTimeInMillis(); 254 new AlarmManager.AlarmClockInfo(alarmTime, viewIntent); 669 final Calendar alarmTime = instance.getAlarmTime(); 689 if (currentTime.before(alarmTime)) { 708 if (currentTime.before(alarmTime)) { 720 } else if (currentTime.after(alarmTime)) { 725 alarmBuffer.setTime(alarmTime.getTime()); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionaryService.java | 230 final long alarmTime = now + new Random().nextInt(MAX_ALARM_DELAY_MILLIS); 238 if (null != alarmManager) alarmManager.set(AlarmManager.RTC, alarmTime, pendingIntent);
|
/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/DeskClock/src/com/android/deskclock/ |
Utils.java | 458 final Calendar alarmTime = Calendar.getInstance(); 459 alarmTime.setTimeInMillis(triggerTime); 460 return AlarmUtils.getFormattedTime(context, alarmTime);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 351 // "alarmTime" column in CalendarAlerts because otherwise the 439 final long alarmTime = cursor.getLong(alarmTimeIndex); 446 time.set(alarmTime); 453 + " alarm: " + alarmTime + schedTime); 456 if (alarmTime < nextAlarmTime) { 457 nextAlarmTime = alarmTime; 458 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { 470 if (CalendarAlerts.alarmExists(resolver, eventId, startTime, alarmTime)) { 482 resolver, eventId, startTime, endTime, alarmTime, minutes); 491 scheduleAlarm(alarmTime); [all...] |
/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpClient.java | 723 long alarmTime = now + timeout; 724 mKickAlarm.schedule(alarmTime); 733 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; 734 mTimeoutAlarm.schedule(alarmTime); [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
IpManager.java | [all...] |
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2Test.java | [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
DevicePolicyManagerService.java | [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |