/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 | 85 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InSchedule() 89 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InSchedule() 109 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 113 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 131 now.set(Calendar.HOUR_OF_DAY, 14); in testEvaluateSubscription_noAlarmExit_beforeSchedule() 140 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_beforeSchedule() 144 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_beforeSchedule() 163 info.startHour = now.get(Calendar.HOUR_OF_DAY) - 1; in testEvaluateSubscription_noAlarmExit_endSchedule() 167 info.endHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_endSchedule() 322 now.add(Calendar.HOUR_OF_DAY, 1); in testEvaluateSubscription_alarmCanceled() [all …]
|
/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 | 114 calendar.set(Calendar.HOUR_OF_DAY, 3); in tomorrowMidnight()
|
D | GraphicsStatsService.java | 210 calendar.set(Calendar.HOUR_OF_DAY, 0); in normalizeDate()
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 57 mCalendar.set(Calendar.HOUR_OF_DAY, 0); in MonthDisplayHelper()
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 113 public static final char HOUR_OF_DAY = 'k'; field in DateFormat 471 int hour = inDate.get(Calendar.HOUR_OF_DAY); in format()
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 463 setDate(cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE)); in autofill() 477 cal.set(Calendar.HOUR_OF_DAY, getHour()); in getAutofillValue()
|
D | TimePickerSpinnerDelegate.java | 207 setHour(mTempCalendar.get(Calendar.HOUR_OF_DAY)); in TimePickerSpinnerDelegate() 433 mTempCalendar.set(Calendar.HOUR_OF_DAY, getHour()); in onPopulateAccessibilityEvent()
|
D | TimePickerClockDelegate.java | 248 final int currentHour = mTempCalendar.get(Calendar.HOUR_OF_DAY); in TimePickerClockDelegate() 684 mTempCalendar.set(Calendar.HOUR_OF_DAY, getHour());
|
D | DateTimeView.java | 306 c.set(Calendar.HOUR_OF_DAY, 0); in computeNextMidnight()
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
D | TwilightManager.java | 101 final int hour = calendar.get(Calendar.HOUR_OF_DAY); in isNight()
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 116 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in getTime()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 246 data[4] = byteToBCD(mCalendar.get(java.util.Calendar.HOUR_OF_DAY)); in format()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 293 noon.set(Calendar.HOUR_OF_DAY, 12); in calculateTwilightState()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
D | TimePicker.java | 123 setHour(currentDate.get(Calendar.HOUR_OF_DAY)); in TimePicker()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 274 c.get(Calendar.HOUR_OF_DAY), in toUTCString()
|
/frameworks/base/obex/javax/obex/ |
D | ObexHelper.java | 275 temp.set(Calendar.HOUR_OF_DAY, Integer.parseInt(dateString in updateHeaderSet() 478 temp = dateHeader.get(Calendar.HOUR_OF_DAY); in createHeader()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 436 date.set(java.util.Calendar.HOUR_OF_DAY, 0); in getMidnightTimestamp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 409 mCalendar.set(Calendar.HOUR_OF_DAY, hh); in dispatchDemoCommand()
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 641 long whenMillis = TimeUnit.HOURS.toMillis(query.get(Calendar.HOUR_OF_DAY)) in getInstallationOptionRegardlessFreezeAt()
|
/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/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationBuilderTest.java | 231 c.set(GregorianCalendar.HOUR_OF_DAY, 0); in buildNotification()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | ColorDisplayServiceTest.java | 1100 return LocalTime.of(c.get(Calendar.HOUR_OF_DAY), c.get(Calendar.MINUTE)); in getLocalTimeRelativeToNow()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | EnableZenModeDialog.java | 290 calendar.set(Calendar.HOUR_OF_DAY, 0); in setToMidnight()
|