Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java74 mScheduleInfo.endHour = cal.get(Calendar.HOUR_OF_DAY) + 3; in testGetNextChangeTime_startToday()
100 mScheduleInfo.endHour = cal.get(Calendar.HOUR_OF_DAY) + 3; in testGetNextChangeTime_endToday()
108 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.endHour); in testGetNextChangeTime_endToday()
127 mScheduleInfo.endHour = 3; in testGetNextChangeTime_startTomorrow()
155 mScheduleInfo.endHour = 3; in testGetNextChangeTime_endTomorrow()
164 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.endHour); in testGetNextChangeTime_endTomorrow()
190 mScheduleInfo.endHour = 4; in testGetNextChangeTime_startTomorrowInDaylight()
228 mScheduleInfo.endHour = 4; in testGetNextChangeTime_startTomorrowWhenTodayIsDaylight()
266 mScheduleInfo.endHour = 4; in testGetNextChangeTime_startTomorrowWhenTodayIsDaylightBackward()
335 mScheduleInfo.endHour = 3; in testShouldExitForAlarm_oldAlarm()
[all …]
DSystemZenRulesTest.java57 SCHEDULE_INFO.endHour = 9;
134 scheduleInfo.endHour = 16; in getTriggerDescriptionForScheduleTime_noOrSingleDays()
160 scheduleInfo.endHour = 16; in getTriggerDescriptionForScheduleTime_oneGroup()
192 scheduleInfo.endHour = 16; in getTriggerDescriptionForScheduleTime_mixedDays()
DScheduleConditionProviderTest.java76 info.endHour = 12; in testIsValidConditionId()
93 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InSchedule()
117 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed()
148 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_beforeSchedule()
171 info.endHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_endSchedule()
353 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in getScheduleEndsInHour()
DZenModeHelperTest.java2216 scheduleInfo.endHour = 19; in testUpdateDefaultAutoRule()
2551 scheduleInfo.endHour = 1; in testRulesWithSameUri()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java98 final long nextEnd = getNextTime(now, mSchedule.endHour, mSchedule.endMinute, false); in getNextChangeTime()
131 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute); in isInSchedule()
146 long end = getTime(alarm, mSchedule.endHour, mSchedule.endMinute); in isAlarmInSchedule()
DSystemZenRules.java135 timeString(context, schedule.endHour, schedule.endMinute))); in getTriggerDescriptionForScheduleTime()
DZenModeConfig.java417 scheduleInfo.endHour = 7; in getDefaultConfig()
2191 .appendQueryParameter("end", schedule.endHour + "." + schedule.endMinute) in toScheduleConditionId()
2248 rt.endHour = end[0]; in tryParseScheduleConditionId()
2266 public int endHour; field in ZenModeConfig.ScheduleInfo
2284 && endHour == other.endHour in equals()
2297 rt.endHour = endHour; in copy()
2310 ", endHour=" + endHour + in toString()