Home
last modified time | relevance | path

Searched refs:formatTime (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/utiltests/src/android/util/
DTimeUtilsTest.java48 TimeUtils.formatTime(1672556400000L, 1672556400000L)); in testFormatTime()
50 TimeUtils.formatTime(1672556400000L, 1672556400000L - 10)); in testFormatTime()
52 TimeUtils.formatTime(1672556400000L, 1672556400000L + 10)); in testFormatTime()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java135 private String formatTime() { in formatTime() method in UsbHostManager.ConnectionRecord
166 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpShort()
176 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpShort()
182 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpTree()
192 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpTree()
198 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpList()
209 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpList()
217 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpRaw()
236 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpRaw()
/frameworks/av/media/utils/
DTimerThread.cpp35 extern std::string formatTime(std::chrono::system_clock::time_point t);
106 .append(formatTime(std::chrono::system_clock::now())) in toString()
270 const auto scheduledString = formatTime(scheduled); in toString()
271 const auto deadlineString = formatTime(deadline); in toString()
DTimeCheck.cpp51 std::string formatTime(std::chrono::system_clock::time_point t) { in formatTime() function
283 .append(" scheduled ").append(formatTime(startSystemTime)) in onTimeout()
/frameworks/base/core/java/android/util/
DTimeUtils.java389 return formatTime(time, SystemClock.uptimeMillis()); in formatUptime()
395 return formatTime(time, SystemClock.elapsedRealtime()); in formatRealtime()
400 public static String formatTime(long time, long referenceTime) { in formatTime() method in TimeUtils
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreUtils.java65 static String formatTime(long timeMs) { in formatTime() method in BlobStoreUtils
DBlobStoreSession.java560 fout.println("creation time: " + BlobStoreUtils.formatTime(mCreationTimeMs)); in dump()
DBlobMetadata.java778 + (commitTimeMs == 0 ? "<null>" : BlobStoreUtils.formatTime(commitTimeMs))); in dump()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutDumpFiles.java91 pw.println(ShortcutService.formatTime(path.lastModified())); in dumpAll()
DShortcutUser.java553 pw.println(ShortcutService.formatTime(mLastAppScanTime)); in dump()
DShortcutService.java4802 pw.print(formatTime(now));
4807 pw.print(formatTime(mRawLastResetTime.get()));
4813 pw.print(formatTime(last));
4819 pw.print(formatTime(next));
4895 static String formatTime(long time) {
4900 pw.print(formatTime(injectCurrentTimeMillis()));
DShortcutPackage.java1734 pw.print(ShortcutService.formatTime(mLastResetTime)); in dump()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java241 private static String formatTime(DateFormat df, int s) { in formatTime() method in TimeZoneInfo
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTimeSlotEventsTracker.java380 + "(slot=" + TimeUtils.formatTime(mCurSlotStartTime[DEFAULT_INDEX], now) + ")"; in formatEventSummary()
DAppBatteryTracker.java38 import static android.util.TimeUtils.formatTime;
2213 formatTime(ts, now), usage.toString(), usage.percentageToString()); in formatHighBgBatteryRecord()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2205 static String formatTime(long time) { in formatTime() method in SyncManager
2396 pw.println(" (" + formatTime(System.currentTimeMillis()) + ")"); in dumpSyncState()
2535 table.set(row1++, LAST_SYNC, formatTime(status.lastSuccessTime)); in dumpSyncState()
2540 table.set(row1++, LAST_SYNC, formatTime(status.lastFailureTime)); in dumpSyncState()
2573 pw.print(formatTime(event.second.perSourceLastSuccessTimes[j])); in dumpSyncState()
2576 pw.println(formatTime(event.second.perSourceLastFailureTimes[j])); in dumpSyncState()
2582 pw.print(formatTime(event.second.getEventTime(j))); in dumpSyncState()
2800 formatTime(eventTime), in dumpRecentHistory()
2846 formatTime(eventTime), in dumpRecentHistory()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2829 fail("expected " + formatTime(expected) + " but was actually " + formatTime(actual)); in assertTimeEquals()
2833 private static String formatTime(long millis) { in formatTime() method in NetworkPolicyManagerServiceTest
2841 fail("value " + formatTime(actual) + " is outside [" + formatTime(low) + "," in assertEqualsFuzzy()
2842 + formatTime(high) + "]"); in assertEqualsFuzzy()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java2995 pw.println(formatTime(mLastSuccessfulRunTime)); in dump()
2999 pw.println(formatTime(mLastFailedRunTime)); in dump()
3003 private static CharSequence formatTime(long time) { in formatTime() method in JobStatus