Home
last modified time | relevance | path

Searched refs:getReferenceTimeMillis (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactoryTest.java236 baseSignal.getReferenceTimeMillis() + elapsedTimeIncrement, in testTrivalentPredicate_rateLimitCheck_offsetDifference()
272 intermediateSignal.getReferenceTimeMillis(), incrementedUtcTimeNitzData); in testTrivalentPredicate_rateLimitCheck_utcTimeDifferences()
286 intermediateSignal.getReferenceTimeMillis(), incrementedUtcTimeNitzData); in testTrivalentPredicate_rateLimitCheck_utcTimeDifferences()
300 intermediateSignal.getReferenceTimeMillis(), decrementedUtcTimeNitzData); in testTrivalentPredicate_rateLimitCheck_utcTimeDifferences()
314 intermediateSignal.getReferenceTimeMillis(), decrementedUtcTimeNitzData); in testTrivalentPredicate_rateLimitCheck_utcTimeDifferences()
326 return new TimestampedValue<>(baseSignal.getReferenceTimeMillis() + incrementMillis, in createIncrementedNitzSignal()
DTimeZoneSuggesterImplTest.java440 goodNitzSignal.getReferenceTimeMillis(), bogusNitzData); in test_bogusCzNitzSignal()
476 goodNitzSignal.getReferenceTimeMillis(), bogusNitzData); in test_bogusUniqueUsNitzSignal()
503 originalNitzSignal.getReferenceTimeMillis(), emulatorNitzData); in test_emulatorNitzExtensionUsedForTimeZone()
DNitzStateMachineTestSupport.java288 nitzSignal.getReferenceTimeMillis(), in createTimeSignalFromNitzSignal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactory.java136 long millisSinceNitzReceived = elapsedRealtime - newSignal.getReferenceTimeMillis(); in createBogusElapsedRealtimeCheck()
204 long elapsedRealtimeSinceLastSaved = newSignal.getReferenceTimeMillis()
205 - previousSignal.getReferenceTimeMillis();
DNitzStateMachineImpl.java321 nitzSignal.getReferenceTimeMillis(), in doTimeDetection()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategy.java102 return (referenceClockMillisNow - timeValue.getReferenceTimeMillis()) in getTimeAt()
DTimeDetectorStrategyImpl.java287 if (elapsedRealtimeMillis < newUtcTime.getReferenceTimeMillis()) { in validateSuggestionTime()
423 long ageMillis = elapsedRealtimeMillis - utcTime.getReferenceTimeMillis(); in scoreTelephonySuggestion()
601 long referenceTimeMillis = utcTime.getReferenceTimeMillis(); in validateSuggestionUtcTime()
/frameworks/base/core/tests/coretests/src/android/app/timedetector/
DManualTimeSuggestionTest.java44 ARBITRARY_TIME.getReferenceTimeMillis() + 1, in testEquals()
DNetworkTimeSuggestionTest.java44 ARBITRARY_TIME.getReferenceTimeMillis() + 1, in testEquals()
/frameworks/base/core/java/android/os/
DTimestampedValue.java49 public long getReferenceTimeMillis() { in getReferenceTimeMillis() method in TimestampedValue
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DTimeDetectorStrategyImplTest.java269 long referenceTimeBeforeLastSignalMillis = utcTime1.getReferenceTimeMillis() - 1; in testSuggestTelephonyTime_invalidNitzReferenceTimesIgnored()
281 utcTime1.getReferenceTimeMillis() + Integer.MAX_VALUE + 1; in testSuggestTelephonyTime_invalidNitzReferenceTimesIgnored()
291 long validReferenceTimeMillis = utcTime1.getReferenceTimeMillis() + 100; in testSuggestTelephonyTime_invalidNitzReferenceTimesIgnored()
745 mFakeCallback.pokeElapsedRealtimeMillis(timeInfo.getReferenceTimeMillis()); in pokeFakeClocks()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java1899 assertTrue(actualNitzSignal.getReferenceTimeMillis() <= SystemClock.elapsedRealtime()); in testSetTimeFromNITZStr()