/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 130 private static final long SECOND = 1000; field in FormatterTest 131 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 …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleCalendarTest.java | 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 …]
|
D | ScheduleConditionProviderTest.java | 133 now.set(Calendar.SECOND, 59); in testEvaluateSubscription_noAlarmExit_beforeSchedule() 331 now.set(Calendar.SECOND, 0); in getNow()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 86 measureList.add(new Measure(seconds, MeasureUnit.SECOND)); in formatElapsedTime() 90 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 | 37 SECOND(0x01), enumConstant
|
D | ResponseData.java | 259 data[6] = byteToBCD(mCalendar.get(java.util.Calendar.SECOND)); in format()
|
D | ValueParser.java | 92 TimeUnit timeUnit = TimeUnit.SECOND; in retrieveDuration()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 268 new Measure(seconds, MeasureUnit.SECOND)); in formatShortElapsedTime() 270 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 | 144 public static final int SECOND = 1; field in Time 261 case SECOND: in getActualMaximum()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 138 cal.add(Calendar.SECOND, sign*seconds); in addTo()
|
D | RecurrenceProcessor.java | 277 iterator.getActualMaximum(Time.SECOND)); in filter() 779 freqField = Time.SECOND; in expand() 1074 case Time.SECOND: in expand()
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 59 mCalendar.set(Calendar.SECOND, 0); in MonthDisplayHelper()
|
/frameworks/base/core/java/android/webkit/ |
D | DateSorter.java | 128 c.set(Calendar.SECOND, 0); in beginningOfDay()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountServiceIdler.java | 125 calendar.set(Calendar.SECOND, 0); in offsetFromTodayMidnight()
|
/frameworks/base/cmds/incidentd/testdata/ |
D | kmsg.txt.gz |
|
D | kmsg.txt | 41 ******************** [ START SECOND] ********************
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 118 calendar.set(Calendar.SECOND, timeOfDay.second); in parse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzData.java | 104 c.set(Calendar.SECOND, second); in parse()
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 118 mCalendar.set(Calendar.SECOND, 0); in getTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 205 calendar.set(Calendar.SECOND, 0); in roundToNextMinute()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 165 c.set(Calendar.SECOND, 0); in getSecondaryLabel()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 293 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()
|