Lines Matching refs:ets
574 ExtendedTimestamp ets; in start() local
575 if (mProxy->getTimestamp(&ets) == OK && in start()
576 ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start()
582 + ets.mPosition[ExtendedTimestamp::LOCATION_SERVER]), in start()
583 (long long)ets.mFlushed, in start()
585 mFramesWrittenServerOffset = -ets.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in start()
2365 ExtendedTimestamp ets; in getTimestamp() local
2366 status = mProxy->getTimestamp(&ets); in getTimestamp()
2369 status = ets.getBestTimestamp(×tamp, &location); in getTimestamp()
2381 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp()
2382 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0 || in getTimestamp()
2383 ets.mPosition[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] <= 0 || in getTimestamp()
2384 ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] <= 0) in getTimestamp()
2389 (ets.mPosition[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] in getTimestamp()
2390 - ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK]); in getTimestamp()
2392 (long long)frames, ets.toString().c_str()); in getTimestamp()
2393 if (frames >= ets.mPosition[location]) { in getTimestamp()
2396 timestamp.mPosition = (uint32_t)(ets.mPosition[location] - frames); in getTimestamp()
2672 ExtendedTimestamp ets; in pendingDuration() local
2673 if (getTimestamp_l(&ets) == OK in pendingDuration()
2674 && ets.mTimeNs[location] > 0) { in pendingDuration()
2675 int64_t diff = ets.mPosition[ExtendedTimestamp::LOCATION_CLIENT] in pendingDuration()
2676 - ets.mPosition[location]; in pendingDuration()
2685 ets.mTimeNs[location] in pendingDuration()
2686 + ets.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_MONOTONIC] in pendingDuration()