Home
last modified time | relevance | path

Searched refs:FORMATTER (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcEventLogTest.java19 import static com.android.nfc.NfcEventLog.FORMATTER;
86 .setTimestamp(localDateTime.format(FORMATTER)) in testLogEvent()
113 .setTimestamp(localDateTime.format(FORMATTER)) in testMultipleLogEvents()
134 .setTimestamp(localDateTime.format(FORMATTER)) in testReadEventsFromLogFile()
/packages/apps/Settings/src/com/android/settings/development/storage/
DSharedDataUtils.java34 private static final SimpleDateFormat FORMATTER = new SimpleDateFormat(BLOB_EXPIRY_PATTERN); field in SharedDataUtils
40 return FORMATTER.format(CALENDAR.getTime()); in formatTime()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DBackupRestoreController.java49 private static final SimpleDateFormat FORMATTER = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); field in BackupRestoreController
171 ? FORMATTER.format(new Date(mLastBackupDataRetrievedTimestamp)) : "N/A")); in dump()
178 ? FORMATTER.format(new Date(mLastBackupDataRestoredTimestamp)) : "N/A")); in dump()
DWifiCountryCode.java93 private static final SimpleDateFormat FORMATTER = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); field in WifiCountryCode
344 mAllCmmReadyTimestamp = FORMATTER.format(new Date(mClock.getWallClockMillis())); in evaluateAllCmmStateAndApplyIfAllReady()
382 mTelephonyCountryTimestamp = FORMATTER.format(new Date(mClock.getWallClockMillis())); in setTelephonyCountryCode()
605 ? FORMATTER.format(new Date(mDriverCountryCodeUpdatedTimestamp)) : "N/A")); in dump()
609 ? FORMATTER.format(new Date(mFrameworkCountryCodeUpdatedTimestamp)) : "N/A")); in dump()
DSoftApManager.java258 private static final SimpleDateFormat FORMATTER = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); field in SoftApManager
888 mStartTimestamp = FORMATTER.format(new Date(System.currentTimeMillis())); in startSoftAp()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/
DTimeTest.java32 private static final DateTimeFormatter FORMATTER = field in TimeTest
58 return LocalDateTime.parse(text, FORMATTER).atOffset(ZoneOffset.UTC).toLocalDateTime(); in getUtcLocalDateTime()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java74 private static final DateTimeFormatter FORMATTER = field in UwbCountryCode
290 telephonyCountryCodeInfoSlot.timestamp = LocalDateTime.now().format(FORMATTER); in setTelephonyCountryCodeAndLastKnownCountryCode()
310 mWifiCountryTimestamp = LocalDateTime.now().format(FORMATTER); in setWifiCountryCode()
323 mLocationCountryTimestamp = LocalDateTime.now().format(FORMATTER); in setLocationCountryCode()
411 mCountryCodeUpdatedTimestamp = LocalDateTime.now().format(FORMATTER); in setCountryCode()
/packages/apps/Nfc/src/com/android/nfc/
DNfcEventLog.java47 public static final DateTimeFormatter FORMATTER = field in NfcEventLog
146 .setTimestamp(mNfcInjector.getLocalDateTime().format(FORMATTER)) in logEvent()