/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NitzDataTest.java | 39 assertEquals(createUnixEpochTime(2040, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_beyond2038() 59 assertEquals(createUnixEpochTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_withDst() 66 assertEquals(createUnixEpochTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_withDst() 73 assertEquals(createUnixEpochTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_withDst() 84 assertEquals(createUnixEpochTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_noDstField() 91 assertEquals(createUnixEpochTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_noDstField() 101 assertEquals(createUnixEpochTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_androidEmulatorTimeZoneExtension() 115 private static long createUnixEpochTime( in createUnixEpochTime() method in NitzDataTest
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 51 private static final long NH_SUMMER_TIME_MILLIS = createUnixEpochTime(2015, 6, 20, 1, 2, 3); 53 private static final long NH_WINTER_TIME_MILLIS = createUnixEpochTime(2015, 1, 20, 1, 2, 3); 72 long nhSummerTimeMillis = createUnixEpochTime(2015, 6, 20, 1, 2, 3); in testLookupByNitzByNitz() 73 long nhWinterTimeMillis = createUnixEpochTime(2015, 1, 20, 1, 2, 3); in testLookupByNitzByNitz() 223 long nhSummerTimeMillis = createUnixEpochTime(2015, 6, 20, 1, 2, 3); in testLookupByNitzCountry_dstKnownAndUnknown() 224 long nhWinterTimeMillis = createUnixEpochTime(2015, 1, 20, 1, 2, 3); in testLookupByNitzCountry_dstKnownAndUnknown() 340 long nhSummerTimeMillis = createUnixEpochTime(1975, 6, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone() 341 long nhWinterTimeMillis = createUnixEpochTime(1975, 1, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone() 354 nhSummerTimeMillis = createUnixEpochTime(2015, 6, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone() 355 nhWinterTimeMillis = createUnixEpochTime(2015, 1, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone() [all …]
|
D | NitzStateMachineTestSupport.java | 41 static final long ARBITRARY_SYSTEM_CLOCK_TIME = createUnixEpochTime(1977, 1, 1, 12, 0, 0); 187 mActualTimeMillis = createUnixEpochTime(year, monthInYear, day, hourOfDay, minute, in setActualTimeUtc() 282 private static long createUnixEpochTime(int year, int monthInYear, int day, int hourOfDay, in createUnixEpochTime() method in NitzStateMachineTestSupport
|
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | TimeDetectorStrategyImplTest.java | 74 createUnixEpochTime(2005, 1, 1, 1, 0, 0); 77 createUnixEpochTime(2006, 1, 1, 1, 0, 0); 79 createUnixEpochTime(2099, 12, 1, 1, 0, 0); 82 createUnixEpochTime(2037, 12, 1, 1, 0, 0); 87 createUnixEpochTime(2010, 5, 23, 12, 0, 0)); 96 private static final Instant ARBITRARY_TEST_TIME = createUnixEpochTime(2018, 1, 1, 12, 0, 0); 2462 private static Instant createUnixEpochTime(int year, int monthInYear, int day, int hourOfDay, in createUnixEpochTime() method in TimeDetectorStrategyImplTest
|