Home
last modified time | relevance | path

Searched refs:formatElapsedTime (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DStringUtilTest.java49 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, true).toString()) in testFormatElapsedTime_WithSeconds_ShowSeconds()
58 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_NoSeconds_DoNotShowSeconds()
68 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_TimeMoreThanOneDay_ShowCorrectly()
77 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_ZeroFieldsInTheMiddleDontShow()
86 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, true).toString()) in testFormatElapsedTime_FormatZero_WithSeconds()
95 assertThat(StringUtil.formatElapsedTime(mContext, testMillis, false).toString()) in testFormatElapsedTime_FormatZero_NoSeconds()
104 StringUtil.formatElapsedTime(mContext, testMillis, false); in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DPowerUtil.java64 CharSequence timeString = StringUtil.formatElapsedTime(context, in getBatteryRemainingStringFormatted()
152 CharSequence timeString = StringUtil.formatElapsedTime(context, in getMoreThanOneDayString()
172 CharSequence timeString = StringUtil.formatElapsedTime(context, roundedTimeMs, in getMoreThanOneDayShortString()
DStringUtil.java52 public static CharSequence formatElapsedTime(Context context, double millis, in formatElapsedTime() method in StringUtil
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java712 private String formatElapsedTime(long elapsedTime, boolean pretty) { in formatElapsedTime() method in UserUsageStatsService
714 return "\"" + DateUtils.formatElapsedTime(elapsedTime / 1000) + "\""; in formatElapsedTime()
810 pw.print(formatElapsedTime(tracker.duration, prettyDates)); in printEventAggregation()
842 formatElapsedTime(usageStats.mTotalTimeInForeground, prettyDates)); in printIntervalStats()
845 formatElapsedTime(usageStats.mTotalTimeVisible, prettyDates)); in printIntervalStats()
849 formatElapsedTime(usageStats.mTotalTimeForegroundServiceUsed, prettyDates)); in printIntervalStats()
895 pw.printPair("totalTime", formatElapsedTime(config.mTotalTimeActive, prettyDates)); in printIntervalStats()
/frameworks/base/core/java/android/text/format/
DDateUtils.java431 public static String formatElapsedTime(long elapsedSeconds) { in formatElapsedTime() method in DateUtils
432 return formatElapsedTime(null, elapsedSeconds); in formatElapsedTime()
443 public static String formatElapsedTime(StringBuilder recycle, long elapsedSeconds) { in formatElapsedTime() method in DateUtils
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DUptimePreferenceControllerTest.java68 DateUtils.formatElapsedTime(SystemClock.elapsedRealtime() / 1000)); in testDisplayPreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractUptimePreferenceController.java92 mUptime.setSummary(DateUtils.formatElapsedTime(SystemClock.elapsedRealtime() / 1000)); in updateTimes()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java855 DateUtils.formatElapsedTime(elapsedRuntimes.first / 1000), in restoreJobFromXml()
856 DateUtils.formatElapsedTime(elapsedRuntimes.second / 1000), in restoreJobFromXml()
857 DateUtils.formatElapsedTime( in restoreJobFromXml()
859 DateUtils.formatElapsedTime( in restoreJobFromXml()
/frameworks/base/core/java/android/widget/
DChronometer.java299 String text = DateUtils.formatElapsedTime(mRecycle, seconds); in updateText()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java213 .setContentInfo(DateUtils.formatElapsedTime(pos)) in updateNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java348 String text = DateUtils.formatElapsedTime(seconds); in millisecondsToTimeString()
/frameworks/base/config/
Dboot-image-profile.txt15182 HSPLandroid/text/format/DateUtils;->formatElapsedTime(J)Ljava/lang/String;
15183 HSPLandroid/text/format/DateUtils;->formatElapsedTime(Ljava/lang/StringBuilder;J)Ljava/lang/String;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30047 method public static java.lang.String formatElapsedTime(long);
30048 method public static java.lang.String formatElapsedTime(java.lang.StringBuilder, long);
/frameworks/base/services/
Dart-profile13857 PLcom/android/server/usage/UserUsageStatsService;->formatElapsedTime(JZ)Ljava/lang/String;
/frameworks/base/non-updatable-api/
Dcurrent.txt47619 method public static String formatElapsedTime(long);
47620 method public static String formatElapsedTime(StringBuilder, long);
/frameworks/base/api/
Dcurrent.txt47763 method public static String formatElapsedTime(long);
47764 method public static String formatElapsedTime(StringBuilder, long);