Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpUtils.cpp56 bool parseDateTime(const char* dateTime, time_t& outSeconds) { in parseDateTime() argument
58 if (sscanf(dateTime, "%04d%02d%02dT%02d%02d%02d", in parseDateTime()
63 const char* tail = dateTime + 15; in parseDateTime()
DMtpUtils.h30 bool parseDateTime(const char* dateTime, time_t& outSeconds);
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java242 String dateTime = Integer.toString(year) + "0101T000000"; in getPropertyList() local
243 list.append(id, property.code, dateTime); in getPropertyList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageExporter.java406 String dateTime = DateTimeFormatter.ofPattern("yyyy:MM:dd HH:mm:ss").format(captureTime);
410 exif.setAttribute(ExifInterface.TAG_DATETIME_ORIGINAL, dateTime);
/frameworks/base/core/java/android/widget/
DDateTimeView.java137 LocalDateTime dateTime = toLocalDateTime(timeMillis, ZoneId.systemDefault()); in setTime() local
138 mLocalTime = dateTime.withSecond(0); in setTime()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2072 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags() local
2073 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags()
2075 dateTime.length() == EXIF_DATETIME_LENGTH); in verifyJpegExifExtraTags()
2077 new SimpleDateFormat("yyyy:MM:dd HH:mm:ss").parse(dateTime).getTime() / 1000; in verifyJpegExifExtraTags()
2083 dateTime.startsWith(localDatetime)); in verifyJpegExifExtraTags()
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStore2ParameterUtils.java187 p.value = KeyParameterValue.dateTime(date.getTime()); in makeDate()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java865 static String formatDateTime(long dateTime, boolean pretty) { in formatDateTime() argument
867 return "\"" + sDateFormat.format(dateTime)+ "\""; in formatDateTime()
869 return Long.toString(dateTime); in formatDateTime()