Home
last modified time | relevance | path

Searched refs:DAY_IN_MILLIS (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java120 … DateUtils.MINUTE_IN_MILLIS, DateUtils.DAY_IN_MILLIS, DateUtils.FORMAT_NUMERIC_DATE)); in test_getRelativeDateTimeString()
208 long tomorrow = now + DateUtils.DAY_IN_MILLIS; in test_bug_7548161()
209 long yesterday = now - DateUtils.DAY_IN_MILLIS; in test_bug_7548161()
211 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()
213 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()
215 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()
/cts/tests/tests/keystore/src/android/keystore/cts/
DMacTest.java183 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in MacTest
405 .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()
DSecretKeyFactoryTest.java81 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()
DCipherTest.java214 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in CipherTest
1137 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitDecryptFailsWhenKeyNotYetValid()
1154 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitEncryptSymmetricFailsWhenKeyNotYetValid()
1174 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitEncryptAsymmetricIgnoresThatKeyNotYetValid()
1194 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitDecryptFailsWhenKeyNoLongerValidForConsumption()
1213 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitDecryptIgnoresThatKeyNoLongerValidForOrigination()
1232 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptSymmetricFailsWhenKeyNoLongerValidForOrigination()
1255 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptSymmetricIgnoresThatKeyNoLongerValidForConsumption()
1277 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptAsymmetricIgnoresThatKeyNoLongerValid()
DSignatureTest.java329 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in SignatureTest
973 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitSignFailsWhenKeyNotYetValid()
987 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNotYetValid()
1001 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitSignFailsWhenKeyNoLongerValidForOrigination()
1017 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNoLongerValidForOrigination()
1033 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitSignIgnoresThatKeyNoLongerValidForConsumption()
1049 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNoLongerValidForConsumption()
DKeyGeneratorTest.java460 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()
DKeyFactoryTest.java93 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()
DKeyPairGeneratorTest.java104 private static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in KeyPairGeneratorTest
302 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()
304 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()
306 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizations()
974 Date validityStart = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testGenerate_EC_ModernSpec_KeyNotYetValid()
998 Date originationEnd = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testGenerate_RSA_ModernSpec_KeyExpiredForOrigination()
DTestUtils.java71 static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in TestUtils
/cts/tools/dex-tools/dex/
Dclasses.out.dex59104 public static final long DAY_IN_MILLIS