Searched refs:NOW (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/keystore/tests/src/android/security/ |
H A D | KeyPairGeneratorSpecTest.java | 36 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); field in class:KeyPairGeneratorSpecTest 39 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); 44 NOW, NOW_PLUS_10_YEARS, 0); 52 assertEquals("startDate should be the one specified", NOW, spec.getStartDate()); 62 .setStartDate(NOW) 73 assertEquals("startDate should be the one specified", NOW, spec.getStartDate()); 82 new KeyPairGeneratorSpec(null, TEST_ALIAS_1, TEST_DN_1, SERIAL_1, NOW, 91 new KeyPairGeneratorSpec(getContext(), null, TEST_DN_1, SERIAL_1, NOW, 100 new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, null, SERIAL_1, NOW, 109 new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, null, NOW, [all...] |
H A D | AndroidKeyPairGeneratorTest.java | 55 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); field in class:AndroidKeyPairGeneratorTest 58 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); 87 .setStartDate(NOW) 123 .setStartDate(NOW) 137 .setStartDate(NOW) 145 assertKeyPairCorrect(pair, TEST_ALIAS_1, TEST_DN_1, TEST_SERIAL_1, NOW, NOW_PLUS_10_YEARS); 153 .setStartDate(NOW) 160 assertKeyPairCorrect(pair, TEST_ALIAS_1, TEST_DN_1, TEST_SERIAL_1, NOW, NOW_PLUS_10_YEARS); 170 .setStartDate(NOW) 175 assertKeyPairCorrect(pair1, TEST_ALIAS_1, TEST_DN_1, TEST_SERIAL_1, NOW, [all...] |
H A D | AndroidKeyStoreTest.java | 81 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); field in class:AndroidKeyStoreTest 84 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1); 1647 TEST_SERIAL_1, TEST_DN_1, NOW, NOW_PLUS_10_YEARS); 1670 TEST_SERIAL_2, TEST_DN_2, NOW, NOW_PLUS_10_YEARS); 1697 TEST_SERIAL_1, TEST_DN_1, NOW, NOW_PLUS_10_YEARS); 1710 TEST_SERIAL_2, TEST_DN_2, NOW, NOW_PLUS_10_YEARS); 1721 TEST_SERIAL_2, TEST_DN_2, NOW, NOW_PLUS_10_YEARS); 1743 NOW, NOW_PLUS_10_YEARS); 1860 TEST_DN_1, NOW, NOW_PLUS_10_YEARS);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 5469 final long NOW = getBatteryUptimeLocked(NOW_SYS); 5659 long time = ss.getStartTimeToNowLocked(NOW);
|
Completed in 39 milliseconds