Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java881 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); in testJpegExifByCamera() local
882 assertNotNull(datetime); in testJpegExifByCamera()
884 assertTrue(datetime.startsWith(localDatetime)); in testJpegExifByCamera()
885 assertTrue(datetime.length() == 19); // EXIF spec is "YYYY:MM:DD HH:MM:SS". in testJpegExifByCamera()
1001 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); in checkExtraExifTagsSucceeds() local
1002 passedSoFar = expectNotNull("Exif TAG_DATETIME is null!", logBuf, datetime); in checkExtraExifTagsSucceeds()
1005 digitizedTime.equals(datetime)); in checkExtraExifTagsSucceeds()
1118 Date datetime = formatter.parse(dateTimeString, pos); in getGpsDateTimeFromJpeg() local
1119 if (datetime == null) return -1; in getGpsDateTimeFromJpeg()
1120 return datetime.getTime(); in getGpsDateTimeFromJpeg()