Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DNtpTrustedTime.java198 TimeResult timeResult = mTimeResult; in getCacheAge() local
199 if (timeResult != null) { in getCacheAge()
200 return SystemClock.elapsedRealtime() - timeResult.getElapsedRealtimeMillis(); in getCacheAge()
214 TimeResult timeResult = mTimeResult; in currentTimeMillis() local
215 if (timeResult == null) { in currentTimeMillis()
222 return timeResult.currentTimeMillis(); in currentTimeMillis()
234 TimeResult timeResult = mTimeResult; in getCachedNtpTime() local
235 return timeResult == null ? 0 : timeResult.getTimeMillis(); in getCachedNtpTime()
246 TimeResult timeResult = mTimeResult; in getCachedNtpTimeReference() local
247 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()