Searched refs:DAY_IN_MILLIS (Results 1 – 13 of 13) sorted by relevance
177 … DateUtils.MINUTE_IN_MILLIS, DateUtils.DAY_IN_MILLIS, DateUtils.FORMAT_NUMERIC_DATE)); in test_getRelativeDateTimeString()291 long tomorrow = now + DateUtils.DAY_IN_MILLIS; in test_bug_7548161()292 long yesterday = now - DateUtils.DAY_IN_MILLIS; in test_bug_7548161()294 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()296 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()298 DateUtils.DAY_IN_MILLIS, 0)); in test_bug_7548161()
222 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in MacTest469 .setKeyValidityStart(new Date(System.currentTimeMillis() - DAY_IN_MILLIS)) in testInitFailsWhenKeyNotYetValid()473 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitFailsWhenKeyNotYetValid()488 new Date(System.currentTimeMillis() + DAY_IN_MILLIS)) in testInitFailsWhenKeyNoLongerValidForOrigination()492 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitFailsWhenKeyNoLongerValidForOrigination()509 new Date(System.currentTimeMillis() + DAY_IN_MILLIS)) in testInitIgnoresThatKeyNoLongerValidForConsumption()514 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitIgnoresThatKeyNoLongerValidForConsumption()
99 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()101 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()103 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
348 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in SignatureTest1023 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitSignFailsWhenKeyNotYetValid()1038 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNotYetValid()1053 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitSignFailsWhenKeyNoLongerValidForOrigination()1070 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNoLongerValidForOrigination()1087 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitSignIgnoresThatKeyNoLongerValidForConsumption()1104 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitVerifyIgnoresThatKeyNoLongerValidForConsumption()
118 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()120 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()122 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
299 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in CipherTest1742 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitDecryptFailsWhenKeyNotYetValid()1760 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitEncryptSymmetricFailsWhenKeyNotYetValid()1781 Date badStartDate = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testInitEncryptAsymmetricIgnoresThatKeyNotYetValid()1802 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitDecryptFailsWhenKeyNoLongerValidForConsumption()1822 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitDecryptIgnoresThatKeyNoLongerValidForOrigination()1842 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptSymmetricFailsWhenKeyNoLongerValidForOrigination()1866 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptSymmetricIgnoresThatKeyNoLongerValidForConsumption()1889 Date badEndDate = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testInitEncryptAsymmetricIgnoresThatKeyNoLongerValid()
717 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper()719 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper()721 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper()
133 private static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in KeyPairGeneratorTest364 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper()366 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper()368 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGenerateHonorsRequestedAuthorizationsHelper()1492 Date validityStart = new Date(System.currentTimeMillis() + DAY_IN_MILLIS); in testGenerate_EC_ModernSpec_KeyNotYetValidHelper()1518 Date originationEnd = new Date(System.currentTimeMillis() - DAY_IN_MILLIS); in testGenerate_RSA_ModernSpec_KeyExpiredForOrigination()
101 (System.currentTimeMillis() + DateUtils.DAY_IN_MILLIS) / 1000); in PendingParams()
113 (System.currentTimeMillis() + DateUtils.DAY_IN_MILLIS) / 1000); in PendingParams()
97 public static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in TestUtils
675 long startTime = endTime - DateUtils.DAY_IN_MILLIS; in testAppLaunchCount()
48273 field public static final long DAY_IN_MILLIS = 86400000L; // 0x5265c00L