Home
last modified time | relevance | path

Searched refs:referenceTime (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/tests/benchmark/src/native/common/utils/
DTimers.cpp49 int toMillisecondTimeoutDelay(nsecs_t referenceTime, nsecs_t timeoutTime) { in toMillisecondTimeoutDelay() argument
51 if (timeoutTime > referenceTime) { in toMillisecondTimeoutDelay()
52 uint64_t timeoutDelay = uint64_t(timeoutTime - referenceTime); in toMillisecondTimeoutDelay()
DTimers.h113 int toMillisecondTimeoutDelay(nsecs_t referenceTime, nsecs_t timeoutTime);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java69 public String getLocalTime(long referenceTime) { in getLocalTime() argument
71 recycledTime.set(referenceTime); in getLocalTime()
76 recycledTime.set(referenceTime); in getLocalTime()
83 if (mLocalTimeCacheReferenceTime != referenceTime) { in getLocalTime()
84 mLocalTimeCacheReferenceTime = referenceTime; in getLocalTime()
110 public int getLocalHr(long referenceTime) { in getLocalHr() argument
112 recycledTime.set(referenceTime); in getLocalHr()
/frameworks/base/core/java/android/net/
DSntpClient.java148 final long referenceTime = readTimeStamp(buffer, REFERENCE_TIME_OFFSET); in requestTime() local
152 checkValidServerReply(leap, mode, stratum, transmitTime, referenceTime); in requestTime()
228 byte leap, byte mode, int stratum, long transmitTime, long referenceTime) in checkValidServerReply() argument
242 if (referenceTime == 0) { in checkValidServerReply()
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java59 @Nullable Instant referenceTime, in create() argument
84 actions = createForDatetime(context, type, referenceTime, parsedTime); in create()
205 Context context, String type, @Nullable Instant referenceTime, in createForDatetime() argument
207 if (referenceTime == null) { in createForDatetime()
209 referenceTime = Instant.now(); in createForDatetime()
213 final long millisUntilEvent = referenceTime.until(parsedTime, MILLIS); in createForDatetime()
DTemplateClassificationIntentFactory.java61 @Nullable Instant referenceTime, in create() argument
71 return mFallback.create(context, text, foreignText, referenceTime, classification); in create()
DClassificationIntentFactory.java39 @Nullable Instant referenceTime, in create() argument
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java190 final ZonedDateTime referenceTime = ZonedDateTime.ofInstant( in testParcelParcel() local
199 .setReferenceTime(referenceTime) in testParcelParcel()
214 assertEquals(referenceTime, result.getReferenceTime()); in testParcelParcel()
216 assertEquals(referenceTime, result.getReferenceTime()); in testParcelParcel()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java564 ZonedDateTime referenceTime,
570 mReferenceTime = referenceTime;
715 public Builder setReferenceTime(@Nullable ZonedDateTime referenceTime) {
716 mReferenceTime = referenceTime;
765 final ZonedDateTime referenceTime = referenceTimeString == null
772 defaultLocales, referenceTime, extras);
DConversationActions.java146 @Nullable ZonedDateTime referenceTime, in Message() argument
150 mReferenceTime = referenceTime; in Message()
261 public Builder setReferenceTime(@Nullable ZonedDateTime referenceTime) { in setReferenceTime() argument
262 mReferenceTime = referenceTime; in setReferenceTime()
DActionsSuggestionsHelper.java88 long referenceTime = message.getReferenceTime() == null in toNativeMessages() local
96 message.getText().toString(), referenceTime, timeZone, in toNativeMessages()
DTextClassifierImpl.java642 String text, int start, int end, @Nullable Instant referenceTime) { in createClassificationResult() argument
667 referenceTime, in createClassificationResult()
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp77 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) { in updateModel() argument
82 const bool referenceTimeChanged = mReferenceTime != referenceTime; in updateModel()
83 mReferenceTime = referenceTime; in updateModel()