Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/http/cts/
DSslCertificateTest.java191 Date date2 = new Date(System.currentTimeMillis()); in testState() local
192 SslCertificate ssl = new SslCertificate("c=129", "e=weji", date1, date2); in testState()
213 Date date2 = new Date(System.currentTimeMillis()); in testSslCertificate() local
214 SslCertificate ssl = new SslCertificate(TO, BY, date1, date2); in testSslCertificate()
229 assertEquals(date2, ssl.getValidNotAfterDate()); in testSslCertificate()
DSslCertificate_DNameTest.java33 Date date2 = new Date(System.currentTimeMillis()); in testDName() local
35 date1), DateFormat.getInstance().format(date2)); in testDName()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1854 private static void assertDateEquals(Date date1, Date date2) { in assertDateEquals() argument
1855 assertDateEquals(null, date1, date2); in assertDateEquals()
1858 private static void assertDateEquals(String message, Date date1, Date date2) { in assertDateEquals() argument
1862 String result2 = formatter.format(date2); in assertDateEquals()