Lines Matching full:basetime
288 nsecs_t baseTime) {
291 mName, listener.mName, ns2us(baseTime));
295 if (baseTime < lastEventTime) {
296 baseTime = lastEventTime;
297 ALOGV("[%s] Clamping baseTime to lastEventTime -> %" PRId64, mName,
298 ns2us(baseTime));
301 baseTime -= mReferenceTime;
302 ALOGV("[%s] Relative baseTime = %" PRId64, mName, ns2us(baseTime));
305 baseTime -= phase;
306 ALOGV("[%s] baseTime - phase = %" PRId64, mName, ns2us(baseTime));
312 // set baseTime to -mPeriod so that numPeriods will be -1.
315 if (baseTime < 0) {
316 ALOGV("[%s] Correcting negative baseTime", mName);
317 baseTime = -mPeriod;
320 nsecs_t numPeriods = baseTime / mPeriod;