/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | StringUtilTest.java | 49 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/ |
D | PowerUtil.java | 64 CharSequence timeString = StringUtil.formatElapsedTime(context, in getBatteryRemainingStringFormatted() 152 CharSequence timeString = StringUtil.formatElapsedTime(context, in getMoreThanOneDayString() 172 CharSequence timeString = StringUtil.formatElapsedTime(context, roundedTimeMs, in getMoreThanOneDayShortString()
|
D | StringUtil.java | 52 public static CharSequence formatElapsedTime(Context context, double millis, in formatElapsedTime() method in StringUtil
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 712 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/ |
D | DateUtils.java | 431 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/ |
D | UptimePreferenceControllerTest.java | 68 DateUtils.formatElapsedTime(SystemClock.elapsedRealtime() / 1000)); in testDisplayPreference()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractUptimePreferenceController.java | 92 mUptime.setSummary(DateUtils.formatElapsedTime(SystemClock.elapsedRealtime() / 1000)); in updateTimes()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 855 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/ |
D | Chronometer.java | 299 String text = DateUtils.formatElapsedTime(mRecycle, seconds); in updateText()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | NotificationHelper.java | 213 .setContentInfo(DateUtils.formatElapsedTime(pos)) in updateNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationMediaTemplateViewWrapper.java | 348 String text = DateUtils.formatElapsedTime(seconds); in millisecondsToTimeString()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 15182 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/ |
D | android-22.txt | 30047 method public static java.lang.String formatElapsedTime(long); 30048 method public static java.lang.String formatElapsedTime(java.lang.StringBuilder, long);
|
/frameworks/base/services/ |
D | art-profile | 13857 PLcom/android/server/usage/UserUsageStatsService;->formatElapsedTime(JZ)Ljava/lang/String;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 47619 method public static String formatElapsedTime(long); 47620 method public static String formatElapsedTime(StringBuilder, long);
|
/frameworks/base/api/ |
D | current.txt | 47763 method public static String formatElapsedTime(long); 47764 method public static String formatElapsedTime(StringBuilder, long);
|