Home
last modified time | relevance | path

Searched refs:HOUR_OF_DAY (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java67 cal.set(Calendar.HOUR_OF_DAY, 1); in testGetNextChangeTime_startToday()
72 mScheduleInfo.startHour = cal.get(Calendar.HOUR_OF_DAY) + 1; in testGetNextChangeTime_startToday()
73 mScheduleInfo.endHour = cal.get(Calendar.HOUR_OF_DAY) + 3; in testGetNextChangeTime_startToday()
81 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.startHour); in testGetNextChangeTime_startToday()
93 cal.set(Calendar.HOUR_OF_DAY, 2); in testGetNextChangeTime_endToday()
98 mScheduleInfo.startHour = cal.get(Calendar.HOUR_OF_DAY) - 1; in testGetNextChangeTime_endToday()
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()
120 cal.set(Calendar.HOUR_OF_DAY, 23); in testGetNextChangeTime_startTomorrow()
135 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.startHour); in testGetNextChangeTime_startTomorrow()
[all …]
DScheduleConditionProviderTest.java87 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InSchedule()
91 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InSchedule()
111 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed()
115 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed()
133 now.set(Calendar.HOUR_OF_DAY, 14); in testEvaluateSubscription_noAlarmExit_beforeSchedule()
142 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_beforeSchedule()
146 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_beforeSchedule()
165 info.startHour = now.get(Calendar.HOUR_OF_DAY) - 1; in testEvaluateSubscription_noAlarmExit_endSchedule()
169 info.endHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_endSchedule()
324 now.add(Calendar.HOUR_OF_DAY, 1); in testEvaluateSubscription_alarmCanceled()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DTime.java119 hour = mCalendar.get(Calendar.HOUR_OF_DAY); in readFieldsFromCalendar()
194 case HOUR: return Calendar.HOUR_OF_DAY; in getCalendarField()
284 mCalendar.set(Calendar.HOUR_OF_DAY, 0); // HOUR_OF_DAY doesn't get reset with #clear in clearCalendar()
325 return mCalendar.get(Calendar.HOUR_OF_DAY); in getHour()
330 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in setHour()
/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java57 mCalendar.set(Calendar.HOUR_OF_DAY, 0); in MonthDisplayHelper()
/frameworks/base/core/java/android/webkit/
DDateSorter.java126 c.set(Calendar.HOUR_OF_DAY, 0); in beginningOfDay()
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java124 calendar.set(Calendar.HOUR_OF_DAY, nHours); in offsetFromTodayMidnight()
/frameworks/base/core/java/android/text/format/
DDateIntervalFormat.java121 return c.get(Calendar.HOUR_OF_DAY) == 0 in isExactlyMidnight()
DDateFormat.java117 public static final char HOUR_OF_DAY = 'k'; field in DateFormat
542 int hour = inDate.get(Calendar.HOUR_OF_DAY); in format()
DDateUtilsBridge.java168 return c.get(Calendar.HOUR_OF_DAY) == 0 && c.get(Calendar.MINUTE) == 0; in isDisplayMidnightUsingSkeleton()
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java116 calendar.set(Calendar.HOUR_OF_DAY, timeOfDay.hour); in parse()
/frameworks/base/core/java/android/widget/
DTimePicker.java477 setDate(cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE)); in autofill()
491 cal.set(Calendar.HOUR_OF_DAY, getHour()); in getAutofillValue()
DTimePickerSpinnerDelegate.java205 setHour(mTempCalendar.get(Calendar.HOUR_OF_DAY)); in TimePickerSpinnerDelegate()
431 mTempCalendar.set(Calendar.HOUR_OF_DAY, getHour()); in onPopulateAccessibilityEvent()
DTimePickerClockDelegate.java248 final int currentHour = mTempCalendar.get(Calendar.HOUR_OF_DAY); in TimePickerClockDelegate()
689 mTempCalendar.set(Calendar.HOUR_OF_DAY, getHour());
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java109 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in getTime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java254 data[4] = byteToBCD(mCalendar.get(java.util.Calendar.HOUR_OF_DAY)); in format()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateIntervalFormatTest.java70 c.set(Calendar.HOUR_OF_DAY, 3); in test_formatDateInterval()
512 c.set(Calendar.HOUR_OF_DAY, 0); in test10209343_when_this_year()
572 c.set(Calendar.HOUR_OF_DAY, 0); in test12004664()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java193 c.set(Calendar.HOUR_OF_DAY, toggleTime.getHour()); in getSecondaryLabel()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java289 noon.set(Calendar.HOUR_OF_DAY, 12); in calculateTwilightState()
/frameworks/base/obex/javax/obex/
DObexHelper.java276 temp.set(Calendar.HOUR_OF_DAY, Integer.parseInt(dateString in updateHeaderSet()
479 temp = dateHeader.get(Calendar.HOUR_OF_DAY); in createHeader()
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/
DPersistLogSection.java249 calendar.set(Calendar.HOUR_OF_DAY, 0); in getEpochSec()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java442 date.set(java.util.Calendar.HOUR_OF_DAY, 0); in getMidnightTimestamp()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java280 int[] timeTag = new int[] { mGPSTimeStampCalendar.get(Calendar.HOUR_OF_DAY), 1, in setLocation()
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java639 long whenMillis = TimeUnit.HOURS.toMillis(query.get(Calendar.HOUR_OF_DAY)) in getInstallationOptionRegardlessFreezeAt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java456 mCalendar.set(Calendar.HOUR_OF_DAY, hh); in dispatchDemoCommand()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java231 c.set(GregorianCalendar.HOUR_OF_DAY, 0); in buildNotification()

12