Home
last modified time | relevance | path

Searched refs:endHour (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java73 mScheduleInfo.endHour = cal.get(Calendar.HOUR_OF_DAY) + 3; in testGetNextChangeTime_startToday()
99 mScheduleInfo.endHour = cal.get(Calendar.HOUR_OF_DAY) + 3; in testGetNextChangeTime_endToday()
107 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.endHour); in testGetNextChangeTime_endToday()
126 mScheduleInfo.endHour = 3; in testGetNextChangeTime_startTomorrow()
154 mScheduleInfo.endHour = 3; in testGetNextChangeTime_endTomorrow()
163 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.endHour); in testGetNextChangeTime_endTomorrow()
221 mScheduleInfo.endHour = 3; in testShouldExitForAlarm_oldAlarm()
255 mScheduleInfo.endHour = 7; in testShouldExitForAlarm_oldAlarmInSchedule()
356 mScheduleInfo.endHour = 3; in testIsInSchedule_inScheduleOvernight()
374 mScheduleInfo.endHour = 3; in testIsInSchedule_inScheduleSingleDay()
[all …]
DScheduleConditionProviderTest.java72 info.endHour = 12; in testIsValidConditionId()
89 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InSchedule()
113 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed()
144 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_beforeSchedule()
167 info.endHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_endSchedule()
343 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in getScheduleEndsInHour()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java103 final long nextEnd = getNextTime(now, mSchedule.endHour, mSchedule.endMinute); in getNextChangeTime()
130 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute); in isInSchedule()
145 long end = getTime(alarm, mSchedule.endHour, mSchedule.endMinute); in isAlarmInSchedule()
DZenModeConfig.java1340 .appendQueryParameter("end", schedule.endHour + "." + schedule.endMinute) in toScheduleConditionId()
1392 rt.endHour = end[0]; in tryParseScheduleConditionId()
1410 public int endHour; field in ZenModeConfig.ScheduleInfo
1428 && endHour == other.endHour in equals()
1441 rt.endHour = endHour; in copy()
1454 ", endHour=" + endHour + in toString()