Home
last modified time | relevance | path

Searched refs:getUtcTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyImpl.java132 final TimestampedValue<Long> newUtcTime = suggestion.getUtcTime(); in suggestManualTime()
144 if (!validateSuggestionTime(timeSuggestion.getUtcTime(), timeSuggestion)) { in suggestNetworkTime()
174 if (timeSuggestion.getUtcTime() == null) { in suggestTelephonyTime()
241 TimestampedValue<Long> newUtcTime = suggestion.getUtcTime(); in validateAndStoreTelephonySuggestion()
252 if (previousSuggestion.getUtcTime() == null in validateAndStoreTelephonySuggestion()
253 || previousSuggestion.getUtcTime().getValue() == null) { in validateAndStoreTelephonySuggestion()
262 newUtcTime, previousSuggestion.getUtcTime()); in validateAndStoreTelephonySuggestion()
309 final TimestampedValue<Long> newUtcTime = bestTelephonySuggestion.getUtcTime(); in doAutoTimeDetection()
320 final TimestampedValue<Long> newUtcTime = networkSuggestion.getUtcTime(); in doAutoTimeDetection()
379 } else if (candidateSuggestion.getUtcTime() == null) { in findBestTelephonySuggestion()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DTimeDetectorStrategyImplTest.java78 mScript.calculateTimeInMillisForNow(timeSuggestion.getUtcTime()); in testSuggestTelephonyTime_autoTimeEnabled()
115 mScript.calculateTimeInMillisForNow(timeSuggestion1.getUtcTime()); in testSuggestTelephonyTime_systemClockThreshold()
142 mScript.calculateTimeInMillisForNow(timeSuggestion3.getUtcTime()); in testSuggestTelephonyTime_systemClockThreshold()
170 mScript.calculateTimeInMillisForNow(slotIndex2TimeSuggestion.getUtcTime()); in testSuggestTelephonyTime_multipleSlotIndexsAndBucketing()
187 mScript.calculateTimeInMillisForNow(slotIndex1TimeSuggestion.getUtcTime()); in testSuggestTelephonyTime_multipleSlotIndexsAndBucketing()
220 mScript.calculateTimeInMillisForNow(slotIndex2TimeSuggestion.getUtcTime()); in testSuggestTelephonyTime_multipleSlotIndexsAndBucketing()
254 TimestampedValue<Long> utcTime1 = timeSuggestion1.getUtcTime(); in testSuggestTelephonyTime_invalidNitzReferenceTimesIgnored()
314 TimestampedValue<Long> utcTime1 = timeSuggestion1.getUtcTime(); in testSuggestTelephonyTime_timeDetectionToggled()
349 mScript.calculateTimeInMillisForNow(timeSuggestion2.getUtcTime()); in testSuggestTelephonyTime_timeDetectionToggled()
376 mScript.calculateTimeInMillisForNow(telephonySuggestion.getUtcTime()); in testSuggestTelephonyTime_maxSuggestionAge()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeServiceHelperImpl.java71 if (timeSuggestion.getUtcTime() != null) { in suggestDeviceTime()
72 TimestampedValue<Long> utcTime = timeSuggestion.getUtcTime(); in suggestDeviceTime()
/frameworks/base/core/java/android/app/timedetector/
DManualTimeSuggestion.java89 public TimestampedValue<Long> getUtcTime() { in getUtcTime() method in ManualTimeSuggestion
DNetworkTimeSuggestion.java89 public TimestampedValue<Long> getUtcTime() { in getUtcTime() method in NetworkTimeSuggestion
DTelephonyTimeSuggestion.java117 public TimestampedValue<Long> getUtcTime() { in getUtcTime() method in TelephonyTimeSuggestion
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineImplTest.java664 if (timeSuggestion.getUtcTime() != null) { in suggestDeviceTime()
666 mFakeDeviceState.currentTimeMillis = timeSuggestion.getUtcTime().getValue(); in suggestDeviceTime()