Searched refs:nowNs (Results 1 – 4 of 4) sorted by relevance
121 const int64_t nowNs = ::android::elapsedRealtimeNano(); in parseQemuSensorEventLocked() local133 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()146 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()156 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()173 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()183 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()193 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()206 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()216 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()228 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked()[all …]
460 const int64_t nowNs = ::android::elapsedRealtimeNano(); in batchThread() local461 while (!m_batchQueue.empty() && (nowNs >= m_batchQueue.top().timestamp)) { in batchThread()
91 nsecs_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in getPresentationPosition() local92 const uint64_t nowFrames = getPresentationFramesLocked(nowNs); in getPresentationPosition()99 nowNs -= delta * 1000000000 / mSampleRateHz; in getPresentationPosition()104 ts = util::nsecs2TimeSpec(nowNs); in getPresentationPosition()108 uint64_t getPresentationFramesLocked(const nsecs_t nowNs) const { in getPresentationFramesLocked()109 return uint64_t(mSampleRateHz) * ns2us(nowNs - mStartNs) / 1000000; in getPresentationFramesLocked()113 const nsecs_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in calcAvailableFramesNowLocked() local114 auto presentationFrames = getPresentationFramesLocked(nowNs); in calcAvailableFramesNowLocked()275 nsecs_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in getPresentationPosition() local276 const uint64_t nowFrames = getPresentationFramesLocked(nowNs); in getPresentationPosition()[all …]
82 const nsecs_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in getCapturePosition() local83 const uint64_t nowFrames = getCaptureFramesLocked(nowNs); in getCapturePosition()88 time = nowNs; in getCapturePosition()92 uint64_t getCaptureFramesLocked(const nsecs_t nowNs) const { in getCaptureFramesLocked()93 return uint64_t(mSampleRateHz) * ns2us(nowNs - mStartNs) / 1000000; in getCaptureFramesLocked()96 uint64_t getAvailableFramesLocked(const nsecs_t nowNs) const { in getAvailableFramesLocked()97 return getCaptureFramesLocked(nowNs) - mSentFrames; in getAvailableFramesLocked()246 const nsecs_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in getCapturePosition() local247 const uint64_t nowFrames = getCaptureFramesLocked(nowNs); in getCapturePosition()251 time = nowNs; in getCapturePosition()[all …]