Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java177 … 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()
/cts/tests/tests/keystore/src/android/keystore/cts/
DMacTest.java222 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in MacTest
469 .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()
DSecretKeyFactoryTest.java99 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()
DSignatureTest.java348 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in SignatureTest
1023 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()
DKeyFactoryTest.java118 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()
DCipherTest.java299 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; field in CipherTest
1742 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()
DKeyGeneratorTest.java717 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()
DKeyPairGeneratorTest.java133 private static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in KeyPairGeneratorTest
364 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()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStoreUtils.java101 (System.currentTimeMillis() + DateUtils.DAY_IN_MILLIS) / 1000); in PendingParams()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreUtils.java113 (System.currentTimeMillis() + DateUtils.DAY_IN_MILLIS) / 1000); in PendingParams()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java97 public static final long DAY_IN_MILLIS = 1000 * 60 * 60 * 24; field in TestUtils
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java675 long startTime = endTime - DateUtils.DAY_IN_MILLIS; in testAppLaunchCount()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt48273 field public static final long DAY_IN_MILLIS = 86400000L; // 0x5265c00L