Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpUtils.cpp36 bool parseDateTime(const char* dateTime, time_t& outSeconds) { in parseDateTime() argument
38 if (sscanf(dateTime, "%04d%02d%02dT%02d%02d%02d", in parseDateTime()
43 const char* tail = dateTime + 15; in parseDateTime()
DMtpUtils.h24 bool parseDateTime(const char* dateTime, time_t& outSeconds);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapMessage.java94 String dateTime = attrs.get("datetime"); in BluetoothMapMessage() local
96 if(dateTime != null){ in BluetoothMapMessage()
97 mDateTime = (new ObexTime(dateTime)).getTime(); in BluetoothMapMessage()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java484 private String formatDateTime(long dateTime, boolean pretty) { in formatDateTime() argument
486 return "\"" + DateUtils.formatDateTime(mContext, dateTime, sDateFormatFlags) + "\""; in formatDateTime()
488 return Long.toString(dateTime); in formatDateTime()
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java402 String dateTime = Integer.toString(year) + "0101T000000"; in getPropertyList() local
403 result.append(handle, propertyCode, dateTime); in getPropertyList()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2000 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags() local
2001 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags()
2003 dateTime.length() == EXIF_DATETIME_LENGTH); in verifyJpegExifExtraTags()
2005 new SimpleDateFormat("yyyy:MM:dd HH:mm:ss").parse(dateTime).getTime() / 1000; in verifyJpegExifExtraTags()
2011 dateTime.startsWith(localDatetime)); in verifyJpegExifExtraTags()