/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleCalendarTest.java | 67 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 …]
|
D | ScheduleConditionProviderTest.java | 87 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/ |
D | Time.java | 119 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/ |
D | MonthDisplayHelper.java | 57 mCalendar.set(Calendar.HOUR_OF_DAY, 0); in MonthDisplayHelper()
|
/frameworks/base/core/java/android/webkit/ |
D | DateSorter.java | 126 c.set(Calendar.HOUR_OF_DAY, 0); in beginningOfDay()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountServiceIdler.java | 124 calendar.set(Calendar.HOUR_OF_DAY, nHours); in offsetFromTodayMidnight()
|
/frameworks/base/core/java/android/text/format/ |
D | DateIntervalFormat.java | 121 return c.get(Calendar.HOUR_OF_DAY) == 0 in isExactlyMidnight()
|
D | DateFormat.java | 117 public static final char HOUR_OF_DAY = 'k'; field in DateFormat 542 int hour = inDate.get(Calendar.HOUR_OF_DAY); in format()
|
D | DateUtilsBridge.java | 168 return c.get(Calendar.HOUR_OF_DAY) == 0 && c.get(Calendar.MINUTE) == 0; in isDisplayMidnightUsingSkeleton()
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 116 calendar.set(Calendar.HOUR_OF_DAY, timeOfDay.hour); in parse()
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 477 setDate(cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE)); in autofill() 491 cal.set(Calendar.HOUR_OF_DAY, getHour()); in getAutofillValue()
|
D | TimePickerSpinnerDelegate.java | 205 setHour(mTempCalendar.get(Calendar.HOUR_OF_DAY)); in TimePickerSpinnerDelegate() 431 mTempCalendar.set(Calendar.HOUR_OF_DAY, getHour()); in onPopulateAccessibilityEvent()
|
D | TimePickerClockDelegate.java | 248 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/ |
D | ScheduleCalendar.java | 109 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in getTime()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 254 data[4] = byteToBCD(mCalendar.get(java.util.Calendar.HOUR_OF_DAY)); in format()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateIntervalFormatTest.java | 70 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/ |
D | NightDisplayTile.java | 193 c.set(Calendar.HOUR_OF_DAY, toggleTime.getHour()); in getSecondaryLabel()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 289 noon.set(Calendar.HOUR_OF_DAY, 12); in calculateTwilightState()
|
/frameworks/base/obex/javax/obex/ |
D | ObexHelper.java | 276 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/ |
D | PersistLogSection.java | 249 calendar.set(Calendar.HOUR_OF_DAY, 0); in getEpochSec()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 442 date.set(java.util.Calendar.HOUR_OF_DAY, 0); in getMidnightTimestamp()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 280 int[] timeTag = new int[] { mGPSTimeStampCalendar.get(Calendar.HOUR_OF_DAY), 1, in setLocation()
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 639 long whenMillis = TimeUnit.HOURS.toMillis(query.get(Calendar.HOUR_OF_DAY)) in getInstallationOptionRegardlessFreezeAt()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 456 mCalendar.set(Calendar.HOUR_OF_DAY, hh); in dispatchDemoCommand()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationBuilderTest.java | 231 c.set(GregorianCalendar.HOUR_OF_DAY, 0); in buildNotification()
|