Searched refs:dateTime (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 36 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()
|
D | MtpUtils.h | 24 bool parseDateTime(const char* dateTime, time_t& outSeconds);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapMessage.java | 94 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/ |
D | UserUsageStatsService.java | 484 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/ |
D | MtpPropertyGroup.java | 402 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/ |
D | CameraTestUtils.java | 2000 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()
|