Home
last modified time | relevance | path

Searched refs:timeResult (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/util/
DNtpTrustedTime.java197 TimeResult timeResult = mTimeResult; in getCacheAge() local
198 if (timeResult != null) { in getCacheAge()
199 return SystemClock.elapsedRealtime() - timeResult.getElapsedRealtimeMillis(); in getCacheAge()
213 TimeResult timeResult = mTimeResult; in currentTimeMillis() local
214 if (timeResult == null) { in currentTimeMillis()
221 return timeResult.currentTimeMillis(); in currentTimeMillis()
233 TimeResult timeResult = mTimeResult; in getCachedNtpTime() local
234 return timeResult == null ? 0 : timeResult.getTimeMillis(); in getCachedNtpTime()
245 TimeResult timeResult = mTimeResult; in getCachedNtpTimeReference() local
246 return timeResult == null ? 0 : timeResult.getElapsedRealtimeMillis(); in getCachedNtpTimeReference()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp169 aaudio_result_t timeResult; in main() local
170 timeResult = AAudioStream_getTimestamp(aaudioStream, CLOCK_MONOTONIC, in main()
173 if (timeResult == AAUDIO_OK) { in main()
183 timeResult, in main()
188 printf("WARNING - AAudioStream_getTimestamp() returned %d\n", timeResult); in main()