Searched refs:getReferenceTimeMillis (Results 1 – 12 of 12) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactoryTest.java | 236 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()
|
D | TimeZoneSuggesterImplTest.java | 440 goodNitzSignal.getReferenceTimeMillis(), bogusNitzData); in test_bogusCzNitzSignal() 476 goodNitzSignal.getReferenceTimeMillis(), bogusNitzData); in test_bogusUniqueUsNitzSignal() 503 originalNitzSignal.getReferenceTimeMillis(), emulatorNitzData); in test_emulatorNitzExtensionUsedForTimeZone()
|
D | NitzStateMachineTestSupport.java | 288 nitzSignal.getReferenceTimeMillis(), in createTimeSignalFromNitzSignal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 136 long millisSinceNitzReceived = elapsedRealtime - newSignal.getReferenceTimeMillis(); in createBogusElapsedRealtimeCheck() 204 long elapsedRealtimeSinceLastSaved = newSignal.getReferenceTimeMillis() 205 - previousSignal.getReferenceTimeMillis();
|
D | NitzStateMachineImpl.java | 321 nitzSignal.getReferenceTimeMillis(), in doTimeDetection()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorStrategy.java | 102 return (referenceClockMillisNow - timeValue.getReferenceTimeMillis()) in getTimeAt()
|
D | TimeDetectorStrategyImpl.java | 287 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/ |
D | ManualTimeSuggestionTest.java | 44 ARBITRARY_TIME.getReferenceTimeMillis() + 1, in testEquals()
|
D | NetworkTimeSuggestionTest.java | 44 ARBITRARY_TIME.getReferenceTimeMillis() + 1, in testEquals()
|
/frameworks/base/core/java/android/os/ |
D | TimestampedValue.java | 49 public long getReferenceTimeMillis() { in getReferenceTimeMillis() method in TimestampedValue
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | TimeDetectorStrategyImplTest.java | 269 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/ |
D | ServiceStateTrackerTest.java | 1899 assertTrue(actualNitzSignal.getReferenceTimeMillis() <= SystemClock.elapsedRealtime()); in testSetTimeFromNITZStr()
|