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.java138 private static final int SECONDS_PER_DAY = 24 * 60 * 60; field in TimeUtils
238 if (seconds >= SECONDS_PER_DAY) { in formatDurationLocked()
239 days = seconds / SECONDS_PER_DAY; in formatDurationLocked()
240 seconds -= days * SECONDS_PER_DAY; in formatDurationLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt75117 Landroid/text/format/Formatter;->SECONDS_PER_DAY:I
78014 Landroid/util/TimeUtils;->SECONDS_PER_DAY:I
112659 Ljava/nio/file/attribute/FileTime;->SECONDS_PER_DAY:J
114269 Ljava/time/LocalTime;->SECONDS_PER_DAY:I