Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java107 final long time = adjust ? getClosestActualTime(now, hr, min) : getTime(now, hr, min); in getNextTime()
110 return adjust ? getClosestActualTime(tomorrow, hr, min) : getTime(tomorrow, hr, min); in getNextTime()
130 final long start = getClosestActualTime(time, mSchedule.startHour, mSchedule.startMinute); in isInSchedule()
145 final long start = getClosestActualTime(alarm, mSchedule.startHour, mSchedule.startMinute); in isAlarmInSchedule()
214 public long getClosestActualTime(long refTime, int hour, int min) { in getClosestActualTime() method in ScheduleCalendar
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java875 mScheduleCalendar.getClosestActualTime(day.getTimeInMillis(), 15, 25)); in testClosestActualTime_regularTimesAndSkippedTime()
884 mScheduleCalendar.getClosestActualTime(day.getTimeInMillis(), 2, 15)); in testClosestActualTime_regularTimesAndSkippedTime()
892 mScheduleCalendar.getClosestActualTime(day.getTimeInMillis(), 15, 25)); in testClosestActualTime_regularTimesAndSkippedTime()
908 mScheduleCalendar.getClosestActualTime(ukDstDay.getTimeInMillis(), 1, 25)); in testClosestActualTime_otherTimeZones()
916 mScheduleCalendar.getClosestActualTime(ukDstDay.getTimeInMillis(), 11, 23)); in testClosestActualTime_otherTimeZones()
928 mScheduleCalendar.getClosestActualTime(frDstDay.getTimeInMillis(), 2, 25)); in testClosestActualTime_otherTimeZones()
936 mScheduleCalendar.getClosestActualTime(frDstDay.getTimeInMillis(), 14, 59)); in testClosestActualTime_otherTimeZones()