Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DNetworkWatchlistTest.java111 Formatter formatter = new Formatter(); in byteArrayToHexString() local
113 formatter.format("%02X", b); in byteArrayToHexString()
115 return formatter.toString(); in byteArrayToHexString()
/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java214 final Formatter formatter = new Formatter(); in testFormatDateRange_withFormatter() local
215 final Formatter result = DateUtils.formatDateRange(mContext, formatter, fixedTime, in testFormatDateRange_withFormatter()
218 assertSame(result, formatter); in testFormatDateRange_withFormatter()
230 final Formatter formatter = new Formatter(); in testFormatDateRange_withFormatterAndTimezone() local
231 final Formatter result = DateUtils.formatDateRange(mContext, formatter, fixedTime, in testFormatDateRange_withFormatterAndTimezone()
234 assertSame(result, formatter); in testFormatDateRange_withFormatterAndTimezone()
/cts/tests/tests/security/src/android/security/cts/
DSSLConscryptPlainTextExposureTest.java242 Formatter formatter = new Formatter(); in StartConnect() local
244 outbuff += formatter.format("%02x ", dataOutNetBuffer.get(i)).toString(); in StartConnect()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1497 SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy HH:mm:ss"); in assertDateEquals() local
1499 String result1 = formatter.format(date1); in assertDateEquals()
1500 String result2 = formatter.format(date2); in assertDateEquals()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1174 SimpleDateFormat formatter = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss"); in getGpsDateTimeFromJpeg() local
1175 formatter.setTimeZone(TimeZone.getTimeZone("UTC")); in getGpsDateTimeFromJpeg()
1177 Date datetime = formatter.parse(dateTimeString, pos); in getGpsDateTimeFromJpeg()