Home
last modified time | relevance | path

Searched refs:sdf (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java68 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); in createTimestampFormat() local
73 sdf.setCalendar(calendar); in createTimestampFormat()
74 return sdf; in createTimestampFormat()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java376 final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in dump() local
385 pw.print(sdf.format(new Date(now - nowElapsed + mLastBatterySaverEnabledTime))); in dump()
395 pw.print(sdf.format(new Date(now - nowElapsed + mLastBatterySaverDisabledTime))); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java381 SimpleDateFormat sdf; in getSmallTime() local
417 mClockFormat = sdf = new SimpleDateFormat(format); in getSmallTime()
420 sdf = mClockFormat; in getSmallTime()
422 String result = sdf.format(mCalendar.getTime()); in getSmallTime()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastDispatcher.java114 Dumper(PrintWriter pw, String queueName, String dumpPackage, SimpleDateFormat sdf) { in Dumper() argument
118 mSdf = sdf; in Dumper()
724 SimpleDateFormat sdf) { in dumpLocked() argument
725 final Dumper dumper = new Dumper(pw, queueName, dumpPackage, sdf); in dumpLocked()
DBroadcastRecord.java118 void dump(PrintWriter pw, String prefix, SimpleDateFormat sdf) { in dump() argument
144 pw.print(sdf.format(new Date(enqueueClockTime))); in dump()
146 pw.println(sdf.format(new Date(dispatchClockTime))); in dump()
DBroadcastQueue.java1958 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in dumpLocked() local
1976 br.dump(pw, " ", sdf); in dumpLocked()
1979 mDispatcher.dumpLocked(pw, dumpPackage, mQueueName, sdf); in dumpLocked()
1986 mPendingBroadcast.dump(pw, " ", sdf); in dumpLocked()
2026 r.dump(pw, " ", sdf); in dumpLocked()
2089 pw.print(sdf.format(new Date(mSummaryHistoryEnqueueTime[ringIndex]))); in dumpLocked()
2091 pw.print(sdf.format(new Date(mSummaryHistoryDispatchTime[ringIndex]))); in dumpLocked()
2093 pw.println(sdf.format(new Date(mSummaryHistoryFinishTime[ringIndex]))); in dumpLocked()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java692 final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); in dump() local
694 record.dump(pw, sdf); in dump()
804 void dump(final IndentingPrintWriter pw, SimpleDateFormat sdf) { in dump() argument
807 pw.print(sdf.format(new Date(mTime))); in dump()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java2213 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in dumpImpl() local
2216 pw.print("="); pw.print(sdf.format(new Date(nowRTC))); in dumpImpl()
2220 pw.print("="); pw.println(sdf.format(new Date(mLastTimeChangeClockTime))); in dumpImpl()
2222 pw.print(" mLastTickReceived="); pw.println(sdf.format(new Date(mLastTickReceived))); in dumpImpl()
2223 pw.print(" mLastTickSet="); pw.println(sdf.format(new Date(mLastTickSet))); in dumpImpl()
2224 pw.print(" mLastTickAdded="); pw.println(sdf.format(new Date(mLastTickAdded))); in dumpImpl()
2225 pw.print(" mLastTickRemoved="); pw.println(sdf.format(new Date(mLastTickRemoved))); in dumpImpl()
2237 ? sdf.format(new Date(nowRTC - (nowELAPSED - time))) in dumpImpl()
2246 pw.print(sdf.format( in dumpImpl()
2281 pw.print(" = "); pw.println(sdf.format(new Date(nextNonWakeupRTC))); in dumpImpl()
[all …]
/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java129 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); in parsePinSet() local
130 sdf.setLenient(false); in parsePinSet()
131 Date date = sdf.parse(expirationDate); in parsePinSet()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java117 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd_HH:mm:ss"); in captureImages() local
132 sdf.format(cal.getTime()) + "_image" + i + ".jpg", "image " + i); in captureImages()
/frameworks/base/core/java/android/text/format/
DDateFormat.java212 final SimpleDateFormat sdf = (SimpleDateFormat) natural; in is24HourLocale() local
213 final String pattern = sdf.toPattern(); in is24HourLocale()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java752 final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
772 pw.print(sdf.format(new Date(mLastSampleWallTime)));
774 pw.print(sdf.format(new Date(mCurrentSampleWallTime)));
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java4445 ArraySet<String> permissionNames, PackageSetting ps, SimpleDateFormat sdf, in dumpPackageLPr() argument
4659 pw.println(sdf.format(date)); in dumpPackageLPr()
4662 pw.println(sdf.format(date)); in dumpPackageLPr()
4665 pw.println(sdf.format(date)); in dumpPackageLPr()
4817 final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); in dumpPackagesLPr() local
4843 dumpPackageLPr(pw, " ", checkin ? "pkg" : null, permissionNames, ps, sdf, date, users, in dumpPackagesLPr()
4884 dumpPackageLPr(pw, " ", checkin ? "dis" : null, permissionNames, ps, sdf, date, in dumpPackagesLPr()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3580 long now, @NonNull SimpleDateFormat sdf, @NonNull Date date, @NonNull String prefix) { in dumpStatesLocked() argument
3612 pw.print(sdf.format(date)); in dumpStatesLocked()
3636 pw.print(sdf.format(date)); in dumpStatesLocked()
3731 final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in dump() local
4094 dumpStatesLocked(pw, op, now, sdf, date, " "); in dump()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2165 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); in beginFullBackup() local
2168 + sdf.format(new Date(nextEligible))); in beginFullBackup()