Searched refs:parseOptionalDateTaken (Results 1 – 2 of 2) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 25 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalDateTaken; 265 assertEquals(1453972654000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Complete() 267 assertEquals(1453972654000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Complete() 271 assertEquals(1453972654000L + 25200000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Complete() 273 assertEquals(1453972654000L - 25200000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Complete() 285 assertEquals(1453972654000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Gps() 288 assertEquals(1453972654000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Gps() 293 assertEquals(1453972654000L + 25200000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Gps() 296 assertEquals(1453972654000L + 25200000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Gps() 301 assertEquals(1453972654000L - 25200000L, (long) parseOptionalDateTaken(exif, 0L).get()); in testParseDateTaken_Gps() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 1397 parseOptionalDateTaken(exif, lastModifiedTime(file, attrs) * 1000)); in scanItemImage() 1512 static @NonNull Optional<Long> parseOptionalDateTaken(@NonNull ExifInterface exif, in parseOptionalDateTaken() method in ModernMediaScanner
|