Home
last modified time | relevance | path

Searched refs:HOUR_OF_DAY (Results 1 – 25 of 37) 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/base/core/java/android/webkit/
DDateSorter.java126 c.set(Calendar.HOUR_OF_DAY, 0); in beginningOfDay()
/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java57 mCalendar.set(Calendar.HOUR_OF_DAY, 0); in MonthDisplayHelper()
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java123 calendar.set(Calendar.HOUR_OF_DAY, nHours); in offsetFromTodayMidnight()
/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.java475 setDate(cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE)); in autofill()
489 cal.set(Calendar.HOUR_OF_DAY, getHour()); in getAutofillValue()
DTimePickerSpinnerDelegate.java207 setHour(mTempCalendar.get(Calendar.HOUR_OF_DAY)); in TimePickerSpinnerDelegate()
433 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/text/format/
DDateFormat.java113 public static final char HOUR_OF_DAY = 'k'; field in DateFormat
476 int hour = inDate.get(Calendar.HOUR_OF_DAY); in format()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java116 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in getTime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java253 data[4] = byteToBCD(mCalendar.get(java.util.Calendar.HOUR_OF_DAY)); in format()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java167 c.set(Calendar.HOUR_OF_DAY, toggleTime.getHour()); in getSecondaryLabel()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java288 noon.set(Calendar.HOUR_OF_DAY, 12); in calculateTwilightState()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java274 c.get(Calendar.HOUR_OF_DAY), in toUTCString()
/frameworks/base/obex/javax/obex/
DObexHelper.java275 temp.set(Calendar.HOUR_OF_DAY, Integer.parseInt(dateString in updateHeaderSet()
478 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java432 - calendar.get(Calendar.HOUR_OF_DAY); in testTimerMultiDayRun()
472 - calendar.get(Calendar.HOUR_OF_DAY); in testTimerWith()
/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/app/admin/
DSystemUpdatePolicy.java639 long whenMillis = TimeUnit.HOURS.toMillis(query.get(Calendar.HOUR_OF_DAY)) in getInstallationOptionRegardlessFreezeAt()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java280 int[] timeTag = new int[] { mGPSTimeStampCalendar.get(Calendar.HOUR_OF_DAY), 1, in setLocation()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java231 c.set(GregorianCalendar.HOUR_OF_DAY, 0); in buildNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java474 mCalendar.set(Calendar.HOUR_OF_DAY, hh); in dispatchDemoCommand()
/frameworks/base/graphics/java/android/graphics/
DGraphicsStatsService.java289 calendar.set(Calendar.HOUR_OF_DAY, 0); in normalizeDate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java291 calendar.set(Calendar.HOUR_OF_DAY, 0); in setToMidnight()

12