Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java115 private String formatTime() { in formatTime() method in UsbHostManager.ConnectionRecord
146 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpShort()
156 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpShort()
162 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpTree()
173 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpTree()
179 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpList()
191 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpList()
199 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpRaw()
222 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpRaw()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DPlaybackSeekDataProviderSample.java55 canvas.drawText(formatTime(position), 10, 80, mPaint); in doInBackground()
60 String formatTime(long ms) { in formatTime() method in PlaybackSeekDataProviderSample
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPlaybackControlsPresenter.java149 formatTime(totalTimeMs / 1000, mTotalTimeStringBuilder); in setTotalTime()
163 formatTime(seconds, mCurrentTimeStringBuilder); in setCurrentTime()
189 static void formatTime(long seconds, StringBuilder sb) { in formatTime() method in PlaybackControlsPresenter
DPlaybackTransportRowPresenter.java459 formatTime(totalTimeMs, mTempBuilder); in onSetDurationLabel()
487 formatTime(currentTimeMs, mTempBuilder); in onSetCurrentPositionLabel()
517 static void formatTime(long ms, StringBuilder sb) { in formatTime() method in PlaybackTransportRowPresenter
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutDumpFiles.java91 pw.println(ShortcutService.formatTime(path.lastModified())); in dumpAll()
DShortcutService.java3825 pw.print(formatTime(now)); in dumpInner()
3830 pw.print(formatTime(mRawLastResetTime)); in dumpInner()
3836 pw.print(formatTime(last)); in dumpInner()
3842 pw.print(formatTime(next)); in dumpInner()
3919 static String formatTime(long time) { in formatTime() method in ShortcutService
3926 pw.print(formatTime(injectCurrentTimeMillis())); in dumpCurrentTime()
DShortcutUser.java552 pw.println(ShortcutService.formatTime(mLastAppScanTime)); in dump()
DShortcutPackage.java1268 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/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java1765 fail("expected " + formatTime(expected) + " but was actually " + formatTime(actual)); in assertTimeEquals()
1769 private static String formatTime(long millis) { in formatTime() method in NetworkPolicyManagerServiceTest
1777 fail("value " + formatTime(actual) + " is outside [" + formatTime(low) + "," in assertEqualsFuzzy()
1778 + formatTime(high) + "]"); in assertEqualsFuzzy()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2008 static String formatTime(long time) { in formatTime() method in SyncManager
2199 pw.println(" (" + formatTime(System.currentTimeMillis()) + ")"); in dumpSyncState()
2333 table.set(row1++, LAST_SYNC, formatTime(status.lastSuccessTime)); in dumpSyncState()
2338 table.set(row1++, LAST_SYNC, formatTime(status.lastFailureTime)); in dumpSyncState()
2371 pw.print(formatTime(event.second.perSourceLastSuccessTimes[j])); in dumpSyncState()
2374 pw.println(formatTime(event.second.perSourceLastFailureTimes[j])); in dumpSyncState()
2380 pw.print(formatTime(event.second.getEventTime(j))); in dumpSyncState()
2600 formatTime(eventTime), in dumpRecentHistory()
2648 formatTime(eventTime), in dumpRecentHistory()