Searched refs:NOW (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorSpecTest.java | 37 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); field in KeyPairGeneratorSpecTest 40 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); 47 .setStartDate(NOW) in testBuilder_Unencrypted_Success() 57 assertEquals("startDate should be the one specified", NOW, spec.getStartDate()); in testBuilder_Unencrypted_Success() 77 .setStartDate(NOW) in testBuilder_MissingAlias_Failure() 90 .setStartDate(NOW) in testBuilder_MissingSubjectDN_Failure() 103 .setStartDate(NOW) in testBuilder_MissingSerialNumber_Failure() 130 .setStartDate(NOW) in testBuilder_MissingEndDate_Failure() 144 .setEndDate(NOW) in testBuilder_EndBeforeStart_Failure()
|
D | KeyPairGeneratorTest.java | 104 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); field in KeyPairGeneratorTest 107 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); 167 .setStartDate(NOW) in testInitialize_LegacySpec() 392 .setStartDate(NOW) in testGenerate_EC_LegacySpec() 402 TEST_SERIAL_1, NOW, in testGenerate_EC_LegacySpec() 438 .setStartDate(NOW) in testGenerate_EC_LegacySpec() 449 NOW, in testGenerate_EC_LegacySpec() 484 .setStartDate(NOW) in testGenerate_EC_LegacySpec() 495 NOW, in testGenerate_EC_LegacySpec() 531 .setStartDate(NOW) in testGenerate_RSA_LegacySpec() [all …]
|