Searched refs:SECOND (Results 1 – 25 of 42) sorted by relevance
12
130 private static final long SECOND = 1000; field in FormatterTest131 private static final long MINUTE = 60 * SECOND;151 Formatter.formatShortElapsedTime(mContext, 59 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTime()154 assertEquals("3 min", Formatter.formatShortElapsedTime(mContext, 2 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTime()157 Formatter.formatShortElapsedTime(mContext, 1 * MINUTE + 59 * SECOND + 999)); in testFormatShortElapsedTime()159 assertEquals("59 sec", Formatter.formatShortElapsedTime(mContext, 59 * SECOND + 999)); in testFormatShortElapsedTime()160 assertEquals("1 sec", Formatter.formatShortElapsedTime(mContext, 1 * SECOND)); in testFormatShortElapsedTime()193 mContext, 59 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTimeRoundingUpToMinutes()197 mContext, 2 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTimeRoundingUpToMinutes()201 mContext, 1 * MINUTE + 59 * SECOND + 999)); in testFormatShortElapsedTimeRoundingUpToMinutes()[all …]
69 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_startToday()95 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_endToday()122 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_startTomorrow()150 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_endTomorrow()215 now.set(Calendar.SECOND, 0); in testShouldExitForAlarm_oldAlarm()240 calNow.set(Calendar.SECOND, 0); in testShouldExitForAlarm_oldAlarmInSchedule()248 calAlarm.set(Calendar.SECOND, 0); in testShouldExitForAlarm_oldAlarmInSchedule()352 cal.set(Calendar.SECOND, 0); in testIsInSchedule_inScheduleOvernight()370 cal.set(Calendar.SECOND, 0); in testIsInSchedule_inScheduleSingleDay()387 cal.set(Calendar.SECOND, 0); in testIsInSchedule_notToday()[all …]
133 now.set(Calendar.SECOND, 59); in testEvaluateSubscription_noAlarmExit_beforeSchedule()331 now.set(Calendar.SECOND, 0); in getNow()
86 measureList.add(new Measure(seconds, MeasureUnit.SECOND)); in formatElapsedTime()90 measureList.add(new Measure(0, withSeconds ? MeasureUnit.SECOND : MeasureUnit.MINUTE)); in formatElapsedTime()
37 SECOND(0x01), enumConstant
254 data[6] = byteToBCD(mCalendar.get(java.util.Calendar.SECOND)); in format()
90 TimeUnit timeUnit = TimeUnit.SECOND; in retrieveDuration()
138 cal.add(Calendar.SECOND, sign*seconds); in addTo()
277 iterator.getActualMaximum(Time.SECOND)); in filter()779 freqField = Time.SECOND; in expand()1074 case Time.SECOND: in expand()
268 new Measure(seconds, MeasureUnit.SECOND)); in formatShortElapsedTime()270 return measureFormat.format(new Measure(seconds, MeasureUnit.SECOND)); in formatShortElapsedTime()
145 public static final int SECOND = 1; field in Time262 case SECOND: in getActualMaximum()
128 c.set(Calendar.SECOND, 0); in beginningOfDay()
59 mCalendar.set(Calendar.SECOND, 0); in MonthDisplayHelper()
116 calendar.set(Calendar.SECOND, 0); in tomorrowMidnight()
41 ******************** [ START SECOND] ********************
1[0] bldr_log_init: bldr_log_base=0x83600000, bldr_log_size=458752 2B - 626409 - ...
105 c.set(Calendar.SECOND, second); in parse()
118 mCalendar.set(Calendar.SECOND, 0); in getTime()
202 calendar.set(Calendar.SECOND, 0); in roundToNextMinute()
165 c.set(Calendar.SECOND, 0); in getSecondaryLabel()
292 noon.set(Calendar.SECOND, 0); in calculateTwilightState()
384 measures.add(new Measure(s, MeasureUnit.SECOND)); in formatDuration()
279 temp.set(Calendar.SECOND, Integer.parseInt(dateString in updateHeaderSet()488 temp = dateHeader.get(Calendar.SECOND); in createHeader()
319 c.get(Calendar.SECOND)); in toUTCString()
438 date.set(java.util.Calendar.SECOND, 0); in getMidnightTimestamp()