/frameworks/base/core/tests/utiltests/src/android/util/ |
D | TimeUtilsTest.java | 48 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/ |
D | UsbHostManager.java | 135 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/ |
D | TimerThread.cpp | 35 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()
|
D | TimeCheck.cpp | 51 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/ |
D | TimeUtils.java | 389 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/ |
D | BlobStoreUtils.java | 65 static String formatTime(long timeMs) { in formatTime() method in BlobStoreUtils
|
D | BlobStoreSession.java | 560 fout.println("creation time: " + BlobStoreUtils.formatTime(mCreationTimeMs)); in dump()
|
D | BlobMetadata.java | 778 + (commitTimeMs == 0 ? "<null>" : BlobStoreUtils.formatTime(commitTimeMs))); in dump()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutDumpFiles.java | 91 pw.println(ShortcutService.formatTime(path.lastModified())); in dumpAll()
|
D | ShortcutUser.java | 553 pw.println(ShortcutService.formatTime(mLastAppScanTime)); in dump()
|
D | ShortcutService.java | 4802 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()));
|
D | ShortcutPackage.java | 1734 pw.print(ShortcutService.formatTime(mLastResetTime)); in dump()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneInfo.java | 241 private static String formatTime(DateFormat df, int s) { in formatTime() method in TimeZoneInfo
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTimeSlotEventsTracker.java | 380 + "(slot=" + TimeUtils.formatTime(mCurSlotStartTime[DEFAULT_INDEX], now) + ")"; in formatEventSummary()
|
D | AppBatteryTracker.java | 38 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/ |
D | SyncManager.java | 2205 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/ |
D | NetworkPolicyManagerServiceTest.java | 2829 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/ |
D | JobStatus.java | 2995 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
|