Searched refs:DAY_IN_MILLIS (Results 1 – 9 of 9) sorted by relevance
121 … DateUtils.MINUTE_IN_MILLIS, DateUtils.DAY_IN_MILLIS, DateUtils.FORMAT_NUMERIC_DATE)); in test_getRelativeDateTimeString()209 long tomorrow = now + DateUtils.DAY_IN_MILLIS; in test_bug_7548161()210 long yesterday = now - DateUtils.DAY_IN_MILLIS; in test_bug_7548161()212 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()214 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()216 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()
183 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in MacTest405 .setKeyValidityStart(new Date(System.currentTimeMillis() - DAY_IN_MILLIS)) in testInitFailsWhenKeyNotYetValid()409 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitFailsWhenKeyNotYetValid()423 new Date(System.currentTimeMillis() + DAY_IN_MILLIS)) in testInitFailsWhenKeyNoLongerValidForOrigination()427 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitFailsWhenKeyNoLongerValidForOrigination()443 new Date(System.currentTimeMillis() + DAY_IN_MILLIS)) in testInitIgnoresThatKeyNoLongerValidForConsumption()447 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitIgnoresThatKeyNoLongerValidForConsumption()
81 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()83 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()85 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
213 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in CipherTest1123 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitDecryptFailsWhenKeyNotYetValid()1140 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitEncryptSymmetricFailsWhenKeyNotYetValid()1160 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitEncryptAsymmetricIgnoresThatKeyNotYetValid()1180 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitDecryptFailsWhenKeyNoLongerValidForConsumption()1199 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitDecryptIgnoresThatKeyNoLongerValidForOrigination()1218 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptSymmetricFailsWhenKeyNoLongerValidForOrigination()1241 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptSymmetricIgnoresThatKeyNoLongerValidForConsumption()1263 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptAsymmetricIgnoresThatKeyNoLongerValid()
329 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in SignatureTest974 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitSignFailsWhenKeyNotYetValid()988 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNotYetValid()1002 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitSignFailsWhenKeyNoLongerValidForOrigination()1018 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNoLongerValidForOrigination()1034 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitSignIgnoresThatKeyNoLongerValidForConsumption()1050 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNoLongerValidForConsumption()
93 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()95 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()97 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
460 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()462 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()464 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()
103 private static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in KeyPairGeneratorTest301 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()303 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()305 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()973 Date validityStart = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testGenerate_EC_ModernSpec_KeyNotYetValid()997 Date originationEnd = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testGenerate_RSA_ModernSpec_KeyExpiredForOrigination()
71 static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in TestUtils