Home
last modified time | relevance | path

Searched refs:createUtcTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzDataTest.java50 assertEquals(createUtcTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_withDst()
57 assertEquals(createUtcTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_withDst()
64 assertEquals(createUtcTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_withDst()
75 assertEquals(createUtcTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_noDstField()
82 assertEquals(createUtcTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_noDstField()
92 assertEquals(createUtcTime(2015, 6, 20, 1, 2, 3), nitz.getCurrentTimeInMillis()); in testParse_androidEmulatorTimeZoneExtension()
106 private static long createUtcTime( in createUtcTime() method in NitzDataTest
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java47 private static final long NH_SUMMER_TIME_MILLIS = createUtcTime(2015, 6, 20, 1, 2, 3);
49 private static final long NH_WINTER_TIME_MILLIS = createUtcTime(2015, 1, 20, 1, 2, 3);
63 long nhSummerTimeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testLookupByNitzByNitz()
64 long nhWinterTimeMillis = createUtcTime(2015, 1, 20, 1, 2, 3); in testLookupByNitzByNitz()
214 long nhSummerTimeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testLookupByNitzCountry_dstKnownAndUnknown()
215 long nhWinterTimeMillis = createUtcTime(2015, 1, 20, 1, 2, 3); in testLookupByNitzCountry_dstKnownAndUnknown()
331 long nhSummerTimeMillis = createUtcTime(1975, 6, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
332 long nhWinterTimeMillis = createUtcTime(1975, 1, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
345 nhSummerTimeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
346 nhWinterTimeMillis = createUtcTime(2015, 1, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
[all …]
DNitzStateMachineTestSupport.java38 static final long ARBITRARY_SYSTEM_CLOCK_TIME = createUtcTime(1977, 1, 1, 12, 0, 0);
182 mActualTimeMillis = createUtcTime(year, monthInYear, day, hourOfDay, minute, in setActualTimeUtc()
257 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime() method in NitzStateMachineTestSupport
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DTimeDetectorStrategyImplTest.java47 createUtcTime(2008, 5, 23, 12, 0, 0));
53 private static final long ARBITRARY_TEST_TIME_MILLIS = createUtcTime(2018, 1, 1, 12, 0, 0);
888 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime() method in TimeDetectorStrategyImplTest