Home
last modified time | relevance | path

Searched refs:currentTimeNanos (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp846 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in processData() local
847 const int64_t entryTimeNanos = currentTimeNanos; in processData()
848 const int64_t deadlineNanos = currentTimeNanos + timeoutNanoseconds; in processData()
856 currentTimeNanos, &wakeTimeNanos); in processData()
874 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
875 int64_t earliestWakeTime = currentTimeNanos + mMinimumSleepNanos; in processData()
884 (long long) entryTimeNanos, (long long) currentTimeNanos); in processData()
899 int64_t sleepForNanos = wakeTimeNanos - currentTimeNanos; in processData()
904 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
DAudioStreamInternalCapture.h62 int64_t currentTimeNanos,
DAudioStreamInternalPlay.h86 int64_t currentTimeNanos,
DAudioStreamInternal.h117 int64_t currentTimeNanos,
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DChoreographerCallbacks.java79 final long currentTimeNanos = currentTimeMs * TimeUtils.NANOS_PER_MS; in execute() local
96 toExecute.forEach(p -> executeSafely(p.mAction, currentTimeNanos, logger)); in execute()
DKeyEventHandling.java231 long currentTimeNanos) { in javaToAndroidKeyEvent() argument
263 currentTimeNanos / TimeUtils.NANOS_PER_MS, keyEventType, androidKeyCode, 0, in javaToAndroidKeyEvent()
/frameworks/av/media/libaaudio/tests/
Dtest_clock_model.cpp84 const int64_t currentTimeNanos = startTimeNanos + elapsedTimeNanos; in checkDriftingClock() local
100 int64_t sampledTimeNanos = (int64_t) (currentTimeNanos in checkDriftingClock()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1146 public void dispatchTouchEvent(int motionEventType, long currentTimeNanos, float x, float y) { in dispatchTouchEvent() argument
1158 mLastActionDownTimeNanos = currentTimeNanos; in dispatchTouchEvent()
1176 currentTimeNanos / TimeUtils.NANOS_PER_MS, in dispatchTouchEvent()
1184 public void dispatchKeyEvent(java.awt.event.KeyEvent event, long currentTimeNanos) { in dispatchKeyEvent() argument
1195 mLastActionDownTimeNanos = currentTimeNanos; in dispatchKeyEvent()
1203 mLastActionDownTimeNanos, currentTimeNanos); in dispatchKeyEvent()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp3408 int64_t currentTimeNanos = audio_utils_ns_from_timespec(&timestamp.mTime); in getTimestamp_l() local
3411 if (currentTimeNanos < limitNs) { in getTimestamp_l()
3416 (long long)currentTimeNanos, (long long)limitNs, (long long)mStartNs); in getTimestamp_l()
3420 currentTimeNanos = limitNs; in getTimestamp_l()
3431 if (currentTimeNanos < previousTimeNanos) { in getTimestamp_l()
3435 (long long)currentTimeNanos, (long long)previousTimeNanos); in getTimestamp_l()