/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleCalendarTest.java | 70 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_startToday() 96 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_endToday() 123 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_startTomorrow() 151 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_endTomorrow() 201 expected.set(Calendar.SECOND, 0); in testGetNextChangeTime_startTomorrowInDaylight() 239 expected.set(Calendar.SECOND, 0); in testGetNextChangeTime_startTomorrowWhenTodayIsDaylight() 277 expected.set(Calendar.SECOND, 0); in testGetNextChangeTime_startTomorrowWhenTodayIsDaylightBackward() 329 now.set(Calendar.SECOND, 0); in testShouldExitForAlarm_oldAlarm() 354 calNow.set(Calendar.SECOND, 0); in testShouldExitForAlarm_oldAlarmInSchedule() 362 calAlarm.set(Calendar.SECOND, 0); in testShouldExitForAlarm_oldAlarmInSchedule() [all …]
|
D | ScheduleConditionProviderTest.java | 137 now.set(Calendar.SECOND, 59); in testEvaluateSubscription_noAlarmExit_beforeSchedule() 341 now.set(Calendar.SECOND, 0); in getNow()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 132 private static final long SECOND = 1000; field in FormatterTest 133 private static final long MINUTE = 60 * SECOND; 153 Formatter.formatShortElapsedTime(mContext, 59 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTime() 156 assertEquals("3 min", Formatter.formatShortElapsedTime(mContext, 2 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTime() 159 Formatter.formatShortElapsedTime(mContext, 1 * MINUTE + 59 * SECOND + 999)); in testFormatShortElapsedTime() 161 assertEquals("59 sec", Formatter.formatShortElapsedTime(mContext, 59 * SECOND + 999)); in testFormatShortElapsedTime() 162 assertEquals("1 sec", Formatter.formatShortElapsedTime(mContext, 1 * SECOND)); in testFormatShortElapsedTime() 195 mContext, 59 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTimeRoundingUpToMinutes() 199 mContext, 2 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTimeRoundingUpToMinutes() 203 mContext, 1 * MINUTE + 59 * SECOND + 999)); in testFormatShortElapsedTimeRoundingUpToMinutes() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Time.java | 44 public static final int SECOND = 1; field in Time 121 second = mCalendar.get(Calendar.SECOND); in readFieldsFromCalendar() 192 case SECOND: return Calendar.SECOND; in getCalendarField() 343 return mCalendar.get(Calendar.SECOND); in getSecond() 348 mCalendar.set(Calendar.SECOND, second); in setSecond()
|
D | Duration.java | 138 cal.add(Calendar.SECOND, sign*seconds); in addTo()
|
D | RecurrenceProcessor.java | 275 iterator.getActualMaximum(Time.SECOND)); in filter() 777 freqField = Time.SECOND; in expand() 1072 case Time.SECOND: in expand()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 93 measureList.add(new Measure(seconds, MeasureUnit.SECOND)); in formatElapsedTime() 97 measureList.add(new Measure(0, withSeconds ? MeasureUnit.SECOND : MeasureUnit.MINUTE)); in formatElapsedTime()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | Duration.java | 38 SECOND(0x01), enumConstant
|
D | ResponseData.java | 260 data[6] = byteToBCD(mCalendar.get(java.util.Calendar.SECOND)); in format()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsScheduler.java | 191 cal.set(Calendar.SECOND, 0); in alignToWallClock() 209 cal.set(Calendar.SECOND, 0); in alignToWallClock()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountServiceIdler.java | 126 calendar.set(Calendar.SECOND, 0); in offsetFromTodayMidnight()
|
/frameworks/base/core/java/android/webkit/ |
D | DateSorter.java | 134 c.set(Calendar.SECOND, 0); in beginningOfDay()
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 60 mCalendar.set(Calendar.SECOND, 0); in MonthDisplayHelper()
|
/frameworks/base/cmds/incidentd/testdata/ |
D | kmsg.txt | 41 ******************** [ START SECOND] ********************
|
D | kmsg.txt.gz |
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 365 new Measure(seconds, MeasureUnit.SECOND)); in formatShortElapsedTime() 367 return measureFormat.format(new Measure(seconds, MeasureUnit.SECOND)); in formatShortElapsedTime()
|
D | DateIntervalFormat.java | 123 && c.get(Calendar.SECOND) == 0 in isExactlyMidnight()
|
D | DateUtilsBridge.java | 172 return c.get(Calendar.MINUTE) == 0 && c.get(Calendar.SECOND) == 0; in onTheHour()
|
D | Time.java | 145 public static final int SECOND = 1; field in Time 262 case SECOND: in getActualMaximum()
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 118 calendar.set(Calendar.SECOND, timeOfDay.second); in parse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 215 calendar.set(Calendar.SECOND, 0); in roundToNextMinute()
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 119 mCalendar.set(Calendar.SECOND, 0); in getTime()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 291 noon.set(Calendar.SECOND, 0); in calculateTwilightState()
|
/frameworks/base/core/java/android/widget/ |
D | Chronometer.java | 384 measures.add(new Measure(s, MeasureUnit.SECOND)); in formatDuration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 200 c.set(Calendar.SECOND, 0); in getSecondaryLabel()
|