Searched refs:currentTimeNanos (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 846 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()
|
D | AudioStreamInternalCapture.h | 62 int64_t currentTimeNanos,
|
D | AudioStreamInternalPlay.h | 86 int64_t currentTimeNanos,
|
D | AudioStreamInternal.h | 117 int64_t currentTimeNanos,
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | ChoreographerCallbacks.java | 79 final long currentTimeNanos = currentTimeMs * TimeUtils.NANOS_PER_MS; in execute() local 96 toExecute.forEach(p -> executeSafely(p.mAction, currentTimeNanos, logger)); in execute()
|
D | KeyEventHandling.java | 231 long currentTimeNanos) { in javaToAndroidKeyEvent() argument 263 currentTimeNanos / TimeUtils.NANOS_PER_MS, keyEventType, androidKeyCode, 0, in javaToAndroidKeyEvent()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_clock_model.cpp | 84 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/ |
D | RenderSessionImpl.java | 1146 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/ |
D | AudioTrack.cpp | 3408 int64_t currentTimeNanos = audio_utils_ns_from_timespec(×tamp.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()
|