Home
last modified time | relevance | path

Searched refs:SECONDS_PER_DAY (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java41 public static final int SECONDS_PER_DAY = 24 * 60 * 60; field in StringUtil
62 if (seconds >= SECONDS_PER_DAY) { in formatElapsedTime()
63 days = seconds / SECONDS_PER_DAY; in formatElapsedTime()
64 seconds -= days * SECONDS_PER_DAY; in formatElapsedTime()
135 } else if (seconds < 2 * SECONDS_PER_DAY) { in formatRelativeTime()
141 value = (seconds + SECONDS_PER_DAY / 2) in formatRelativeTime()
142 / SECONDS_PER_DAY; in formatRelativeTime()
/frameworks/base/core/java/android/text/format/
DFormatter.java215 private static final int SECONDS_PER_DAY = 24 * 60 * 60; field in Formatter
231 if (secondsLong >= SECONDS_PER_DAY) { in formatShortElapsedTime()
232 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime()
233 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime()
/frameworks/base/core/java/android/util/
DTimeUtils.java144 private static final int SECONDS_PER_DAY = 24 * 60 * 60; field in TimeUtils
244 if (seconds >= SECONDS_PER_DAY) { in formatDurationLocked()
245 days = seconds / SECONDS_PER_DAY; in formatDurationLocked()
246 seconds -= days * SECONDS_PER_DAY; in formatDurationLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt70099 Landroid/text/format/Formatter;->SECONDS_PER_DAY:I
72814 Landroid/util/TimeUtils;->SECONDS_PER_DAY:I
105669 Ljava/nio/file/attribute/FileTime;->SECONDS_PER_DAY:J
107190 Ljava/time/LocalTime;->SECONDS_PER_DAY:I