Lines Matching refs:nanoTime
43 void IsochronousClockModel::setPositionAndTime(int64_t framePosition, int64_t nanoTime) { in setPositionAndTime() argument
45 (long long) framePosition, (long long) nanoTime); in setPositionAndTime()
47 mMarkerNanoTime = nanoTime; in setPositionAndTime()
50 void IsochronousClockModel::start(int64_t nanoTime) { in start() argument
51 ALOGV("start(nanos = %lld)\n", (long long) nanoTime); in start()
52 mMarkerNanoTime = nanoTime; in start()
56 void IsochronousClockModel::stop(int64_t nanoTime) { in stop() argument
57 ALOGV("stop(nanos = %lld)\n", (long long) nanoTime); in stop()
58 setPositionAndTime(convertTimeToPosition(nanoTime), nanoTime); in stop()
67 void IsochronousClockModel::processTimestamp(int64_t framePosition, int64_t nanoTime) { in processTimestamp() argument
72 int64_t nanosDelta = nanoTime - mMarkerNanoTime; in processTimestamp()
92 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
98 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
111 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
117 setPositionAndTime(framePosition - mFramesPerBurst, nanoTime - mMaxLatenessInNanos); in processTimestamp()
165 int64_t IsochronousClockModel::convertTimeToPosition(int64_t nanoTime) const { in convertTimeToPosition()
169 int64_t nanosDelta = nanoTime - mMarkerNanoTime; in convertTimeToPosition()