Searched refs:utcTime (Results 1 – 7 of 7) sorted by relevance
63 public ManualTimeSuggestion(@NonNull TimestampedValue<Long> utcTime) { in ManualTimeSuggestion() argument64 mUtcTime = Objects.requireNonNull(utcTime); in ManualTimeSuggestion()65 Objects.requireNonNull(utcTime.getValue()); in ManualTimeSuggestion()69 TimestampedValue<Long> utcTime = in.readParcelable(null /* classLoader */); in createFromParcel() local70 ManualTimeSuggestion suggestion = new ManualTimeSuggestion(utcTime); in createFromParcel()
63 public NetworkTimeSuggestion(@NonNull TimestampedValue<Long> utcTime) { in NetworkTimeSuggestion() argument64 mUtcTime = Objects.requireNonNull(utcTime); in NetworkTimeSuggestion()65 Objects.requireNonNull(utcTime.getValue()); in NetworkTimeSuggestion()69 TimestampedValue<Long> utcTime = in.readParcelable(null /* classLoader */); in createFromParcel() local70 NetworkTimeSuggestion suggestion = new NetworkTimeSuggestion(utcTime); in createFromParcel()
208 public Builder setUtcTime(@Nullable TimestampedValue<Long> utcTime) { in setUtcTime() argument209 if (utcTime != null) { in setUtcTime()211 Objects.requireNonNull(utcTime.getValue()); in setUtcTime()214 mUtcTime = utcTime; in setUtcTime()
40 TimestampedValue<Long> utcTime = in createManualTimeSuggestion() local42 ManualTimeSuggestion manualTimeSuggestion = new ManualTimeSuggestion(utcTime); in createManualTimeSuggestion()
413 TimestampedValue<Long> utcTime = timeSuggestion.getUtcTime(); in scoreTelephonySuggestion() local414 if (!validateSuggestionUtcTime(elapsedRealtimeMillis, utcTime)) { in scoreTelephonySuggestion()423 long ageMillis = elapsedRealtimeMillis - utcTime.getReferenceTimeMillis(); in scoreTelephonySuggestion()445 TimestampedValue<Long> utcTime = networkSuggestion.getUtcTime(); in findLatestValidNetworkSuggestion() local447 if (!validateSuggestionUtcTime(elapsedRealTimeMillis, utcTime)) { in findLatestValidNetworkSuggestion()600 long elapsedRealtimeMillis, TimestampedValue<Long> utcTime) { in validateSuggestionUtcTime() argument601 long referenceTimeMillis = utcTime.getReferenceTimeMillis(); in validateSuggestionUtcTime()
845 TimestampedValue<Long> utcTime = in generateManualTimeSuggestion() local847 return new ManualTimeSuggestion(utcTime); in generateManualTimeSuggestion()867 TimestampedValue<Long> utcTime = in generateNetworkTimeSuggestion() local869 return new NetworkTimeSuggestion(utcTime); in generateNetworkTimeSuggestion()876 long calculateTimeInMillisForNow(TimestampedValue<Long> utcTime) { in calculateTimeInMillisForNow() argument877 return TimeDetectorStrategy.getTimeAt(utcTime, peekElapsedRealtimeMillis()); in calculateTimeInMillisForNow()882 TimestampedValue<Long> utcTime) { in createTelephonyTimeSuggestion() argument884 .setUtcTime(utcTime) in createTelephonyTimeSuggestion()
72 TimestampedValue<Long> utcTime = timeSuggestion.getUtcTime(); in suggestDeviceTime() local73 TelephonyMetrics.getInstance().writeNITZEvent(mSlotIndex, utcTime.getValue()); in suggestDeviceTime()