Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java72 mScheduleInfo.startHour = cal.get(Calendar.HOUR_OF_DAY) + 1; in testGetNextChangeTime_startToday()
81 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.startHour); in testGetNextChangeTime_startToday()
98 mScheduleInfo.startHour = cal.get(Calendar.HOUR_OF_DAY) - 1; in testGetNextChangeTime_endToday()
125 mScheduleInfo.startHour = 1; in testGetNextChangeTime_startTomorrow()
135 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.startHour); in testGetNextChangeTime_startTomorrow()
153 mScheduleInfo.startHour = 22; in testGetNextChangeTime_endTomorrow()
220 mScheduleInfo.startHour = 12; in testShouldExitForAlarm_oldAlarm()
254 mScheduleInfo.startHour = 21; in testShouldExitForAlarm_oldAlarmInSchedule()
355 mScheduleInfo.startHour = 22; in testIsInSchedule_inScheduleOvernight()
373 mScheduleInfo.startHour = 12; in testIsInSchedule_inScheduleSingleDay()
[all …]
DScheduleConditionProviderTest.java68 info.startHour = 8; in testIsValidConditionId()
85 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InSchedule()
109 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed()
140 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_beforeSchedule()
163 info.startHour = now.get(Calendar.HOUR_OF_DAY) - 1; in testEvaluateSubscription_noAlarmExit_endSchedule()
340 info.startHour = now.get(Calendar.HOUR_OF_DAY); in getScheduleEndsInHour()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java102 final long nextStart = getNextTime(now, mSchedule.startHour, mSchedule.startMinute); in getNextChangeTime()
129 final long start = getTime(time, mSchedule.startHour, mSchedule.startMinute); in isInSchedule()
144 final long start = getTime(alarm, mSchedule.startHour, mSchedule.startMinute); in isAlarmInSchedule()
DZenModeConfig.java1339 .appendQueryParameter("start", schedule.startHour + "." + schedule.startMinute) in toScheduleConditionId()
1390 rt.startHour = start[0]; in tryParseScheduleConditionId()
1406 public int startHour; field in ZenModeConfig.ScheduleInfo
1426 && startHour == other.startHour in equals()
1439 rt.startHour = startHour; in copy()
1452 ", startHour=" + startHour + in toString()