Home
last modified time | relevance | path

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

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A 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
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
H A DTimeZoneLookupHelperTest.java66 long nhSummerTimeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testLookupByNitzByNitz()
67 long nhWinterTimeMillis = createUtcTime(2015, 1, 20, 1, 2, 3); in testLookupByNitzByNitz()
217 long nhSummerTimeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testLookupByNitzCountry_dstKnownAndUnknown()
218 long nhWinterTimeMillis = createUtcTime(2015, 1, 20, 1, 2, 3); in testLookupByNitzCountry_dstKnownAndUnknown()
334 long nhSummerTimeMillis = createUtcTime(1975, 6, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
335 long nhWinterTimeMillis = createUtcTime(1975, 1, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
348 nhSummerTimeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
349 nhWinterTimeMillis = createUtcTime(2015, 1, 20, 1, 2, 3); in testLookupByCountry_oneEffectiveZone()
361 long timeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testDefaultBoostBehavior()
405 long timeMillis = createUtcTime(2015, 6, 20, 1, 2, 3); in testNoDefaultBoostBehavior()
[all …]
H A 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
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A DTimeDetectorStrategyImplTest.java55 private static final Instant TIME_LOWER_BOUND = createUtcTime(2009, 1, 1, 12, 0, 0);
60 createUtcTime(2010, 5, 23, 12, 0, 0));
69 private static final Instant ARBITRARY_TEST_TIME = createUtcTime(2018, 1, 1, 12, 0, 0);
1519 private static Instant createUtcTime(int year, int monthInYear, int day, int hourOfDay, in createUtcTime() method in TimeDetectorStrategyImplTest