Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DExifUtilsTest.java109 assertEquals(0L, ExifUtils.parseSubSeconds("0")); in testSubSeconds()
110 assertEquals(100L, ExifUtils.parseSubSeconds("1")); in testSubSeconds()
111 assertEquals(10L, ExifUtils.parseSubSeconds("01")); in testSubSeconds()
112 assertEquals(120L, ExifUtils.parseSubSeconds("12")); in testSubSeconds()
113 assertEquals(123L, ExifUtils.parseSubSeconds("123")); in testSubSeconds()
114 assertEquals(123L, ExifUtils.parseSubSeconds("1234")); in testSubSeconds()
115 assertEquals(12L, ExifUtils.parseSubSeconds("01234")); in testSubSeconds()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DExifUtils.java149 msecs += parseSubSeconds(subSecs); in parseDateTime()
158 static @CurrentTimeMillisLong long parseSubSeconds(@NonNull String subSec) { in parseSubSeconds() method in ExifUtils